function initMenu(){
	var nodes = document.getElementById('menu').getElementsByTagName("li");
	for (var i=0; i<nodes.length; i++){
		nodes[i].onmouseover = function(){
			this.className += " open ";
		}
		nodes[i].onmouseout = function(){
			this.className = this.className.replace("open", "");
		}
	}
}
if (window.addEventListener){
	window.addEventListener("load", initMenu, false);
}
else if (window.attachEvent){
	window.attachEvent("onload", initMenu);
}