// JavaScript Document
function letras(e)
{
tecla = (document.all) ? e.keyCode : e.which; 
if (tecla==8 || tecla==0) return true; 
patron =/[A-Za-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s\\t]/; 
te = String.fromCharCode(tecla);
return patron.test(te);
} 


function recuperar(){
var nombre=document.getElementById('nombre').value;
var correo=document.getElementById('correo').value;
var observaciones=document.getElementById('observaciones').value;
var enlace=document.getElementById('enlace').value;

var url="http://www.viajesmazzocco.net/includes_correo/enviar_correo.php?nombre="+nombre+"&correo="+correo+"&observaciones="+observaciones+"&enlace="+enlace;

var errores="";
  if(nombre=="") errores=errores+"Debes ingresar datos en el campo: Nombre\n";
  if(correo.indexOf('@', 0)==-1 || correo.indexOf('.', 0)==-1 )errores=errores+"Debes ingresar un correo valido\n";
    	
 if(errores=="") {
     abreSeccion(url,'mensaje01'); 
 }    
 else alert(errores);
}
