function ValidateFormatieForm(e){
	if(!IsValid(e)){
		alert('Het formulier is niet verzonden, omdat niet alle gegevens correct zijn ingevuld');
		return false;
	}
};

function initBestellen(){
	$("#BestellenForm").validate({ errorElement: "title" });
	$("#submitBestellenForm").click(
		function(){
			if($("#BestellenForm").valid()){
				$("#BestellenForm").submit();
			}
		}
	);
};
$(document).ready(function() {
	initBestellen();
});
