function Validar()
{ 
  if (document.forma.nombre.value == "")
  { alert("Field Name is Required"); document.forma.nombre.focus(); return (false); }
  
  if (document.forma.apellido.value == "")
  { alert("Field Lastname is Required"); document.forma.apellido.focus(); return (false); }  
  
  if (document.forma.ciudad.value == "")
  { alert("Field City is Required"); document.forma.ciudad.focus(); return (false); }    

if ((document.forma.correo.value.indexOf ('@', 0) == -1)||(document.forma.correo.value.length < 5)) 
   {
    alert("Type a correct email address");
    document.forma.correo.focus(); return (false);
   }
   
  if (document.forma.comentario.value == "")
  { alert("Field Comment is Required"); document.forma.comentario.focus(); return (false); }       
   
    document.forma.submit();
  
}

function Limpiar()
{ 
  document.forma.reset();
}