Línea 192: |
Línea 192: |
| | | |
| </div> | | </div> |
− | <div id="kinimg" width="100px" height="100px"></div> | + | <div id="ybimg" width="100px" height="100px"></div> |
| <div id="tzolkinimg" width="100px" height="100px"></div> | | <div id="tzolkinimg" width="100px" height="100px"></div> |
| <div id="haabimg" width="100px" height="100px"></div> | | <div id="haabimg" width="100px" height="100px"></div> |
Línea 416: |
Línea 416: |
| if (yb == 1) { | | 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">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/cd/Imix.gif" width="64px">'; |
| } | | } |
| else if (yb == 2) { | | else if (yb == 2) { |
| date.yb.value = "Ik"; | | date.yb.value = "Ik"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 3) { | | else if (yb == 3) { |
| date.yb.value = "Ak'bal"; | | date.yb.value = "Ak'bal"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 4) { | | else if (yb == 4) { |
| date.yb.value = "K'an"; | | date.yb.value = "K'an"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 5) { | | else if (yb == 5) { |
| date.yb.value = "Chikchan"; | | date.yb.value = "Chikchan"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 6) { | | else if (yb == 6) { |
| date.yb.value = "Kimi"; | | date.yb.value = "Kimi"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 7) { | | else if (yb == 7) { |
| date.yb.value = "Manik"; | | date.yb.value = "Manik"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 8) { | | else if (yb == 8) { |
| date.yb.value = "Lamat"; | | date.yb.value = "Lamat"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 9) { | | else if (yb == 9) { |
| date.yb.value = "Muluk"; | | date.yb.value = "Muluk"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 10) { | | else if (yb == 10) { |
| date.yb.value = "Ok"; | | date.yb.value = "Ok"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 11) { | | else if (yb == 11) { |
| date.yb.value = "Chuen"; | | date.yb.value = "Chuen"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 12) { | | else if (yb == 12) { |
| date.yb.value = "Eb"; | | date.yb.value = "Eb"; |
− | document.getElementById("tzolkinimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Eb.gif" width="64px">'; | + | document.getElementById("ybimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Eb.gif" width="64px">'; |
| } | | } |
| else if (yb == 13) { | | else if (yb == 13) { |
| date.yb.value = "Ben"; | | date.yb.value = "Ben"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 14) { | | else if (yb == 14) { |
| date.yb.value = "Ix"; | | date.yb.value = "Ix"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 15) { | | else if (yb == 15) { |
| date.yb.value = "Men"; | | date.yb.value = "Men"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 16) { | | else if (yb == 16) { |
| date.yb.value = "Kib"; | | date.yb.value = "Kib"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 17) { | | else if (yb == 17) { |
| date.yb.value = "Kaban"; | | date.yb.value = "Kaban"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 18) { | | else if (yb == 18) { |
| date.yb.value = "Etz'nab"; | | date.yb.value = "Etz'nab"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 19) { | | else if (yb == 19) { |
| date.yb.value = "Kawak"; | | date.yb.value = "Kawak"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| else if (yb == 0) { | | else if (yb == 0) { |
| date.yb.value = "Ajau"; | | date.yb.value = "Ajau"; |
− | document.getElementById("tzolkinimg").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="64px">'; |
| } | | } |
| | | |