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


	hora = hora.toString();
	if (hora.length == 1) hora = "0" + hora;

	minuto = minuto.toString();
	if (minuto.length == 1) minuto = "0" + minuto;


	segundo = segundo.toString();
	if (segundo.length == 1) segundo = "0" + segundo;

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

	document.getElementById('mi_reloj').innerHTML = horaImprimible;

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