/*
function submenuScript()
{
	var menu = document.getElementById("menuStart");
	var menuchilds = menu.childNodes;
	var count = menuchilds.length;
	
	for (var i = 0; i < count; i++) 
	{ 
		var submenus = getChildsByTagName(menuchilds[i], "ul");
		if (submenus.length == 1) {
			var submenu = submenus[0];
			menuchilds[i].onmouseover = function() {
				showMenu(submenu);
			}
			menuchilds[i].onmouseout = function() {
				hideMenu(submenu);
			}
		}
	}
}

function showMenu(submenu)
{
	submenu.style.display = "block";
}

function hideMenu(submenu)
{
	submenu.style.display = "none";
}



window.onload = submenuScript;
*/

startMenu = function() {
	/*if (document.all&&document.getElementById) 
	{*/
		var menuchilds = document.getElementById("menuStart").childNodes;
		/* parcours des LI du menu principal */
	    for (var i = 0; i < menuchilds.length; i++)
	    {
	    	var li = menuchilds[i];
	    	li.onmouseover=function() {
				this.className+=" over";
			}
			li.onmouseout=function() {
			  	this.className=this.className.replace(" over", "");
			}
  		}
	/*}*/
}
window.onload=startMenu;
