 function validarRegistroMensaje(form){
	 
   //validar nombres
   if(form.nombres.value=='')
   {
     alert('Debe Ingresar Su Nombre');        	   
	 form.nombres.focus();
	 return false;
   }
   
   
   if(form.email.value=='')
   {
     alert('Debe Proporcionarnos su Correo Electrónico');        	   
	 form.email.focus();
	 return false;
   }
   else{
	      if(!validaCorreo(form.email.value)){
			  
			  alert('Correo Electrónico Invalido, vuelva a Escribir');
			  form.email.focus();
			  
			  return false;
			  }
	   
	   }
   
 //validar ciudad
   
   if(form.ciudad.value=='')
   {
     alert('Debe Ingresar el Nombre de su Ciudad');        	   
	 form.ciudad.focus();
	 return false;
   }
 
 
 
 
 //validar pais
   
   if(form.pais.value=='')
   {
     alert('Debe Ingresar el Nombre de su País de Origen');        	   
	 form.pais.focus();
	 return false;
   }
 
 //validar email
   
   
	   
	   
	   //validar testimonio
   
   if(form.comentario.value=='')
   {
     alert('mesaje vacio, incorrecto!');        	   
	 form.comentario.focus();
	 return false;
   }
   
   return true;
   
 }
 
 
 ////////////////////////////////////////////////

function validarOpinion(form){
  
  if(form.nombre.value=='')
  {
     alert('debe ingresar su Nombre Para Poder Identificarse');
	 form.nombre.focus();
	 return false;
  }
  if(form.email.value=='')
  {
     alert('Necesita Ingresar su E=mail');
	 form.email.focus();
	 return false;
  }
  else{
  
    if(!validaCorreo(form.email.value))
	{
	  alert('Mail Incorrecto');
	  form.email.focus();
	  return false;
	}
  }
  
  if(form.pais.value=='')
  {
     alert('debe ingresar el Nombre de País de Procedencia');
	 form.pais.focus();
	 return false;
  }
  
  if(form.mensaje.value=='')
  {
     alert('Deje Su Comentario');
	 form.mensaje.focus();
	 return false;
  }
  
  return true;
}

