function mutimer(){now=new Date(); h=now.getHours(); i=now.getMinutes(); s=now.getSeconds(); if (h<10) h='0'+h; if (i<10) i='0'+i; if (s<10) s='0'+s; cad=h+':'+i+':'+s; document.getElementById('hora').innerHTML=cad; setTimeout('mutimer()',1000);} setTimeout('mutimer();',1000);
/* si no funciona el reloj, darle 2000 o 4000ms para que dé tiempo a que se cargue el SPAN que lo contiene*/
