function hoverLi(menuId) {
	var menu = document.getElementById(menuId);
	var undefined;
	
	if(menu != undefined) {
		var submenus = menu.getElementsByTagName('UL');
		for(var i=0; i< submenus.length; i++) {
			submenus[i].parentNode.onmouseover = function() {
				this.className = 'hover';
			}
			
			submenus[i].parentNode.onmouseout = function() {
				this.className = '';
			}
		}
	} else {
		alert('Menu not found!\nThe menu with id: '+menuId+' could not be found in this document.');
	}
}


