function checkForm(){
	checkNotEmpty=new Array("email");

	for(i=0;i< checkNotEmpty.length;i++){
		if($F(checkNotEmpty[i])==""){
			alert("U heeft niet alle velden ingevoerd!");
			return false;
		}
	}
		
	if(!validEmail($F('email'))){
		alert("Uw email adres is niet juist ingevoerd!");
		return false;
	}
	
	return true;
}

initWWForm= function(){
	if($('wwform')){
		$('wwform').onsubmit=checkForm;
	}
}

Event.observe(window, 'load', initWWForm, false);