// Menu déroulant


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


/*
startList = function() {
	if (document.all&&document.getElementById) {
		menRoot = document.getElementById("mainmenu");
		for (i=0; i<menRoot.childNodes.length; i++) {
			node = menRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
window.onload=startList;

// Mise en évidence d'une rubrique avec sous menu keep
activewithsub = function(mainmenu) {
	document.getElementById(mainmenu).style.background = "#FF9C00"; 
}

noactivesub = function(mainmenu) {
	document.getElementById(mainmenu).style.background = "#60CBCA"; 
}*/
