/**
 * Applitech Website
 * Copyright © 2008-2009 Maarten Hogenboom, Venema Advies
 * Pagina js/javascript.js
 */

function submitButton(pressedButton) {
	submitForm(pressedButton);
}

function submitForm(pressedButton) {
	document.form.action.value = pressedButton;
	try {
		document.form.onsubmit();
	}
	catch(e) {}
	document.form.submit();
}

function confirmSubmit(confirmMessage) {
	var agree = confirm(confirmMessage);
	if (agree) {
		return true;
	} else {
		return false;
	}
}
