$(document).ready(function()
{
	$('form').submit(submit_contactform);
});

function submit_contactform()
{
	$.post(this.action,{
		naam: $('input[name="naam"]',this).val(),
		email: $('input[name="email"]',this).val(),
		telefoon: $('input[name="telefoon"]',this).val(),
		bericht: $('textarea[name="bericht"]',this).val()
	},function(result) {
		$("."+result,"#form_result").fadeIn("slow");
	});
	
	return false;
}
