
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);



function launchWS(winName) {

	//window height and width
	myHeight = screen.height*.80;
	myWidth = 784;
	
	//widow height bounds
	if ( myHeight < 800 ) {
		myHeight = 800;
	} else if (myHeight>800) {
		myHeight = 800;
	}
	
	//get screen size, and cacl center screen positioning
	var height = screen.height;
	var width = screen.width;
	var leftpos = width / 2 - myWidth / 2;
	var toppos = (height / 2 - myHeight / 2) - 40; 

   //open window	
   msgWindow=window.open(winName,"ws_window","toolbar=yes,location=yes,directories=no,resizable=yes,menubar=no,scrollbars=no,status=yes,width=" + myWidth + ",height="+ myHeight + ", left=" + leftpos + ",top=" + toppos);  

   //focus window
   setTimeout('msgWindow.focus()',1);
}