var startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("menuul");
if (navRoot != null)
		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", "");
				}
			}
		}
		navRoot = document.getElementById("lista");
if (navRoot != null)
		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;

function abrirMapa(url){
         window.open(url,"TST", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,width=400px,height=432px");
}
function abrirCorteAudio(url){
         window.open(url,"CA", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,width=470px,height=170px");
}
function abrirCorteVideo(url){
         window.open(url,"TV", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,width=550px,height=380px");
}
function abrirCorteVideoInternauta(url,ancho,alto){
         window.open(url,"TV", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,width=" + ancho + "px,height=" + alto + "px");
}
function aR(target,name) {
	pixel = new Image();
	parent.location.href = target;
	pixel.src = "http://www.eldia.es/i/t1.gif?"+name;
}
function installSearch( ){
  if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function"))
  {
      window.sidebar.addSearchEngine("http://www.eldia.es/js/busquedas.src","http://www.eldia.es/i/busquedas.gif","eldia.es","Web" );                                               /* category name */
  } else {
     if (window.external.AddSearchProvider) {
        window.external.AddSearchProvider('http://www.eldia.es/js/busquedas.xml');
     }else{ alert("Lo sentimos. Navegador no soportado");}
  }



}
