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

	str_hora = new String (hora)
	if (str_hora.length == 1) 
		hora = "0" + hora
		
	str_minuto = new String (minuto)
	if (str_minuto.length == 1) 
		minuto = "0" + minuto
	
	//horaImprimible = hora + " : " + minuto + " : " + segundo;
	horaImprimible = hora + ":" + minuto;
	
	//document.form_reloj.reloj.value = horaImprimible;
    document.getElementById("reloj").value = horaImprimible;
	
	setTimeout("mueveReloj()",1000)
}

mueveReloj();