function checkform() {
	var fout = false;
	var foutmelding = "";
	var title = false;
	for (var idx=0; idx < document.contact.title.length; idx++) {
		title = document.contact.title[idx].checked;
		if (title) break;
	}
	if (document.contact.yourname.value == "") {
		fout = true;
		foutmelding = foutmelding + "Your name has not been filled in.\n";
	}
	if (!title) {
		fout = true;
		foutmelding = foutmelding + "Please select a value for title.\n";
	}
	if (document.contact.company.value == "") {
		fout = true;
		foutmelding = foutmelding + "Company has not been filled in.\n";
	}
	if (document.contact.address.value == "") {
		fout = true;
		foutmelding = foutmelding + "Address has not been filled in.\n";
	}
	if (document.contact.city.value == "") {
		fout = true;
		foutmelding = foutmelding + "City has not been filled in.\n";
	}
	if (document.contact.country.value == "") {
		fout = true;
		foutmelding = foutmelding + "Country has not been filled in.\n";
	}
	if (document.contact.phone.value == "") {
		fout = true;
		foutmelding = foutmelding + "Telephone number has not been filled in.\n";
	}
	if (document.contact.contactemail.value == "") {
		fout = true;
		foutmelding = foutmelding + "Your email address has not been filled in.\n";
	}
	if (document.contact.question.value == "") {
		fout = true;
		foutmelding = foutmelding + "Your message has not been filled in.\n";
	}

	if (fout) {
		alert("Please correct the following errors:\n" + foutmelding);
		return false;
	} else {
		return true;
	}
}