

/* Constants */
var rootDirectory = "";

// PINT_BrowserDetection("browserupgrade.htm");

function init() {
	var fileName  = PINT_GetCurrentFileName();
	var directory = PINT_GetCurrentDirectory();
	if (document.getElementById('more_table')) document.getElementById('more_table').style.display = "none";
	if (document.getElementById('exp_row1')) document.getElementById('exp_row1').style.display = "none";
	if (document.getElementById('exp_row2')) document.getElementById('exp_row2').style.display = "none";	
	PINT_sifr();
    if (typeof Fat != 'undefined') Fat.fade_all();	
}

function cleanup(){}

function PINT_sifr() {
	if(typeof sIFR == "function") {
		sIFR.replaceElement(named({sSelector:"#content h1, #h_content h1, #h_logout h1", sFlashSrc:rootDirectory + "/trajan_bold.swf", sColor:"#333333", sWmode:"transparent"}));
				sIFR.replaceElement(named({sSelector:"#benefits h2", sFlashSrc:rootDirectory + "/trajan_bold.swf", sColor:"#000000", sWmode:"transparent"}));
	}
}

window.onload = init;
window.onunload = cleanup;

