//<![CDATA[
/* Replacement calls. Please see documentation for more information. */

if(typeof sIFR == "function"){

// This is the preferred "named argument" syntax
	sIFR.replaceElement(named({sSelector:"body h1", sFlashSrc:"vandenkeere.swf", sColor:"#000000", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", nPaddingTop:20, nPaddingBottom:20, sFlashVars:"textalign=center&offsetTop=6"}));

// This is the older, ordered syntax
	//sIFR.replaceElement("h5#pullquote", "vandenkeere.swf", "#000000", "#000000", "#FFFFFF", "#FFFFFF", 0, 0, 0, 0);
	//sIFR.replaceElement("h2", "tradegothic.swf", "#000000", null, null, null, 0, 0, 0, 0);
	//sIFR.replaceElement("h4.subhead", "tradegothic.swf", "#660000", null, null, null, 0, 0, 0, 0);
	//sIFR.replaceElement("h3.sidebox","tradegothic.swf","#000000", "#000000", "#DCDCDC", "#DCDCDC", 0, 0, 0, 0, null);
	//sIFR.replaceElement("h3", "tradegothic.swf", "#000000", null, null, null, 0, 0, 0, 0, null);
	sIFR.replaceElement("#bigbox h1","http://efcmusicministry.com/scripts/gf_normal.swf","#000000", "#000000", "#cccccc", "#99CCFF", 0, 0, 0, 0, "textalign=left");
	sIFR.replaceElement("h3","http://efcmusicministry.com/scripts/gf_normal.swf","#000000", "#000", "#555555", "#99CCFF", 0, 0, 0, 0, null);
	sIFR.replaceElement("h2.title","http://efcmusicministry.com/scripts/gf_smashed.swf", "#000", "#000", "#7FBEFF", "#99CCFF", 0, 0, 0, 0, "textalign=right");
	sIFR.replaceElement("h2.nick","http://efcmusicministry.com/scripts/gf_smashed.swf", "#000", "#000", "#888888", "#99CCFF", 0, 0, 0, 0, "textalign=right");
	sIFR.replaceElement("h2","http://efcmusicministry.com/scripts/gf_smashed.swf", "#000", "#000", "#7FBEFF", "#99CCFF", 0, 0, 0, 0, "textalign=right");
	sIFR.replaceElement("h4","http://efcmusicministry.com/scripts/gf_normal.swf","#000000", "#000", "#62798F", "#99CCFF", 0, 0, 0, 0, "textalign=center", named({ sCase: "lower"}));
	sIFR.replaceElement("h4.nick","http://efcmusicministry.com/scripts/gf_normal.swf","#000000", "#000", "#7FBEFF", "#99CCFF", 0, 0, 0, 0, "textalign=right", named({ sCase: "lower"}));
};
/*==visual effects ==*/



Effect.OpenUp = function(element) {
     element = $(element);
     new Effect.BlindDown(element, arguments[1] || {});
 }

 Effect.CloseDown = function(element) {
     element = $(element);
     new Effect.BlindUp(element, arguments[1] || {});
 }

 Effect.Combo = function(element) {
     element = $(element);
     if(element.style.display == 'none') { 
          new Effect.OpenUp(element, arguments[1] || {}); 
     }else { 
          new Effect.CloseDown(element, arguments[1] || {}); 
     }
 }
function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "externallink")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks;

//]]>
