// sIFR formatting

if(typeof sIFR == "function"){

//	sIFR.replaceElement(named({sSelector:"#topNav ul li a", sFlashSrc:"sifr/helveticaneueLT_medcon67.swf", sColor:"#5A74AB", sLinkColor:"#5A74AB", sBgColor:"#fff", sHoverColor:"#5A74AB", nPaddingTop:"0", nPaddingRight:"0", nPaddingBottom:"0", nPaddingLeft:"0", sFlashVars:"textalign=center", 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";
	}
	}
	
// Corporate Sponsor Information

function showHowto(toshow)
	{
	document.getElementById(toshow).style.display = 'block'; 
	}
	
function hideHowto(toshow)
	{
	document.getElementById(toshow).style.display = 'none'; 
	}

	