Línea 241: |
Línea 241: |
| if (tzolradical == 1) { | | if (tzolradical == 1) { |
| date.tzolrad.value = "1"; | | date.tzolrad.value = "1"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Glifo_1.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Glifo_1.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 2) { | | else if (tzolradical == 2) { |
| date.tzolrad.value = "2"; | | date.tzolrad.value = "2"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Glifo_2.gif" height="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Glifo_2.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 3) { | | else if (tzolradical == 3) { |
| date.tzolrad.value = "3"; | | date.tzolrad.value = "3"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/43/Glifo_3.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/43/Glifo_3.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 4) { | | else if (tzolradical == 4) { |
| date.tzolrad.value = "4"; | | date.tzolrad.value = "4"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/7/79/Glifo_4.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/7/79/Glifo_4.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 5) { | | else if (tzolradical == 5) { |
| date.tzolrad.value = "5"; | | date.tzolrad.value = "5"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/0f/Glifo_5.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/0f/Glifo_5.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 6) { | | else if (tzolradical == 6) { |
| date.tzolrad.value = "6"; | | date.tzolrad.value = "6"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/a3/Glifo_6.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/a3/Glifo_6.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 7) { | | else if (tzolradical == 7) { |
| date.tzolrad.value = "7"; | | date.tzolrad.value = "7"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/27/Glifo_7.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/27/Glifo_7.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 8) { | | else if (tzolradical == 8) { |
| date.tzolrad.value = "8"; | | date.tzolrad.value = "8"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/8/8b/Glifo_8.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/8/8b/Glifo_8.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 9) { | | else if (tzolradical == 9) { |
| date.tzolrad.value = "9"; | | date.tzolrad.value = "9"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/3/3d/Glifo_9.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/3/3d/Glifo_9.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 10) { | | else if (tzolradical == 10) { |
| date.tzolrad.value = "10"; | | date.tzolrad.value = "10"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/9/96/Glifo_10.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/9/96/Glifo_10.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 11) { | | else if (tzolradical == 11) { |
| date.tzolrad.value = "11"; | | date.tzolrad.value = "11"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/a6/Glifo_11.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/a6/Glifo_11.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 12) { | | else if (tzolradical == 12) { |
| date.tzolrad.value = "12"; | | date.tzolrad.value = "12"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/42/Glifo_12.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/42/Glifo_12.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 13) { | | else if (tzolradical == 13) { |
| date.tzolrad.value = "13"; | | date.tzolrad.value = "13"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e5/Glifo_13.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e5/Glifo_13.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 14) { | | else if (tzolradical == 14) { |
| date.tzolrad.value = "14"; | | date.tzolrad.value = "14"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/5d/Glifo_14.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/5d/Glifo_14.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 15) { | | else if (tzolradical == 15) { |
| date.tzolrad.value = "15"; | | date.tzolrad.value = "15"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/fe/Glifo_15.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/fe/Glifo_15.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 16) { | | else if (tzolradical == 16) { |
| date.tzolrad.value = "16"; | | date.tzolrad.value = "16"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/8/87/Glifo_16.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/8/87/Glifo_16.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 17) { | | else if (tzolradical == 17) { |
| date.tzolrad.value = "17"; | | date.tzolrad.value = "17"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/af/Glifo_17.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/af/Glifo_17.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 18) { | | else if (tzolradical == 18) { |
| date.tzolrad.value = "18"; | | date.tzolrad.value = "18"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/5f/Glifo_18.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/5f/Glifo_18.gif" width="50px">'; |
| } | | } |
| else if (tzolradical == 19) { | | else if (tzolradical == 19) { |
| date.tzolrad.value = "19"; | | date.tzolrad.value = "19"; |
− | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/c0/Glifo_19.gif" width="64px">'; | + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/c0/Glifo_19.gif" width="50px">'; |
| } | | } |
| else if (tzolradical > 19) date.tzolrad.value = "error"; | | else if (tzolradical > 19) date.tzolrad.value = "error"; |
Línea 320: |
Línea 320: |
| if (tzolkin == 1) { | | 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">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/cd/Imix.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 2) { | | else if (tzolkin == 2) { |
| date.tzolkin.value = "Ik"; | | date.tzolkin.value = "Ik"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e6/Ik.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e6/Ik.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 3) { | | else if (tzolkin == 3) { |
| date.tzolkin.value = "Ak'bal"; | | date.tzolkin.value = "Ak'bal"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/4c/Akbal.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/4c/Akbal.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 4) { | | else if (tzolkin == 4) { |
| date.tzolkin.value = "K'an"; | | date.tzolkin.value = "K'an"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/9/9e/Kan.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/9/9e/Kan.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 5) { | | else if (tzolkin == 5) { |
| date.tzolkin.value = "Chikchan"; | | date.tzolkin.value = "Chikchan"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/4f/Chikchan.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/4f/Chikchan.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 6) { | | else if (tzolkin == 6) { |
| date.tzolkin.value = "Kimi"; | | date.tzolkin.value = "Kimi"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/29/Kimi.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/29/Kimi.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 7) { | | else if (tzolkin == 7) { |
| date.tzolkin.value = "Manik"; | | date.tzolkin.value = "Manik"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/a9/Manik.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/a9/Manik.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 8) { | | else if (tzolkin == 8) { |
| date.tzolkin.value = "Lamat"; | | date.tzolkin.value = "Lamat"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/46/Lamat.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/46/Lamat.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 9) { | | else if (tzolkin == 9) { |
| date.tzolkin.value = "Muluk"; | | date.tzolkin.value = "Muluk"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/1/16/Muluk.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/1/16/Muluk.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 10) { | | else if (tzolkin == 10) { |
| date.tzolkin.value = "Ok"; | | date.tzolkin.value = "Ok"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/ba/Ok.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/ba/Ok.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 11) { | | else if (tzolkin == 11) { |
| date.tzolkin.value = "Chuen"; | | date.tzolkin.value = "Chuen"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/wiki/Archivo:Chuen.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/wiki/Archivo:Chuen.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 12) { | | else if (tzolkin == 12) { |
| date.tzolkin.value = "Eb"; | | date.tzolkin.value = "Eb"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Eb.gif" height="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Eb.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 13) { | | else if (tzolkin == 13) { |
| date.tzolkin.value = "Ben"; | | date.tzolkin.value = "Ben"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/b2/Ben.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/b2/Ben.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 14) { | | else if (tzolkin == 14) { |
| date.tzolkin.value = "Ix"; | | date.tzolkin.value = "Ix"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/fb/Ix.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/fb/Ix.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 15) { | | else if (tzolkin == 15) { |
| date.tzolkin.value = "Men"; | | date.tzolkin.value = "Men"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/f1/Men.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/f1/Men.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 16) { | | else if (tzolkin == 16) { |
| date.tzolkin.value = "Kib"; | | date.tzolkin.value = "Kib"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bf/Kib.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bf/Kib.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 17) { | | else if (tzolkin == 17) { |
| date.tzolkin.value = "Kaban"; | | date.tzolkin.value = "Kaban"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e5/Kaban.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e5/Kaban.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 18) { | | else if (tzolkin == 18) { |
| date.tzolkin.value = "Etz'nab"; | | date.tzolkin.value = "Etz'nab"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/f8/Etznab.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/f8/Etznab.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 19) { | | else if (tzolkin == 19) { |
| date.tzolkin.value = "Kawak"; | | date.tzolkin.value = "Kawak"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/55/Kawak.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/55/Kawak.gif" width="50px">'; |
| } | | } |
| else if (tzolkin == 0) { | | else if (tzolkin == 0) { |
| date.tzolkin.value = "Ajau"; | | date.tzolkin.value = "Ajau"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/2b/Ahau.gif" width="64px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/2b/Ahau.gif" width="50px">'; |
| } | | } |
| else if (tzolkin > 19) date.tzolkin.value = "error"; | | else if (tzolkin > 19) date.tzolkin.value = "error"; |
Línea 411: |
Línea 411: |
| if (haabkin == 0) { | | if (haabkin == 0) { |
| date.haab.value = "Pop"; | | date.haab.value = "Pop"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/0a/Pop.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/0a/Pop.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 1) { | | else if (haabkin == 1) { |
| date.haab.value = "Uo"; | | date.haab.value = "Uo"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/58/Uo.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/58/Uo.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 2) { | | else if (haabkin == 2) { |
| date.haab.value = "Zip"; | | date.haab.value = "Zip"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/3/3d/Sip.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/3/3d/Sip.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 3) { | | else if (haabkin == 3) { |
| date.haab.value = "Zotz"; | | date.haab.value = "Zotz"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bb/Zotz.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bb/Zotz.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 4) { | | else if (haabkin == 4) { |
| date.haab.value = "Tzec"; | | date.haab.value = "Tzec"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/c1/Sek.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/c1/Sek.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 5) { | | else if (haabkin == 5) { |
| date.haab.value = "Xul"; | | date.haab.value = "Xul"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/6/6d/Xul.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/6/6d/Xul.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 6) { | | else if (haabkin == 6) { |
| date.haab.value = "Yaxkin"; | | date.haab.value = "Yaxkin"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/55/Yaxkin.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/55/Yaxkin.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 7) { | | else if (haabkin == 7) { |
| date.haab.value = "Mol"; | | date.haab.value = "Mol"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/54/Mol.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/54/Mol.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 8) { | | else if (haabkin == 8) { |
| date.haab.value = "Chen"; | | date.haab.value = "Chen"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/25/Chen.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/25/Chen.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 9) { | | else if (haabkin == 9) { |
| date.haab.value = "Yax"; | | date.haab.value = "Yax"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bd/Yax.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bd/Yax.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 10) { | | else if (haabkin == 10) { |
| date.haab.value = "Zac"; | | date.haab.value = "Zac"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/c1/Sak.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/c1/Sak.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 11) { | | else if (haabkin == 11) { |
| date.haab.value = "Ceh"; | | date.haab.value = "Ceh"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/51/Keh.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/51/Keh.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 12) { | | else if (haabkin == 12) { |
| date.haab.value = "Mac"; | | date.haab.value = "Mac"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/d/de/Mak.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/d/de/Mak.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 13) { | | else if (haabkin == 13) { |
| date.haab.value = "Kankin"; | | date.haab.value = "Kankin"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/58/Kankin.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/58/Kankin.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 14) { | | else if (haabkin == 14) { |
| date.haab.value = "Muwan"; | | date.haab.value = "Muwan"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/ac/Muwan.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/ac/Muwan.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 15) { | | else if (haabkin == 15) { |
| date.haab.value = "Pax"; | | date.haab.value = "Pax"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/fe/Pax.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/fe/Pax.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 16) { | | else if (haabkin == 16) { |
| date.haab.value = "Kayab"; | | date.haab.value = "Kayab"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e3/Kayab.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e3/Kayab.gif" width="50px">'; |
| } | | } |
| else if (haabkin == 17) { | | else if (haabkin == 17) { |
| date.haab.value = "Cumkú"; | | date.haab.value = "Cumkú"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/d/d4/Cumku.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/d/d4/Cumku.gif" width="50px">'; |
| } | | } |
| else { | | else { |
| date.haab.value = "Uayeb"; | | date.haab.value = "Uayeb"; |
− | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bd/Wayeb.gif" width="64px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bd/Wayeb.gif" width="50px">'; |
| } | | } |
| | | |
Línea 497: |
Línea 497: |
| if (yb == 1) { | | if (yb == 1) { |
| date.yb.value = "Imix"; | | date.yb.value = "Imix"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/cd/Imix.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/cd/Imix.gif" width="50px">'; |
| } | | } |
| else if (yb == 2) { | | else if (yb == 2) { |
| date.yb.value = "Ik"; | | date.yb.value = "Ik"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e6/Ik.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e6/Ik.gif" width="50px">'; |
| } | | } |
| else if (yb == 3) { | | else if (yb == 3) { |
| date.yb.value = "Ak'bal"; | | date.yb.value = "Ak'bal"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/4c/Akbal.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/4c/Akbal.gif" width="50px">'; |
| } | | } |
| else if (yb == 4) { | | else if (yb == 4) { |
| date.yb.value = "K'an"; | | date.yb.value = "K'an"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/9/9e/Kan.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/9/9e/Kan.gif" width="50px">'; |
| } | | } |
| else if (yb == 5) { | | else if (yb == 5) { |
| date.yb.value = "Chikchan"; | | date.yb.value = "Chikchan"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/4f/Chikchan.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/4f/Chikchan.gif" width="50px">'; |
| } | | } |
| else if (yb == 6) { | | else if (yb == 6) { |
| date.yb.value = "Kimi"; | | date.yb.value = "Kimi"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/29/Kimi.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/29/Kimi.gif" width="50px">'; |
| } | | } |
| else if (yb == 7) { | | else if (yb == 7) { |
| date.yb.value = "Manik"; | | date.yb.value = "Manik"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/a9/Manik.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/a9/Manik.gif" width="50px">'; |
| } | | } |
| else if (yb == 8) { | | else if (yb == 8) { |
| date.yb.value = "Lamat"; | | date.yb.value = "Lamat"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/46/Lamat.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/46/Lamat.gif" width="50px">'; |
| } | | } |
| else if (yb == 9) { | | else if (yb == 9) { |
| date.yb.value = "Muluk"; | | date.yb.value = "Muluk"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/1/16/Muluk.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/1/16/Muluk.gif" width="50px">'; |
| } | | } |
| else if (yb == 10) { | | else if (yb == 10) { |
| date.yb.value = "Ok"; | | date.yb.value = "Ok"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/ba/Ok.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/ba/Ok.gif" width="50px">'; |
| } | | } |
| else if (yb == 11) { | | else if (yb == 11) { |
| date.yb.value = "Chuen"; | | date.yb.value = "Chuen"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/wiki/Archivo:Chuen.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/wiki/Archivo:Chuen.gif" width="50px">'; |
| } | | } |
| else if (yb == 12) { | | else if (yb == 12) { |
| date.yb.value = "Eb"; | | date.yb.value = "Eb"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Eb.gif" height="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Eb.gif" width="50px">'; |
| } | | } |
| else if (yb == 13) { | | else if (yb == 13) { |
| date.yb.value = "Ben"; | | date.yb.value = "Ben"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/b2/Ben.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/b2/Ben.gif" width="50px">'; |
| } | | } |
| else if (yb == 14) { | | else if (yb == 14) { |
| date.yb.value = "Ix"; | | date.yb.value = "Ix"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/fb/Ix.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/fb/Ix.gif" width="50px">'; |
| } | | } |
| else if (yb == 15) { | | else if (yb == 15) { |
| date.yb.value = "Men"; | | date.yb.value = "Men"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/f1/Men.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/f1/Men.gif" width="50px">'; |
| } | | } |
| else if (yb == 16) { | | else if (yb == 16) { |
| date.yb.value = "Kib"; | | date.yb.value = "Kib"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bf/Kib.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bf/Kib.gif" width="50px">'; |
| } | | } |
| else if (yb == 17) { | | else if (yb == 17) { |
| date.yb.value = "Kaban"; | | date.yb.value = "Kaban"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e5/Kaban.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e5/Kaban.gif" width="50px">'; |
| } | | } |
| else if (yb == 18) { | | else if (yb == 18) { |
| date.yb.value = "Etz'nab"; | | date.yb.value = "Etz'nab"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/f8/Etznab.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/f8/Etznab.gif" width="50px">'; |
| } | | } |
| else if (yb == 19) { | | else if (yb == 19) { |
| date.yb.value = "Kawak"; | | date.yb.value = "Kawak"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/55/Kawak.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/55/Kawak.gif" width="50px">'; |
| } | | } |
| else if (yb == 0) { | | else if (yb == 0) { |
| date.yb.value = "Ajau"; | | date.yb.value = "Ajau"; |
− | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/2b/Ahau.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/2b/Ahau.gif" width="50px">'; |
| } | | } |
| | | |