function CheckOptions(formfield,count) {
	var total = 0;
	for (var i = 0 ; i < formfield.options.length ; i++) {
		if (formfield.options[i].selected) {
			total++;
		}
		if (total > count) {
			alert('OPMERKING:\nU kunt maar '+ count +' opties kiezen! \'' + formfield.options[i].text + '\' is uit de lijst gehaald.')
			formfield.options[i].selected = false;
			return false;
			break;
		}	
	}
}