// JavaScript Document

sfHover = function() {
	var sfEls = document.getElementById("menubar").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 (document.all) { //MS IE
	if (window.XMLHttpRequest) {
	//IE 7 is the first version of IE that supports XMLHttpRequest,
	//this makes the drop downs not work in IE7 if ther eis no code here
	
		if (window.attachEvent) window.attachEvent("onload", sfHover);
		else { //IE 5.2 Mac does not  support attachEvent 
		var old = window.onload; 
		window.onload = function() { if (old) old(); sfHover(); }
		} 	

	}
	else {
		if (window.attachEvent) window.attachEvent("onload", sfHover);
		else { //IE 5.2 Mac does not  support attachEvent 
		var old = window.onload; 
		window.onload = function() { if (old) old(); sfHover(); }
		} 
	}
}