// sIFR formatting

if(typeof sIFR == "function"){

	sIFR.replaceElement(named({sSelector:"ul.nav li", sFlashSrc:"sifr/helveticaneueLT_medcon67.swf", sColor:"#ffffff", sLinkColor:"#ffffff", sBgColor:"#efefef", nPaddingTop:"0", nPaddingRight:"0", nPaddingBottom:"33", nPaddingLeft:"0", sFlashVars:"textalign=center", sWmode:"transparent"}));
	
	sIFR.replaceElement(named({sSelector:"#intro h2", sFlashSrc:"sifr/helveticaneueLT_medcon67.swf", sColor:"#1D5C99", sLinkColor:"#1D5C99", sBgColor:"#efefef", sHoverColor:"#004990", nPaddingTop:"0", nPaddingRight:"0", nPaddingBottom:"0", nPaddingLeft:"0", sFlashVars:"textalign=left", sWmode:"transparent"}));
	
	sIFR.replaceElement(named({sSelector:"#homeIntro h1", sFlashSrc:"sifr/helveticaneueLT_medcon67.swf", sColor:"#1D5C99", sLinkColor:"#1D5C99", sBgColor:"#ffffff", sHoverColor:"#004990", nPaddingTop:"0", nPaddingRight:"0", nPaddingBottom:"0", nPaddingLeft:"0", sFlashVars:"textalign=left", sWmode:"transparent"}));
	
		//sIFR.replaceElement(named({sSelector:"h2", sFlashSrc:"sifr/helveticaneueLT_medcon67.swf", sColor:"#1D5C99", sLinkColor:"#1D5C99", sBgColor:"#efefef", sHoverColor:"#004990", nPaddingTop:"0", nPaddingRight:"0", nPaddingBottom:"0", nPaddingLeft:"0", sFlashVars:"textalign=left", sWmode:"transparent"}));
	
	sIFR.replaceElement(named({sSelector:"h4", sFlashSrc:"sifr/helveticaneueLT_medcon67.swf", sColor:"#717174", sLinkColor:"#717174", sBgColor:"#efefef", sHoverColor:"#004990", nPaddingTop:"0", nPaddingRight:"0", nPaddingBottom:"0", nPaddingLeft:"0", sFlashVars:"textalign=left", sWmode:"transparent"}));
	
};

// Login form validator

		function ValidateLoginForm()
		{
			if (document.login.LoginMemberId.value.length <= 0)
				{
				alert("Please enter a Member Id");
				document.login.LoginMemberId.focus();
				return false;
				}
			return true;
		}

// div show/hide function

	function toggleLayer(whichLayer)
	{
	if (document.getElementById)
	{
	// this is the way the standards work
	var style2 = document.getElementById(whichLayer).style;
	style2.display = style2.display? "":"block";
	}
	else if (document.all)
	{
	// this is the way old msie versions work
	var style2 = document.all[whichLayer].style;
	style2.display = style2.display? "":"block";
	}
	else if (document.layers)
	{
	// this is the way nn4 works
	var style2 = document.layers[whichLayer].style;
	style2.display = style2.display? "":"block";
	}
	}