function sfHover()
{
	if (document.all&&document.getElementById) {
		if (navRoot = document.getElementById("PrimaryNav")) {
      for (i=0; i<navRoot.childNodes.length; i++) {
        node = navRoot.childNodes[i];
        if (node.nodeName=="LI") {
          node.onmouseover=function() {
            this.className+=" over";
          }
          node.onmouseout=function() {
            this.className=this.className.replace(" over", "");
          }
        }
      }
    }
  }
}

if (window.attachEvent) window.attachEvent("onload", sfHover);


function setHideNav(idname)
{
	if (document.getElementById) {
		var subNav = document.getElementById(idname);
		subNav.style.display = "none"
	}
}
function setShowNav(idname)
{
	
	if (document.getElementById) {
		var subNav = document.getElementById(idname);
		subNav.style.display = "block"
	}
}

function swapInPNI(idname)
{
	if (document.getElementById) {
		var subNav = document.getElementById(idname);
		subNav.style.backgroundPosition = "0px -25px"
	}
}
function swapOutPNI(idname)
{
	if (document.getElementById) {
		var subNav = document.getElementById(idname);
		subNav.style.backgroundPosition = "0px 0px"
	}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
	document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);