
function Reloj(){
    var TxtHora
    Hora = Hoy.getHours()
    Minutos = Hoy.getMinutes()
    Segundos = Hoy.getSeconds()
    if (Hora<=9) Hora = "0" + Hora
    if (Minutos<=9) Minutos = "0" + Minutos
    if (Segundos<=9) Segundos = "0" + Segundos


    TxtHora = Hora + ":" + Minutos + ":" + Segundos
    document.getElementById('reloj').innerHTML = TxtHora
    Hoy.setSeconds(Hoy.getSeconds() +1)
    setTimeout("Reloj()",1000)
}

