// JavaScript Document
startList = function() {
  if (document.all&&document.getElementById) {
	lentesRoot = document.getElementById ("lentes");
	  node = lentesRoot;
	  if (node.nodeName=="LI") {
		node.onmouseover=function() {
		  this.className+=" over";
		}
		node.onmouseout=function() {
		  this.className=this.className.replace(" over", "");
		}
	  }
	}
	
	if (document.all&&document.getElementById) {
	gafasRoot = document.getElementById ("gafas");
	  node = gafasRoot;
	  if (node.nodeName=="LI") {
		node.onmouseover=function() {
		  this.className+=" over";
		}
		node.onmouseout=function() {
		  this.className=this.className.replace(" over", "");
		}
	  }
	}
	
	if (document.all&&document.getElementById) {
	astroRoot = document.getElementById ("astro");
	  node = astroRoot;
	  if (node.nodeName=="LI") {
		node.onmouseover=function() {
		  this.className+=" over";
		}
		node.onmouseout=function() {
		  this.className=this.className.replace(" over", "");
		}
	  }
	}
	
	if (document.all&&document.getElementById) {
	fotoRoot = document.getElementById ("foto");
	  node = fotoRoot;
	  if (node.nodeName=="LI") {
		node.onmouseover=function() {
		  this.className+=" over";
		}
		node.onmouseout=function() {
		  this.className=this.className.replace(" over", "");
		}
	  }
	}
	
	if (document.all&&document.getElementById) {
	microsRoot = document.getElementById ("micros");
	  node = microsRoot;
	  if (node.nodeName=="LI") {
		node.onmouseover=function() {
		  this.className+=" over";
		}
		node.onmouseout=function() {
		  this.className=this.className.replace(" over", "");
		}
	  }
	}
	
	/**************************** NUEVO */
	
	
	if (document.all&&document.getElementById) {
	microsRoot = document.getElementById ("tterrestres");
	  node = microsRoot;
	  if (node.nodeName=="LI") {
		node.onmouseover=function() {
		  this.className+=" over";
		}
		node.onmouseout=function() {
		  this.className=this.className.replace(" over", "");
		}
	  }
	}
	
	if (document.all&&document.getElementById) {
	microsRoot = document.getElementById ("prismaticosMenu");
	  node = microsRoot;
	  if (node.nodeName=="LI") {
		node.onmouseover=function() {
		  this.className+=" over";
		}
		node.onmouseout=function() {
		  this.className=this.className.replace(" over", "");
		}
	  }
	}
	
	/**************************** FIN NUEVO */
	
}
/*
function articulos() {
  var articulo = document.getElementsByName("art");
  for (var i=0; i<articulo.length; i++) {
      articulo[i].onmouseover = function() {
      this.className+=" encima";
     }
      articulo[i].onmouseout = function() {
		this.className=this.className.repalce(" encima","");
      }
    }
  }
 */ 
  

//funcion para los over de los pes de la home
/*
function articulos() {
  var articulo = document.getElementsByName("art");
  for (var i=0; i<articulo.length; i++) {
      articulo[i].onmouseover = function() {
      this.style.opacity = "0.80";
      this.style.filter = "alpha(opacity:80)";
      this.style.background = "#8B6927";
      this.style.cursor = "pointer";
     }
      articulo[i].onmouseout = function() {
      this.style.background = "transparent";
      this.style.opacity = "100";
      this.style.filter = "alpha(opacity:100)";
      }
    }
  }*/
window.onload=startList;

