function muestraMensaje(){ if(httpRequest.readyState==4){ if(httpRequest.Status==200){ document.myForm.time.value = httpRequest.responseText; } } }