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