// JavaScript Document

//<![CDATA[
/* Replacement calls. Please see readme.txt for more information. */
if(typeof sIFR == "function"){
	sIFR.replaceElement(named({sSelector:"body h1", sFlashSrc:"myriad-pro-condensed.swf", sColor:"#666666", sLinkColor:"null", sBgColor:"null", sHoverColor:"null", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"null", sWmode:"opaque"}));
	sIFR.replaceElement(named({sSelector:"body h2", sFlashSrc:"myriad-pro-condensed.swf", sColor:"#666666", sLinkColor:"null", sBgColor:"null", sHoverColor:"null", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"null", sWmode:"opaque"}));
	sIFR.replaceElement(named({sSelector:"body h3", sFlashSrc:"myriad-pro-condensed.swf", sColor:"#666666", sLinkColor:"null", sBgColor:"null", sHoverColor:"null", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"null", sWmode:"opaque"}));
	sIFR.replaceElement(named({sSelector:"body h4", sFlashSrc:"myriad-pro-blue.swf", sColor:"#FFFFFF", sLinkColor:"null", sBgColor:"#2E49AB", sHoverColor:"null", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"null", sWmode:"opaque"}));
	sIFR.replaceElement(named({sSelector:"body h5", sFlashSrc:"myriad-pro-red.swf", sColor:"#FFFFFF", sLinkColor:"null", sBgColor:"#A6000E", sHoverColor:"null", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"null", sWmode:"opaque"}));
	sIFR.replaceElement(named({sSelector:"body h6", sFlashSrc:"papyrus.swf", sColor:"#666666", sLinkColor:"null", sBgColor:"null", sHoverColor:"null", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"null", sWmode:"opaque"}));

	/* old version
	sIFR.replaceElement("h1", "myriad-pro-condensed.swf", "#666666", "#666666", null, null, 0, 0, 0, 0, null);
	sIFR.replaceElement("h2", "myriad-pro-condensed.swf", "#666666", "#666666", null, null, 0, 0, 0, 0, null);
	sIFR.replaceElement("h3", "myriad-pro-condensed.swf", "#666666", "#666666", null, null, 0, 0, 0, 0, null);
	sIFR.replaceElement("h4", "myriad-pro-blue.swf", "#FFFFFF", null, null, "#2E49AB", 0, 0, 0, 0, null);
	sIFR.replaceElement("h5", "myriad-pro-red.swf", "#FFFFFF", null, null, "#A6000E", 0, 0, 0, 0, null);
	sIFR.replaceElement("h6", "papyrus.swf", "#666666", "#666666", null, null, 0, 0, 0, 0, null);
	*/
};
//]]>



function Navigate() {
	var number = NavSelect.selectedIndex;
	location.href = NavSelect.options[number].value; 
}


function tbTest_focus(e,o){
	if(o.firstTime){return}
	o.firstTime=true
	o.value=""
}

function Navigate2() {
	var number = NavSelect2.selectedIndex;
	location.href = NavSelect2.options[number].value; 
}


function expand(othertag, thistag, tag) {
   styleObj=document.getElementById(thistag).style;
   styleObj2=document.getElementById(othertag).style;
   if (styleObj.display=='none')
   {
   	styleObj.display='';
	styleObj2.display='none';
	tag.innerHTML = "<img src='images/hide.jpg' border='0' width='48' height='20' style='cursor:pointer;'>";
   }
   else {
   	styleObj.display='none';
   	styleObj2.display='';
    tag.innerHTML = "<img src='images/more.jpg' border='0' width='85' height='20' style='cursor:pointer;'>";
   }
}


function HideContent(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "block";
}
function ReverseContentDisplay(d) {
	if(d.length < 1) { return; }
	if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
	else { document.getElementById(d).style.display = "none"; }
}



