Línea 767: |
Línea 767: |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/cd/Imix.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e6/Ik.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/4c/Akbal.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/9/9e/Kan.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/4f/Chikchan.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/29/Kimi.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/a9/Manik.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/46/Lamat.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/1/16/Muluk.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/ba/Ok.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/wiki/Archivo:Chuen.gif" width="38px">'; |
| } | | } |
| 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" width="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Eb.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/b2/Ben.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/fb/Ix.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/f1/Men.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bf/Kib.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e5/Kaban.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/f8/Etznab.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/55/Kawak.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/2b/Ahau.gif" width="38px">'; |
| } | | } |
| else if (tzolkin > 19) date.tzolkin.value = "error"; | | else if (tzolkin > 19) date.tzolkin.value = "error"; |
Línea 943: |
Línea 943: |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/0a/Pop.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/58/Uo.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/3/3d/Sip.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bb/Zotz.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/c1/Sek.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/6/6d/Xul.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/55/Yaxkin.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/54/Mol.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/25/Chen.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bd/Yax.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/c1/Sak.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/51/Keh.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/d/de/Mak.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/58/Kankin.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/ac/Muwan.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/fe/Pax.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e3/Kayab.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/d/d4/Cumku.gif" width="38px">'; |
| } | | } |
| 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="50px">'; | + | document.getElementById("haabimg").innerHTML = '<img src="http://cnbguatemala.org/images/b/bd/Wayeb.gif" width="38px">'; |
| } | | } |
| | | |