Busca en cnbGuatemala con Google
50 bytes eliminados
, hace 6 años
Línea 215: |
Línea 215: |
| tzolkin=xdays-(20*(Math.floor((xdays)/20))); | | tzolkin=xdays-(20*(Math.floor((xdays)/20))); |
| | | |
− | if (tzolkin==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">';} | + | if (tzolkin==1) {date.tzolkin.value ="Imix"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/c/cd/Imix.gif" width="64px">';} |
| else if (tzolkin==2) {date.tzolkin.value ="Ik"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/e/e6/Ik.gif" width="64px">';} | | else if (tzolkin==2) {date.tzolkin.value ="Ik"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/e/e6/Ik.gif" width="64px">';} |
| else if (tzolkin==3) {date.tzolkin.value ="Ak'bal"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/4/4c/Akbal.gif" width="64px">';} | | else if (tzolkin==3) {date.tzolkin.value ="Ak'bal"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/4/4c/Akbal.gif" width="64px">';} |
Línea 275: |
Línea 275: |
| if(yb <=0) yb=yb + 20; | | if(yb <=0) yb=yb + 20; |
| | | |
− | if (yb==1)date.yb.value ="Imix"; {date.yb.value ="Imix"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/c/cd/Imix.gif" width="64px">';} | + | if (yb==1) {date.yb.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"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/e/e6/Ik.gif" width="64px">';} | | else if (yb==2) {date.yb.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"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/4/4c/Akbal.gif" width="64px">';} | | else if (yb==3) {date.yb.value ="Ak'bal"; document.getElementById("tzolkinimg").innerHTML= '<img src="http://cnbguatemala.org/images/4/4c/Akbal.gif" width="64px">';} |