//<![CDATA[
/* Replacement calls. Please see documentation for more information. */

if(typeof sIFR == "function"){

fontDINLt = "http://www.preferredconsumer.com/templates/preferredconsumer/scripts/din-light.swf";
fontDINReg = "http://www.preferredconsumer.com/templates/preferredconsumer/scripts/din-regular.swf";
fontDINMed = "http://www.preferredconsumer.com/templates/preferredconsumer/scripts/din-medium.swf";
fontDINBd = "http://www.preferredconsumer.com/templates/preferredconsumer/scripts/din-bold.swf";
fontDINBlk = "http://www.preferredconsumer.com/templates/preferredconsumer/scripts/din-black.swf";

// This is the preferred "named argument" syntax
	sIFR.replaceElement(named({sSelector:"#gone-directory-title h1", sFlashSrc:fontDINBd, sColor:"#FFFFFF", sLinkColor:"#FFFFFF", sBgColor:"#FFBA00", sHoverColor:"#FFFFFF", nPaddingTop:0, nPaddingRight:15, nPaddingBottom:0, nPaddingLeft:0, sFlashVars:"textalign=right", sCase:"upper"}));

// 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);
};

if (document.getElementById("gone-directory-headerbg")) {
	main = document.getElementById("gone-directory-headerbg");
	//Create elements
	aLink = document.createElement('a');
	lLink = document.createElement('img');
	//Set link attributes and styles
	aLink.setAttribute('href','http://www.preferredconsumer.com');
	aLink.setAttribute('target','_top');
	aLink.setAttribute('id','gone-directory-homelink');
	aLink.style.position = "absolute";
	aLink.style.display = "block";
	aLink.style.width = "310px";
	aLink.style.height = "150px";
	//Set image attributes and styles
	lLink.src = "http://www.preferredconsumer.com/templates/preferredconsumer/images/trans.gif";
	lLink.style.display = "block";
	lLink.style.width = "310px";
	lLink.style.height = "150px";
	lLink.style.border = "0px";
	//Add elements to document - first img to link, then link to div
	aLink.appendChild(lLink);
	main.parentNode.appendChild(aLink);	
}

//]]>