Cambios

Busca en cnbGuatemala con Google

sin resumen de edición
Línea 282: Línea 282:  
             if(yb <=0) yb=yb + 20;
 
             if(yb <=0) yb=yb + 20;
   −
if (yb==1)date.yb.value ="Imix";  
+
if (yb==1)date.tzolkin.value ="Imix"; {date.tzolkin.value ="Imix"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/c/cd/Imix.gif" width="64px">';}
else if (yb==2) date.yb.value ="Ik";  
+
else if (yb==2) {date.tzolkin.value ="Ik"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/e/e6/Ik.gif" width="64px">';}
else if (yb==3) date.yb.value ="Ak'bal";  
+
else if (yb==3) {date.tzolkin.value ="Ak'bal"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/4/4c/Akbal.gif" width="64px">';}
else if (yb==4) date.yb.value ="Kan";  
+
else if (yb==4) {date.tzolkin.value ="K'an"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/9/9e/Kan.gif" width="64px">';}
else if (yb==5) date.yb.value ="Chikchan";  
+
else if (yb==5) {date.tzolkin.value ="Chikchan"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/4/4f/Chikchan.gif" width="64px">';}
else if (yb==6) date.yb.value ="Kimi";  
+
else if (yb==6) {date.tzolkin.value ="Kimi"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/2/29/Kimi.gif" width="64px">';}
else if (yb==7) date.yb.value ="Manik";  
+
else if (yb==7) {date.tzolkin.value ="Manik"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/a/a9/Manik.gif" width="64px">';}
else if (yb==8) date.yb.value ="Lamat";  
+
else if (yb==8) {date.tzolkin.value ="Lamat"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/4/46/Lamat.gif" width="64px">';}
else if (yb==9) date.yb.value ="Muluk";  
+
else if (yb==9) {date.tzolkin.value ="Muluk"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/1/16/Muluk.gif" width="64px">';}
else if (yb==10) date.yb.value ="Ok";  
+
else if (yb==10) {date.tzolkin.value ="Ok"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/b/ba/Ok.gif" width="64px">';}
else if (yb==11) date.yb.value ="Chuen";  
+
else if (yb==11) {date.tzolkin.value ="Chuen"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/wiki/Archivo:Chuen.gif" width="64px">';}
else if (yb==12) date.yb.value ="Eb";  
+
else if (yb==12) {date.tzolkin.value ="Eb"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/0/01/Eb.gif" width="64px">';}
else if (yb==13) date.yb.value ="Ben";  
+
else if (yb==13) {date.tzolkin.value ="Ben"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/b/b2/Ben.gif" width="64px">';}
else if (yb==14) date.yb.value ="Ix";  
+
else if (yb==14) {date.tzolkin.value ="Ix"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/f/fb/Ix.gif" width="64px">';}
else if (yb==15) date.yb.value ="Men";  
+
else if (yb==15) {date.tzolkin.value ="Men"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/f/f1/Men.gif" width="64px">';}
else if (yb==16) date.yb.value ="Kib";  
+
else if (yb==16) {date.tzolkin.value ="Kib"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/b/bf/Kib.gif" width="64px">';}
                        else if (yb==17) {date.yb.value ="Kaban"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/e/e5/Kaban.gif" width="64px">';}
+
else if (yb==17) {date.tzolkin.value ="Kaban"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/e/e5/Kaban.gif" width="64px">';}
else if (yb==18) date.yb.value ="Etz'nab";  
+
else if (yb==18) {date.tzolkin.value ="Etz'nab"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/f/f8/Etznab.gif" width="64px">';}
else if (yb==19) date.yb.value ="Kawac";  
+
else if (yb==19) {date.tzolkin.value ="Kawak"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/5/55/Kawak.gif" width="64px">';}
else if (yb==0) date.yb.value ="Ahau";  
+
else if (yb==0) {date.tzolkin.value ="Ajau"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/2/2b/Ahau.gif" width="64px">';}
else if (yb>19) date.yb.value = "error";
  −
 
  −
 
  −
 
  −