// JavaScript Document
function controle() {
if  (document.Form.Naam.value==""){
	window.alert("U bent vergeten uw naam in te vullen")
	document.Form.Naam.focus();
	return false
	}
	if(document.Form.Organisatie.value==""){
	window.alert("U bent vergeten de naam van uw organisatie in te vullen")
	document.Form.Organisatie.focus();
	return false
	}
	if(document.Form.Email.value==""){
	window.alert("U bent vergeten uw e-mailadres in te vullen")
	document.Form.Email.focus();
	return false
	}
	else if (!CheckEmail(document.Form.Email.value)) {
			alert('U dient een geldig email adres te gebruiken!');
			document.Form.Email.focus();
			return false
		}
		else {
		window.location="inforeactie.asp";
		}
	}
	
	function CheckEmail(sAddress) {
		var bOk = true;
		var iPos = 0;
		
		iPos = sAddress.indexOf("@")
		
		if(iPos > 0) {
			if(sAddress.indexOf(".", iPos) < iPos)
				bOk = false;
		}
		else
			bOk = false;
			
		return bOk;
	}
	
	
