


// -------------------------------------------------------------------------------------------------------------------
// Called at the bottom of each page, handles page initialization after document loads

function pageInit() {
	//<![CDATA[
	/* SiFR Text Replacement calls. */
	
	if(typeof sIFR == "function"){
	
		// Swap these styles out for SiFR text
		sIFR.replaceElement(named({sSelector:"#mainContent h1", sFlashSrc:"/flash/tradeGothicExtended.swf", sColor:"#a2ad00", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#000000", nPaddingTop:0, nPaddingBottom:0}));
		sIFR.replaceElement(named({sSelector:"#mainContent h2", sFlashSrc:"/flash/tradeGothicRegular.swf", sColor:"#a2ad00", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#000000", nPaddingTop:0, nPaddingBottom:0}));
		sIFR.replaceElement(named({sSelector:"#sidebar h2", sFlashSrc:"/flash/tradeGothicRegular.swf", sColor:"#a2ad00", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#000000", nPaddingTop:0, nPaddingBottom:0}));
		
		// Not really working well with subnav list
		// sIFR.replaceElement(named({sSelector:"#subnav ul li a", sFlashSrc:"flash/universCondensed.swf", sColor:"#595D5B", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", nPaddingTop:0, nPaddingBottom:0}));

	};

//]]>
	
}

// Used on the containers of links for a light blue highlight...

function setHighlight (buttonID) {
	document.getElementById( "linkContainer_" + buttonID ).style.background = '#EDF1F1';
}

function removeHighlight (buttonID) {
	document.getElementById( "linkContainer_" + buttonID ).style.background = '#FFFFFF';
}