sfHover = function() {
	var sfEls = document.getElementById("mainnav").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 newWindow(popupPage, winWidth, winHeight) {
	if (winWidth == null) {
		winWidth = 480;
	}
	if (winHeight == null) {
		winHeight = 360;
	}
	popupWindow = window.open(popupPage, 'popupWindow', 'toolbar=no,location=no,scrollbars=yes,width='+winWidth+',height='+winHeight);
	popupWindow.focus();
}		
