sfHover = function() {
	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;
	}
}


// catch and disable right clicks


function click_IE(){
	if (event.button==2){
		return false;
	}
}

function click_NS(e){
	if (document.layers||document.getElementById&&!document.all){
		if (e.which==2||e.which==3){
			return false;
		}
	}
}

if (document.layers){
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown = click_NS;
} else if (document.all && !document.getElementById){
	document.onmousedown = click_IE;
}

document.oncontextmenu = new Function("return false")
