Cambios

Ir a la navegación Ir a la búsqueda
Busca en cnbGuatemala con Google

sin resumen de edición
Línea 246: Línea 246:  
haabkin=Math.floor(xdays/20);
 
haabkin=Math.floor(xdays/20);
   −
if(haabkin==0) date.haab.value = "Pop";
+
if(haabkin==0) {date.haab.value = "Pop"; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/0/0a/Pop.gif" width="64px">';}
else if(haabkin==1) date.haab.value ="Uo" ;
+
else if(haabkin==1) {date.haab.value ="Uo" ; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/5/58/Uo.gif" width="64px">';}
else if(haabkin==2) date.haab.value ="Zip";
+
else if(haabkin==2) {date.haab.value ="Zip"; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/3/3d/Sip.gif" width="64px">';}
else if(haabkin==3) date.haab.value ="Zotz";
+
else if(haabkin==3) {date.haab.value ="Zotz"; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/b/bb/Zotz.gif" width="64px">';}
else if(haabkin==4) date.haab.value ="Tzec" ;
+
else if(haabkin==4) {date.haab.value ="Tzec" ; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/c/c1/Sek.gif" width="64px">';}
else if(haabkin==5) date.haab.value ="Xul";
+
else if(haabkin==5) {date.haab.value ="Xul"; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/6/6d/Xul.gif" width="64px">';}
else if(haabkin==6) date.haab.value ="Yaxkin" ;
+
else if(haabkin==6) {date.haab.value ="Yaxkin" ; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/5/55/Yaxkin.gif" width="64px">';}
else if(haabkin==7) date.haab.value ="Mol" ;
+
else if(haabkin==7) {date.haab.value ="Mol" ; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/5/54/Mol.gif" width="64px">';}
else if(haabkin==8) date.haab.value ="Chen";
+
else if(haabkin==8) {date.haab.value ="Chen"; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/2/25/Chen.gif" width="64px">';}
else if(haabkin==9) date.haab.value ="Yax" ;
+
else if(haabkin==9) {date.haab.value ="Yax" ; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/b/bd/Yax.gif" width="64px">';}
else if(haabkin==10) date.haab.value ="Zac" ;
+
else if(haabkin==10) {date.haab.value ="Zac" ; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/c/c1/Sak.gif" width="64px">';}
else if(haabkin==11) date.haab.value ="Ceh" ;
+
else if(haabkin==11) {date.haab.value ="Ceh" ; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/5/51/Keh.gif" width="64px">';}
else if(haabkin==12) date.haab.value ="Mac" ;
+
else if(haabkin==12) {date.haab.value ="Mac" ; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/d/de/Mak.gif" width="64px">';}
else if(haabkin==13) date.haab.value ="Kankin";
+
else if(haabkin==13) {date.haab.value ="Kankin"; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/5/58/Kankin.gif" width="64px">';}
else if(haabkin==14) date.haab.value ="Muwan" ;
+
else if(haabkin==14) {date.haab.value ="Muwan" ; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/a/ac/Muwan.gif" width="64px">';}
else if(haabkin==15) date.haab.value ="Pax" ;
+
else if(haabkin==15) {date.haab.value ="Pax" ; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/f/fe/Pax.gif" width="64px">';}
else if(haabkin==16) date.haab.value ="Kayab";
+
else if(haabkin==16) {date.haab.value ="Kayab"; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/e/e3/Kayab.gif" width="64px">';}
else if(haabkin==17) date.haab.value ="Cumkú";
+
else if(haabkin==17) {date.haab.value ="Cumkú"; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/d/d4/Cumku.gif" width="64px">';}
else date.haab.value ="Uayeb";
+
else {date.haab.value ="Uayeb"; document.getElementById("haabimg").innerHTML= '<img src="http://cnbguatemala.org/images/b/bd/Wayeb.gif" width="64px">';}
    
 

Menú de navegación