Cambios

Busca en cnbGuatemala con Google

sin resumen de edición
Línea 210: Línea 210:  
kin=xdays-(uinal*20);
 
kin=xdays-(uinal*20);
 
date.kin.value=kin;
 
date.kin.value=kin;
  −
<!---- testing ----->
  −
if (kin==1) {date.kin.value ="1"; document.getElementById("kinimg").innerHTML= '<img src="http://cnbguatemala.org/images/0/01/Glifo_1.gif" width="64px">';}
  −
else if (kin==2) {date.kin.value ="2"; document.getElementById("kinimg").innerHTML= '<img src="http://cnbguatemala.org/images/0/01/Glifo_2.gif" width="64px">';}
  −
else if (kin==3) {date.kin.value ="3"; document.getElementById("kinimg").innerHTML= '<img src="http://cnbguatemala.org/images/4/43/Glifo_3.gif" width="64px">';}
  −
else if (kin==4) {date.kin.value ="4"; document.getElementById("kinimg").innerHTML= '<img src="http://cnbguatemala.org/images/7/79/Glifo_4.gif" width="64px">';}
  −
else if (kin>4) date.kin.value = "error";
  −
<!---- testing ----->
      
xdays=days-(260*(Math.floor(days/260)));
 
xdays=days-(260*(Math.floor(days/260)));