// JavaScript Document
//validar correo
function validarEmail(valor) {
  if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(valor)){
   //alert("La dirección de email " + valor    + " es correcta.");
   return (true);
  } else {
   //alert("La dirección de email es incorrecta.");
   return (false);
  }
 }
