/* Função secundária para vários submenus */
function ligaMenus(idMenu,debug) {
	var navegador = navigator.appName;
	if (navegador == "Microsoft Internet Explorer") {
		var menu = document.getElementById(idMenu);
		var quantElementos = menu.childNodes.length;
		for (i=0; i < quantElementos; i++) {
			var tipoTag = menu.childNodes[i];
			if (debug == "1") { alert(menu + "-" + tipoTag); }
				if (tipoTag.nodeName == "LI") {
					tipoTag.onmouseover = function() {
					this.className += " over";
				}
				tipoTag.onmouseout = function() {
					this.className = this.className.replace(" over", "");
				}	
			} 	
		}
	}
}