/* IE doesnt support :hover psuedo classes, 
 * so we create a javascript function to attach 
 * sfHover class to <li> elements
 * (Ivan Manolov 20060330)
 */

var clearExp = new RegExp(" sfhover\\b");

sfHover = function() {
	var sfEls = document.getElementById("menubar").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			// clearNavs(sfEls,this);
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(clearExp, "");
		}
	}
}

if (window.attachEvent) window.attachEvent("onload", sfHover);

leftnavHover = 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(clearExp, "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", leftnavHover);