var is = navigator // The "is" object is used in browser identification
	
// toggleMenu determines and sets obj's visibility. It is used mainly  
// by the "CMS Menu" drop-down activated in the edit website(s)
function toggleMenu(obj) {
	if (is.appName == "Microsoft Internet Explorer")
	{
		if (document.all[obj].style.display == "") 
			{
			document.all[obj].style.display = "none"
			} 
		else if (document.all[obj].style.display == "none") 
			{
			document.all[obj].style.display = ""
			}
	}
	
	if (is.appName == "Netscape")
	{
		if (document.getElementById(obj).style.display == "") 
		{
			document.getElementById(obj).style.display = "none"
		} 
		else if (document.getElementById(obj).style.display == "none")
		{
		document.getElementById(obj).style.display = ""
		} 
	} 
} 

//drop down nav function for IE
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);