// JavaScript Document
<!--

 
function check()
{
  var checked=true;
  var pattern=/.*\@.*\..*/;
  		
       if (checked)
	  {
	    if (document.sendform.naam.value=="")
        {
		  document.sendform.naam.focus();
		  document.sendform.naam.select();
          alert ("Vul a.u.b. uw naam in.");
          checked=false;
        }
	  }
	  
	   if (checked)
	  {
	    if (document.sendform.plaats.value=="")
        {
		  document.sendform.plaats.focus();
		  document.sendform.plaats.select();
          alert ("Vul a.u.b. uw woonplaats in.");
          checked=false;
        }
	  }
	  
	   if (checked)
	  {
	    if (document.sendform.telefoon.value=="")
        {
		  document.sendform.telefoon.focus();
		  document.sendform.telefoon.select();
          alert ("Vul a.u.b. uw telefoonnummer in.");
          checked=false;
        }
	  }
	  
	  if (checked)
	  {
	    if ((pattern.test(document.sendform.email.value))==false)
        {
		  document.sendform.email.focus();
		  document.sendform.email.select();
          alert ("Vul a.u.b. een geldig e-mailadres in.");
          checked=false;
        }
	  }

       if (checked)
	  {
	    if (document.sendform.email.value=="")
        {
		  document.sendform.email.focus();
		  document.sendform.email.select();
          alert ("Vul a.u.b. een geldig e-mailadres in.");
          checked=false;
        }
	  }
       
	   
	   if (checked)	   
	  {
	    if (document.sendform.captcha_code.value=="")
        {
		  document.sendform.captcha_code.focus();
		  document.sendform.captcha_code.select();
          alert ("Neem a.u.b. de tekens op de afbeelding over");
          checked=false;
        }
	  }
	   
	   
		if (checked)
  {
    document.sendform.method="POST";
    document.sendform.action="http://www.hemmeland.nl/formulieren/ligplaatsen_email.php";
	document.sendform.submit;
  }
  return checked;
}

function MM_popupMsg(msg) { //v1.0
  alert(msg);
}
//-->


