/* Constants */
var rootDirectory = "";

PINT_BrowserDetection("browserupgrade.htm");

if (PINT_AllowForFontChanger()) 
	{
	PINT_SetGlobalFontDiv("content_font_change");
	PINT_BuildCSSStructure();
	}
function init() {
	var fileName  = PINT_GetCurrentFileName();
	var directory = PINT_GetCurrentDirectory();
	PINT_sifr();
	PINT_TextSizeThreeButton();	
}

function cleanup(){}

function PINT_sifr() {
	if(typeof sIFR == "function") {
		sIFR.replaceElement(named({sSelector:".home .h_box1 h1, .home .h_box1 h2, .patients #s_flash h1, .patients #s_flash h2", sFlashSrc: themeRootDirectory + "/flash/helvetica_neue_lt_std_cn.swf", sColor:"#e28e0c", sWmode:"transparent"}));
		sIFR.replaceElement(named({sSelector:".home .h_box2 h1, .home .h_box2 h2, .healthcare #s_flash h1, .healthcare #s_flash h2", sFlashSrc: themeRootDirectory + "/flash/helvetica_neue_lt_std_cn.swf", sColor:"#00467f", sWmode:"transparent"}));
		sIFR.replaceElement(named({sSelector:".home .h_box3 h1, .home .h_box3 h2, .plans #s_flash h1, .plans #s_flash h2", sFlashSrc: themeRootDirectory + "/flash/helvetica_neue_lt_std_cn.swf", sColor:"#e51b24", sWmode:"transparent"}));
                sIFR.replaceElement(named({sSelector:".section #s_flash h1, .section #s_flash h2", sFlashSrc: themeRootDirectory + "/flash/helvetica_neue_lt_std_cn.swf", sColor:"#00467f", sWmode:"transparent"}));
	}
}

window.onload = init;
window.onunload = cleanup;
