function verifica(valor) {


texto=valor.replace(/^\s+/g,"");
texto=texto.replace(/$\s+/g,"");

if (texto!="") {return true;}
return false;

}

function verificacorreo(dato) {

correo=new Array;
dato=dato.replace(/^\s+||$\s+/,"");
patroncorreo=/\w+(\.\w+)*\@\w{3,}(\.\w{2,})+/

correo=dato.match(patroncorreo);

if (correo==null){return false;}

return correo[0];

}
