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