// SIFR SETTINS

/* Replacement calls. Please see documentation for more information. */

if(typeof sIFR == "function"){

// This is the preferred "named argument" syntax
	/*sIFR.replaceElement(named({sSelector:"#top_nav ul li", sFlashSrc:"century_gothic.swf", sColor:"#f5be00", sBgColor:"#141450", sLinkColor:"#f5be00", sWmode:"transparent", sHoverColor:"#ffffff", sFlashVars:"textalign=left&offsetTop=2"}));*/
	sIFR.replaceElement(named({sSelector:"h1", sFlashSrc:"century_gothic.swf", sColor:"#ffffff", sWmode:"transparent", sFlashVars:"textalign=left&offsetTop=0" }));
		sIFR.replaceElement(named({sSelector:"h2", sFlashSrc:"century_gothic.swf", sColor:"#282882", sWmode:"transparent", sFlashVars:"textalign=left&offsetTop=0" }));
	

// This is the older, ordered syntax
	//sIFR.replaceElement("#nav li", "vag.swf", "#363636", null, "#000000", "#f9f6e7", 0, 0, 0, 0);
	//sIFR.replaceElement("#left_sub h4", "vag.swf", "#363636", null, "#000000", null, 0, 0, 0, 0);

};
// open popup window
var myWindow;
function openCenteredWindow(url, width, height) {
    var left = parseInt((screen.availWidth/2) - (width/2));
    var top = parseInt((screen.availHeight/2) - (height/2));
    var windowFeatures = "width=" + width + ",height=" + height + 
        ",status,scrollbars,resizable,left=" + left + ",top=" + top + 
        ",screenX=" + left + ",screenY=" + top;
    myWindow = window.open(url, "subWind", windowFeatures);
}