Línea 239: |
Línea 239: |
| | | |
| | | |
| + | else if (tzolradical == 0) { |
| + | date.tzolrad.value = "0"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/f4/Glifo_0.gif" width="64px">'; |
| + | } |
| if (tzolradical == 1) { | | if (tzolradical == 1) { |
| date.tzolrad.value = "1"; | | date.tzolrad.value = "1"; |
Línea 246: |
Línea 250: |
| date.tzolrad.value = "2"; | | date.tzolrad.value = "2"; |
| document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Glifo_2.gif" width="64px">'; | | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/01/Glifo_2.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 3) { |
| + | date.tzolrad.value = "3"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/43/Glifo_3.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 4) { |
| + | date.tzolrad.value = "4"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/7/79/Glifo_4.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 5) { |
| + | date.tzolrad.value = "5"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/0/0f/Glifo_5.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 6) { |
| + | date.tzolrad.value = "6"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/a3/Glifo_6.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 7) { |
| + | date.tzolrad.value = "7"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/2/27/Glifo_7.gif" width="64px">'; |
| } | | } |
| else if (tzolradical == 8) { | | else if (tzolradical == 8) { |
Línea 251: |
Línea 275: |
| 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="64px">'; |
| } | | } |
| + | else if (tzolradical == 9) { |
| + | date.tzolrad.value = "9"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/3/3d/Glifo_9.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 10) { |
| + | date.tzolrad.value = "10"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/9/96/Glifo_10.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 11) { |
| + | date.tzolrad.value = "11"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/a6/Glifo_11.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 12) { |
| + | date.tzolrad.value = "12"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/4/42/Glifo_12.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 13) { |
| + | date.tzolrad.value = "13"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/e/e5/Glifo_13.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 14) { |
| + | date.tzolrad.value = "14"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/5d/Glifo_14.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 15) { |
| + | date.tzolrad.value = "15"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/f/fe/Glifo_15.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 16) { |
| + | date.tzolrad.value = "16"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/8/87/Glifo_16.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 17) { |
| + | date.tzolrad.value = "17"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/a/af/Glifo_17.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 18) { |
| + | date.tzolrad.value = "18"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/5/5f/Glifo_18.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical == 19) { |
| + | date.tzolrad.value = "19"; |
| + | document.getElementById("tzolradimg").innerHTML = '<img src="http://cnbguatemala.org/images/c/c0/Glifo_19.gif" width="64px">'; |
| + | } |
| + | else if (tzolradical > 19) date.tzolrad.value = "error"; |
| | | |
| | | |