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"), "");
		}
	}
}
reDraw = function() {
	if (document.body.clientWidth<779) {document.body.style.width="779px";}
	if (document.body.clientWidth>1003) {document.body.style.width="1003px";}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
if (window.attachEvent) window.attachEvent("onload", reDraw);
if (window.attachEvent) window.attachEvent("onresize", reDraw);



var newwindow;
function poptastic(url,height,width)
{
	newwindow=window.open(url,'name','height='+height+',width='+width+",scrollbars=auto,resizable=yes,menubar=no");
	if (window.focus) {newwindow.focus()}
}



