sfHover = function() {
	if (document.getElementById && document.getElementsByTagName) {
		var sfEls = document.getElementById("nav").getElementsByTagName("LI");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				this.className+=" sfhover";
				/* hide SELECT tags which peer through menu - IE 5.0 doesnt like it */
				/* 
				var allSelects = document.getElementsByTagName('select');
				for (var i=0; i<allSelects.length; i++) {
					allSelects[i].style.visibility = "hidden";
				}
				*/
			}
			sfEls[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
				/* show SELECT tags which peer through menu - IE 5.0 doesnt like it */
				/*
				var allSelects = document.getElementsByTagName('select');
				for (var i=0; i<allSelects.length; i++) {
					allSelects[i].style.visibility = "visible";
				}
				*/
			}
		}
	}
}

if (window.attachEvent) {
	window.attachEvent("onload", sfHover);
} else {
	if (document.all && document.getElementById) { 
//		window.onload=sfHover;
		addLoadEvent(sfHover);
	}
}

var addLoadEvent = function(f) {
    var old = window.onload;
    window.onload = function() {
        if (old) { old(); }
        f();
    };
};


