// JavaScript Document
function mueveReloj(){
    momentoActual = new Date()
	
    hora = momentoActual.getHours()
    minuto = momentoActual.getMinutes()
    segundo = momentoActual.getSeconds()

    str_segundo = new String (segundo)
    if (str_segundo.length == 1)
       segundo = "0" + segundo

    str_minuto = new String (minuto)
    if (str_minuto.length == 1)
       minuto = "0" + minuto

    str_hora = new String (hora)
    if (str_hora.length == 1)
       hora = "0" + hora

    horaImprimible = hora + " : " + minuto + " : " + segundo

    document.form_reloj.reloj.value = horaImprimible

    setTimeout("mueveReloj()",1000)
	
	mueveReloj2();
}
function mueveReloj2(){
    momentoActual = new Date()

	tiempoGTM = momentoActual.getTime() + (momentoActual.getTimezoneOffset() * 70000)
	horaGTM = new Date(tiempoGTM)
	hora = horaGTM.getHours()
    minuto = momentoActual.getMinutes()
    segundo = horaGTM.getSeconds()
	
	
    str_segundo = new String (segundo)
    if (str_segundo.length == 1)
       segundo = "0" + segundo

    str_minuto = new String (minuto)
    if (str_minuto.length == 1)
       minuto = "0" + minuto

    str_hora = new String (hora)
    if (str_hora.length == 1)
       hora = "0" + hora
	
	
	
    horaImprimible = hora + " : " + minuto + " : " + segundo

    document.form_reloj2.reloj2.value = horaImprimible

    setTimeout("mueveReloj2()",1000)
}