/* Constants */
var rootDirectory = "";

// PINT_BrowserDetection("browserupgrade.htm");

function init() {
	var fileName  = PINT_GetCurrentFileName();
	var directory = PINT_GetCurrentDirectory();
	document.cookie = "hasJavascriptAndCookies=1";
	PINT_sifr();
}

function cleanup(){}

function PINT_sifr() {
	if(typeof sIFR == "function") {
		sIFR.replaceElement(named({sSelector:".sifr-white", sFlashSrc:themeRootDirectory + "/flash/bell_gothic.swf", sColor:"#ffffff", sWmode:"transparent"}));
		sIFR.replaceElement(named({sSelector:".sifr-green", sFlashSrc:themeRootDirectory + "/flash/bell_gothic.swf", sColor:"#62ac38", sWmode:"transparent"}));
		sIFR.replaceElement(named({sSelector:".sifr-grey", sFlashSrc:themeRootDirectory + "/flash/bell_gothic.swf", sColor:"#333333", sWmode:"transparent"}));
	}
}


window.onload = init;
window.onunload = cleanup;
