/* Constants */
// var rootDirectory = "";

// PINT_BrowserDetection("browserupgrade.htm");

function init() {
	var fileName  = PINT_GetCurrentFileName();
	var directory = PINT_GetCurrentDirectory();
	
	if(document.getElementById('login_inner')) document.getElementById('login_inner').style.visibility='hidden';
	if(document.getElementById('h_header')) showImage();
	PINT_sifr();
}

function cleanup(){}

function PINT_sifr() {
	if(typeof sIFR == "function") {
		sIFR.replaceElement(named({sSelector:"h1", sFlashSrc:themeRootDirectory + "/flash/futura_bold.swf", sColor:"#ffffff", sCase:"upper", sWmode:"transparent"}));
		sIFR.replaceElement(named({sSelector:"h2", sFlashSrc:themeRootDirectory + "/flash/futura_bold.swf", sColor:"#008fd4", sCase:"upper", sWmode:"transparent"}));
		sIFR.replaceElement(named({sSelector:"h3", sFlashSrc:themeRootDirectory + "/flash/futura_bold.swf", sColor:"#b3b819", sCase:"upper", sWmode:"transparent"}));
	}
}

window.onload = init;
window.onunload = cleanup;