// JavaScript Document

startList = function() {
	if (document.all&&document.getElementById) {
	
		if(document.indicador.lugar.value == 0){
		document.getElementById("destaque").style.zIndex = -1;
		}

		if(document.indicador.lugar.value == 1){
		document.getElementById("contenidoN01").style.zIndex = -1;
		}

		if(document.indicador.lugar.value == 2){
		document.getElementById("contenidoN02").style.zIndex = -1;
		}
		
		
		navRoot = document.getElementById("nav");

		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}

}

window.onload=startList;



