
<!--
muestraReloj();

function muestraReloj()
{
Stamp = new Date();

if (!document.layers && !document.all && !document.getElementById) return;
var fechacompleta = new Date() ;
var horas = fechacompleta. getHours() ;
var minutos = fechacompleta. getMinutes() ;
var segundos = fechacompleta. getSeconds() ;
var mt ="AM";
if (horas > 12) {
mt ="PM";
horas = horas - 12;
}
if (horas == 0) horas = 12;
if (minutos <= 9) minutos = "0" + minutos;
if (segundos <= 9) segundos = "0" + segundos;

var year=Stamp.getYear();
if(100<year)
{year+=1900}

fuikasreloj = "<div id='date'>" + Stamp.getDate() +"/"+(Stamp.getMonth() + 1)+ "/"+(Stamp.getFullYear()) + '</div><div id="time">' + horas + ":" + minutos + ":" + segundos + " " + mt + "</div>";
if (document.layers) {
document.layers.time_date.document.write(fuikasreloj);
document.layers.time_date.document.close();
}
else if (document.all) time_date.innerHTML = fuikasreloj;
else if (document.getElementById)
try {
document.getElementById("time_date").innerHTML = fuikasreloj;
} catch (e) {

}
setTimeout ("muestraReloj()", 1000);
}