var diferenciaConGTM=-6; 
function verHora(){ 
hoy=new Date(); 
hora=hoy.getHours(); 
hora=hora+(hoy.getTimezoneOffset()/60); 
hora=hora+diferenciaConGTM; 
if (hora>23){hora=hora-24} 
if (hora<0){hora=24+hora} 
minutos=hoy.getMinutes(); 
segundos=hoy.getSeconds(); 
horario=hora+":"+minutos; 
document.getElementById("reloj").innerHTML=horario ;} 
