// JavaScript Document
function Controle(theForm)
{
 
if (theForm.naam.value == "")
  {
	alert("Gelieve uw naam in te vullen");
	theForm.naam.focus();
	return (false);
  }
 
  if (theForm.functie.value == "")
	{
	  alert("Gelieve uw functie in te vullen");
	  theForm.functie.focus();
	  return (false);
  }
 
 if (theForm.bedrijf.value == "")
   {
 	alert("Gelieve uw bedrijf / organisatie in te vullen");
 	theForm.bedrijf.focus();
 	return (false);
  }
 
 if (theForm.type.value == "")
    {
  	alert("Gelieve het type bedrijf / organisatie in te vullen");
  	theForm.type.focus();
  	return (false);
  }
 
 if (theForm.pc.value == "")
   {
	alert("Gelieve het aantal servers in uw bedrijf / organisatie in te vullen");
	theForm.pc.focus();
	return (false);
  }
 
  if (theForm.adres.value == "")
  {
	alert("Gelieve het adres in te vullen");
	theForm.adres.focus();
	return (false);
  }
 
if (theForm.postcode.value == "")
  {
	alert("Gelieve de postcode in te vullen");
	theForm.postcode.focus();
	return (false);
  }
 
  if (theForm.plaats.value == "")
	{
	  alert("Gelieve de plaats in te vullen waar uw bedrijf / organisatie is gevestigd");
	  theForm.plaats.focus();
	  return (false);
  }
 
if (theForm.tel.value == "")
  {
	alert("Gelieve uw telefoonnummer in te vullen");
	theForm.tel.focus();
	return (false);
  }
 
 if (theForm.email.value == "")
  {
	alert("Gelieve uw e-mailadres in te vullen");
	theForm.email.focus();
	return (false);
  }
 
  if (theForm.email.value.length < 6 )
  {
	alert("Gelieve een correct e-mailadres in te vullen");
	theForm.email.focus();
	return (false);
  }
 
  if (theForm.email.value.indexOf('@', 0) == -1)
  {
	alert("Gelieve een correct e-mailadres in te vullen");
	theForm.email.focus();
	return (false);
  }
 
  if (theForm.email.value.indexOf('.') == -1)
  {
	alert("Gelieve een correct e-mailadres in te vullen");
	theForm.email.focus();
	return (false);
  }
 
  if (theForm.email.value.length > 65)
  {
	alert("Gelieve een correct e-mailadres in te vullen");
	theForm.email.focus();
	return (false);
  }
 
 
  return (true);
}
