window.onload = function() {
	var lis = document.getElementById("menu").getElementsByTagName("li");
	for (i=0; i<lis.length; i++) {
		lis[i].onmouseover = function () {
			this.className = "hover";
		};
		lis[i].onmouseout = function () {
			this.className = "";
		};
	}
};