function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function SelectMenu(sPageName)
{
	sPageName = sPageName.substr(sPageName.lastIndexOf('/') + 1).toLowerCase();
	sPageName = sPageName.substr(0, sPageName.lastIndexOf('.'));
	if (document.getElementById(sPageName))
	{
		document.getElementById(sPageName).style.fontWeight = 'Bold';
		document.getElementById(sPageName).style.color = '#000';
		//document.getElementById(sPageName).style.backgroundColor = '#FFF';//
	}
}


function WriteEmail(name, domain)
{
	document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
	document.write(name + '@' + domain + '</a>');
}

sfHover = function() 
{ 
	var sfEls = document.getElementById("nav").getElementsByTagName("LI"); 
		for (var i=0; i<sfEls.length; i++) { 
			sfEls[i].onmouseover=function() { 
				this.className+=" sfhover"; 
			} 
			sfEls[i].onmouseout=function() { 
				this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); 
			} 
		} 
	} 
if (window.attachEvent) window.attachEvent("onload", sfHover);