<script language="javascript">
var tdColor="#000000"; // color del texto de los elementos del menu
var tdBgColor="#4A4135"; // color de fondo de los elementos del menu
var hlColor="#ffffff"; // color texto cuando puntero encima
var hlBgColor="#000000"; // color fondo cuando punetor encima
// Los mismos valores deben estar en menuNav.css
// Definicion del menu
td_1 = "Noticias"
td_1_1 = "Home"
url_1_1 = "noticias/index.htm"
td_1_2 = "Archivo"
url_1_2 = "noticias/archivo.htm"
td_2 = "Biografías"
url_2 = "http://www.elcodigo.net/tiralineas/tiralineas.html"
td_2_1 = "El grupo"
url_2_1 = "/bio/grupo.htm"
td_2_2 = "Individuales"
url_2_2 = "/bio/indi.htm"
///////NO SON NECESARIOS CAMBIOS A PARTIR DE AQUI/////////////////
var md=250;
var ti=-1;
var oTd=new Object;
oTd=null;
function doMenu(td){
clearTimeout(ti);
td.style.backgroundColor=hlBgColor;
td.style.color=hlColor;
var i;
var sT="";
var tda=new Array();
tda=td.id.split("_"
;
if(oTd!=null){
var tdo=new Array();
tdo=oTd.id.split("_"
;
for(i=1;i<tdo.length;i++){
sT+="_"+tdo
;
if(tdo!=tda){
document.getElementById("td"+sT).style.backgroundColor=tdBgColor;
document.getElementById("td"+sT).style.color=tdColor;
if(document.getElementById("tbl"+sT)!=null)
document.getElementById("tbl"+sT).style.visibility="hidden";
}
}
}
oTd=td;
sT="tbl";
for(i=1;i<tda.length;i++)
sT+="_"+tda;
if(document.getElementById(sT)!=null)
document.getElementById(sT).style.visibility="visible";
}
function clearMenu(){
if(oTd!=null){
var tdo=new Array();
tdo=oTd.id.split("_"
var sT="";
for(var i=1;i<tdo.length;i++){
sT+="_"+tdo;
document.getElementById("td"+sT).style.backgroundColor=tdBgColor;
document.getElementById("td"+sT).style.color=tdColor;
if(document.getElementById("tbl"+sT)!=null)
document.getElementById("tbl"+sT).style.visibility="hidden";
}
oTd=null;
}
}
function runMenu(strURL){
location.href=strURL;
}
var tt="";
var sT="";
var pT=new Array();
var tA=new Array();
function getCoord(st){
tA=st.split("_"
if(tA.length>2){
tA=tA.slice(0,-1);
tt=tA.join("_"
return (document.getElementById("tbl"+tt).offsetTop+document.getElementById("td"+st).offsetTop+4)+"px;left:"+
(document.getElementById("tbl"+tt).offsetLeft+document.getElementById("td"+st).offsetWidth-2)+"px\">";
}
return (document.getElementById("mainmenu".offsetTop+document.getElementById("td"+st).offsetHeight-1)+"px;left:"+
(document.getElementById("mainmenu".offsetLeft+document.getElementById("td"+st).offsetLeft+30)+"px\">";
}
</script>