/* Constants */
// i.e. = "/templates/"
var rootDirectory = "";

// PINT_BrowserDetection("browserupgrade.htm");

function init() {
	var fileName  = PINT_GetCurrentFileName();
	var directory = PINT_GetCurrentDirectory();
	//PINT_sifr();  // Remove comment to use sifr
}

function cleanup(){}

function PINT_sifr() {
	if(typeof sIFR == "function") {
		sIFR.replaceElement(named({sSelector:"li em span", sFlashSrc:themeRootDirectory + "/flash/helvetica-bd.swf", sColor:"#ffffff", sWmode:"transparent"}));
        sIFR.replaceElement(named({sSelector:".home h1", sFlashSrc:themeRootDirectory + "/flash/helvetica.swf", sColor:"#000000", sWmode:"transparent"}));
        sIFR.replaceElement(named({sSelector:"h1, span.sifr-green", sFlashSrc:themeRootDirectory + "/flash/helvetica.swf", sColor:"#468966", sWmode:"transparent"}));
        sIFR.replaceElement(named({sSelector:"h2 span.sifr-red, h3 span.sifr-red, h2.sifr-red", sFlashSrc:themeRootDirectory + "/flash/helvetica.swf", sColor:"#8e2800", sWmode:"transparent"}));
        sIFR.replaceElement(named({sSelector:"h2 span.sifr-gold, h3 span.sifr-gold, h2.sifr-gold", sFlashSrc:themeRootDirectory + "/flash/helvetica.swf", sColor:"#e28f14", sWmode:"transparent"}));
	}
}

window.onload = init;
window.onunload = cleanup;
	YAHOO.util.Event.onDOMReady(PINT_sifr); 
