var linea="____________________________________________________________________"




function verificar()
{
	var res="true";
	var texto="";
  var nombre="";
	
  if(document.formu.nombre.value=="")
  { 
   texto=texto+" Name,";  
   res="false";
  }
  
    if(document.formu.apellidos.value=="")
    {
    texto=texto+" Surname,";
    res="false";
    }
    
   
      if(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.formu.email.value))
      {
      	res="true";
      }
      else
      	{       	
        texto=texto+" E-mail.";
        res="false";
        }
 			
      
      if(document.formu.pais.options[document.formu.pais.selectedIndex ].text=="Select Country")
{
nombre="- Select Country";
res="false";
}

if(res=="false")
{
  alert(linea+"\n"+"The Form was not sent because the following mistakes were detected:\n"+ "- The following obligatory fields are empty:" +texto+"\n"+nombre+"\n"+linea+"\n"+"Please, Correct and turn to pulsate \"Send\"");
  res="true";
  texto="";
  nombre="";
  
 return false;

}
else
	{
	return true;
	}

}


function vermail(valor) {
  if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(valor))
    {
    return false;
    } 
  else 
   {
   return true;
 	 }
}