doHover = function() {
	var doEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<doEls.length; i++) {
		doEls[i].onmouseover=function() {
			this.className+=" dohover";
		}
		doEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" dohover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", doHover);

