if(document.getElementById){

	// Na hoeveel seconden moet het scherm verdwijnen? 0 om uit te schakelen
	var gone = 0;
	// ID van de div met de splash pagina?
	var splashMe = 'splash';
	// ID van het element dat de splash kan doen sluiten (de 'link' dus)
	var closeMe = 'splashClick';
	// Welke naam moet de cookie krijgen?
	var cookieName = 'splashScreen';
	// Hoeveel minuten mag de splashpagina niet meer getoond worden na het eerste bezoek?
	var cookieTime = 21600;

	/////////////////////////////////////////////////////////////////////////////////
	// Leave me alone now, I must work!//////////////////////////////////////////////
	/////////////////////////////////////////////////////////////////////////////////
	var theDate = new Date();
	var theMinutes = theDate.getMinutes() + cookieTime;
	theDate.setMinutes(theMinutes);
	var theTime = theDate.toGMTString();

	// Functie om de cookie te lezen, met dank aan PPK!
	function readCookie(name) {
		var nameEQ = name + "=";
		var ca = document.cookie.split(';');
		for(var i=0;i < ca.length;i++) {
			var c = ca[i];
			while (c.charAt(0)==' ') c = c.substring(1,c.length);
			if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
		}
		return null;
	}

	function setCookie(name) {
		document.cookie = cookieName + '=' + name + '; expires=' + theTime + '; path=/';
	}

	if(readCookie(cookieName) == 'nl'){ document.location.href ='php/about_nl.php'; }
	if(readCookie(cookieName) == 'en'){ document.location.href ='php/about_en.php'; }
}