	var quotes = new Array();
	quotes[0] = "<strong>Vroeger maakten boerinnen kaas op de boerderij;</strong> vanaf de 19e eeuw gebeurde dat steeds vaker in kaasfabrieken.";
	quotes[1] = "<strong>Nederlanders eten nog altijd het liefst een boterham met kaas als ontbijt.</strong>. ";
	quotes[2] = "<strong>In de Middeleeuwen kregen de Hollanders de bijnaam &uml;Kaaskoppen&uml;</strong>, omdat er vanuit Amsterdam zoveel kaas verhandeld werd.";
	quotes[3] = "<strong>Van tien liter melk maak je 1 kilo kaas</strong>.";



	function doCheckContactform() {
		var strErrorDefault = "U bent vergeten om uw ";
		var strError = strErrorDefault;
		
		if ($('#input-firstname').val() == "") {
			strError += "voornaam";
		}
	
		if ($('#input-lastname').val() == "") {
			if (strError == strErrorDefault) {
				strError += "achternaam";
			}
			else {
				strError += ", achternaam";
			}
		}
	
		if ($('#input-email').val() == "") {
			if (strError == strErrorDefault) {
				strError += "e-mailadres";
			}
			else {
				strError += ", e-mailadres";
			}
		}
		
		if ($('#input-question').val() == "") {
			if (strError == strErrorDefault) {
				strError += "vraag";
			}
			else {
				strError += ", vraag";
			}
		}
		
		if (strError != strErrorDefault) {
			strError += " in te vullen.";
			$('#form-error').html('<br />' + strError);
			$('#form-error').fadeIn(1000);
		}
		else {
			$('#contact-form').submit();
		}	
	}
$(document).ready(function(){
	doQuote();
});

function doQuote() {
	el = "" + $("#quote-box").attr('id');
	if(el == "quote-box"){
	$("#quote-box").hide();
	
	setTimeout("$('#quote-box').html(quotes[parseInt(Math.random() * quotes.length)])", 300);
	
	setTimeout("$('#quote-box').show()", 400);
	
	setTimeout("doQuote()", 5000);
	}
}
