function togglefact(tf_optie) {
	document.kassa.fact_bedrijf.disabled= tf_optie;
	document.kassa.fact_voornaam.disabled= tf_optie;
	document.kassa.fact_achternaam.disabled= tf_optie;

	document.kassa.fact_postcode.disabled= tf_optie;
	document.kassa.fact_plaats.disabled= tf_optie;
	document.kassa.fact_aadres.disabled= tf_optie;
}
function submit_kassa_check(Formulier) {
	var message = "";
	var showAlert = false;
	var strFocus = "";

	if(Formulier.afl_voornaam.value == "" || Formulier.afl_achternaam.value == "" || Formulier.afl_adres.value == "" || Formulier.afl_postcode.value == "" || Formulier.afl_plaats.value == "" || Formulier.afl_telefoon.value == "" || Formulier.afl_email.value == "") {
		message = message + "\nGegevens Afleveradres:\n";
	}

	if(Formulier.afl_voornaam.value == "") {
		message = message + "- Voornaam\n";
		if (!showAlert) {
			strFocus = "afl_voornaam";
			showAlert = true;
		}
	}
	if(Formulier.afl_achternaam.value == "") {
		message = message + "- Achternaam\n";
		if (!showAlert) {
			strFocus = "afl_achternaam";
			showAlert = true;
		}
	}
	if(Formulier.afl_adres.value == "") {
		message = message + "- Adres\n";
		if (!showAlert) {
			strFocus = "afl_adres";
			showAlert = true;
		}
	}
	if(Formulier.afl_postcode.value == "") {
		message = message + "- Postcode\n";
		if (!showAlert) {
			strFocus = "afl_postcode";
			showAlert = true;
		}
	}
	if(Formulier.afl_plaats.value == "") {
		message = message + "- Plaats\n";
		if (!showAlert) {
			strFocus = "afl_plaats";
			showAlert = true;
		}
	}
	if(Formulier.afl_telefoon.value == "") {
		message = message + "- Telefoon\n";
		if (!showAlert) {
			strFocus = "afl_telefoon";
			showAlert = true;
		}
	}
	if(Formulier.afl_emailadres.value == "") {
		message = message + "- E-mail adres\n";
		if (!showAlert) {
			strFocus = "afl_emailadres";
			showAlert = true;
		}
	}

	if(Formulier.fact_voornaam.disabled != true) {
		message = message + "\nGegevens Factuuradres:\n";

		if(Formulier.fact_voornaam.value == "") {
			message = message + "- Voornaam\n";
			if (!showAlert) {
				strFocus = "fact_voornaam";
				showAlert = true;
			}
		}
		if(Formulier.fact_achternaam.value == "") {
			message = message + "- Achternaam\n";
			if (!showAlert) {
				strFocus = "fact_achternaam";
				showAlert = true;
			}
		}
		if(Formulier.fact_aadres.value == "") {
			message = message + "- Adres\n";
			if (!showAlert) {
				strFocus = "fact_aadres";
				showAlert = true;
			}
		}
		if(Formulier.fact_postcode.value == "") {
			message = message + "- Postcode\n";
			if (!showAlert) {
				strFocus = "fact_postcode";
				showAlert = true;
			}
		}
		if(Formulier.fact_plaats.value == "") {
			message = message + "- Plaats\n";
			if (!showAlert) {
				strFocus = "fact_plaats";
				showAlert = true;
			}
		}
	}
	if(Formulier.voorwaarden.checked != true) {
		message = message + "\nU dient de algemene voorwaarden te accepteren.";
	}

	if (showAlert) {
		message = "U dient ook de volgende velden in te vullen:\n" + message;

		alert(message);
		eval("Formulier." + strFocus + ".focus()");
		return false;
	}
	else {
		return true;
	}
}