/* Constants */
var rootDirectory = "";

var defaultFileList = "index.html, index.htm";
PINT_BrowserDetection("browserupgrade.htm");


if (!navigator.vendor) {
if (PINT_AllowForFontChanger()) 
	{
	PINT_SetGlobalFontDiv("content_font_change");
	PINT_BuildCSSStructure();
	}
}
	
function init() {
	var fileName  = PINT_GetCurrentFileName();
	var directory = PINT_GetCurrentDirectory();

	PINT_TextSizeThreeButton();	
	
	PINT_CSSMenus("level2_about");
	PINT_CSSMenus("level2_products");
	PINT_CSSMenus("level2_services");
	PINT_CSSMenus("level2_media");
	PINT_CSSMenus("level2_events");
	
	if(document.getElementById('allBrands')) document.getElementById('allBrands').className = 'hide';
	
	PINT_sifr(); 

        if (typeof PINT.page!="undefined") {
	        if (typeof PINT.page.News!="undefined") {PINT.page.News.init();}
        }

        if (typeof PINT.video!="undefined") PINT.video.init();
}



function cleanup(){}

function PINT_sifr() {
	if(typeof sIFR == "function") {
		sIFR.replaceElement(named({sSelector:"h1", sFlashSrc:themeRootDirectory  + "/flash/myriadpro.swf", sColor:"#343434", sWmode:"transparent"}));
	}
}

window.onload = init;
window.onunload = cleanup;