function Validator(theForm)
{

if (theForm.kantoor.value=='')
   {
   alert("Wat is uw bedrijfsnaam?");
   theForm.kantoor.focus();
   return (false);
   }

if (theForm.adres.value=='')
   {
   alert("Wat is uw adres?");
   theForm.adres.focus();
   return (false);
   }

if (theForm.plaats.value=='')
   {
   alert("Wat is uw plaatsnaam?");
   theForm.plaats.focus();
   return (false);
   }

if (theForm.naam.value=='')
   {
   alert("Wat is uw naam?");
   theForm.naam.focus();
   return (false);
   }

if (theForm.telefoon.value=='')
   {
   alert("Wat is uw telefoonnummer?");
   theForm.telefoon.focus();
   return (false);
   }

if (theForm.website.value=='')
   {
   alert("Wat is het adres van uw website?");
   theForm.website.focus();
   return (false);
   }

if (theForm.email.value=='')
   {
   alert("Wat is uw e-mailadres?");
   theForm.email.focus();
   return (false);
   }

if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(theForm.email.value))
   {
   return (true)
   }  alert("U dient een geldig e-mailadres in te vullen");
   theForm.email.focus();
return (false)
  }
