// JavaScript Document
// Open window
var win = null;
function NewWindow(mypage,myname,w,h,scroll,menubar){
	LeftPosition = (screen.width) ? (screen.width-w)/2  : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',menubar='+menubar+',resizable=no';
	win = window.open(mypage,myname,settings);
}


// Son of SuckerFish ... http://htmldog.com/articles/suckerfish/dropdowns/
// ***********************************************************************

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);

