function enviar()
 {
 
  if ( (document.mail.Inp_Empresa.value.length>0) &&
       (document.mail.Inp_Direccion.value.length>0) &&
	   (document.mail.Inp_Telefono.value.length>0) &&
	   (document.mail.Inp_PersonaContacto.value.length>0) &&
	   (document.mail.Inp_CodigoPostal.value.length>0) &&
	   (document.mail.Inp_Email.value.length>0) )	   
  {	  		
  		
  		if( (document.mail.Inp_Email.value.indexOf("@")!=-1)&&
		    (document.mail.Inp_Email.value.indexOf(".")!=-1) )
  		{  		
  			document.mail.submit();  			
  		}
  		else
  		{
  			alert("Dirección de correo electrónico incorrecta. Ej: nombre@dominio.com");
  		}
		  	
  }
  else
  {
  	alert("Faltan campos por rellenar.");
  }
  
 }