sfHover = function() {

	var navEl = document.getElementById("nav");

	if (navEl != null)

	{

		var sfEls = navEl.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);





function ToggleMenu(menuName, over, sel)

{

	fld = document.getElementById ("mnu" + menuName);

	var offname = (sel ? "off cursection" : "off");

	fld.className = (over ? "over" : offname);

}
