sfHover = function() {
	var sfEls = document.getElementById("subNavLevel1").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);

// launches pop-up windows //
function NavigateOpen(Location,Width,Height){
	x=Width;
	y=Height;
	xresnow = x;
	yresnow = y;
	if (navigator.appVersion.indexOf("Mac")!=-1 && document.all) {
			xresnow-=0;
			yresnow-=0;
	}
	xl = (screen.availWidth/2)-(xresnow/2);
	tt = (screen.availHeight/2)-(yresnow/2);
  if (document.all) mw=window.open(Location,'mwi','toolbar=no,scrollbars=yes,width='+xresnow+',height='+yresnow+',left='+xl+',top='+tt);
  else {
    if (parseFloat(navigator.appVersion)<4.75)
      mw=window.open(Location,'mwi','left='+xl+',top='+tt+',width='+x+',height='+y+',toolbar=no,scrollbars=yes,status=0,location=0');
    else {
      mw=window.open(Location,'mwi','left='+xl+',top='+tt+',width='+x+',height='+y+',toolbar=no,scrollbars=yes,status=0,location=0');
      setTimeout("mwFix("+xl+","+tt+",x,y)",10);
    }
  }
}

function popToFront () {
	mw.focus ()
}
