
function mostrar(){this.className="over"}
function mostrarNo(){this.className="nivel1"}
function mostrarfocus() {this.parentNode.parentNode.parentNode.className="over"}
function mostrarblur() {this.parentNode.parentNode.parentNode.className="nivel1"}
function iniciarLista(){
	if (document.getElementById){	
	var LI = document.getElementsByTagName("li");
	var zLI= LI.length;
		for(var k=0;k<zLI;k++){ 
			if(LI[k].parentNode.parentNode.className=="nivel1"){
				LI[k].firstChild.onfocus=mostrarfocus;
				LI[k].firstChild.onblur = mostrarblur;
			}
			if(LI[k].className=="nivel1"){
				LI[k].onmouseover=mostrar;
				LI[k].onmouseout=mostrarNo;
			}
		}
	}
}

window.onload = iniciarLista;