	function fctControle(theForm)
	{
		
		if(theForm.Naam.value.length < 1)
		  {
			alert("gelieve uw naam in te vullen");
			theForm.Naam.focus();
			theForm.Naam.select();
			return (false);
		  }
		if(theForm.Voornaam.value.length < 1)
		  {
			alert("gelieve uw voornaam in te vullen");
			theForm.Voornaam.focus();
			theForm.Voornaam.select();
			return (false);
		  }
		  
		if(theForm.Adres.value.length < 1)
		  {
			alert("gelieve uw adres in te vullen");
			theForm.Adres.focus();
			theForm.Adres.select();
			return (false);
		  }
		
		

		  
		  if(theForm.Stad.value.length < 1)
		  {
			alert("gelieve uw stad in te vullen");
			theForm.Stad.focus();
			theForm.Stad.select();
			return (false);
		  } 
		  

		  
		  if(theForm.Email.value.length < 1)
		  {
			alert("gelieve uw emailadres in te vullen");
			theForm.Email.focus();
			theForm.Email.select();
			
			return (false);
		  }
		 
		  if(theForm.Email.value.length > 0)
		  {
			return fctControleEmail();
		  }
		return (true);	
	}
	
	function fctFormatEmail(Email)
	{
		if ((Email.indexOf('@',0)==-1) || (Email.indexOf('.',0)==-1))
		{
		return false;
		}
		else
		{
		return true;
		}
	}

	function fctControleEmail()
	{
	strEmail = document.frm1.Email.value;
	if(strEmail.length > 0)
	{
	if (fctFormatEmail(strEmail)==false)
	{
	alert("Het emailadres dat u invulde, is niet correct. Gelieve dit te corrigeren");
	document.frm1.Email.focus();
	return (false);
	}
	}
	}