function init() {
	el = document.getElementById("archived");
	if (el) el.innerHTML = "<span class=\"archivekop\">Let op! Deze pagina is gearchiveerd.</span><br><br>De inhoud van deze pagina kan gedateerd zijn. Deze pagina wordt niet meer onderhouden.";
}
function strpos( haystack, needle, offset){
    var i = (haystack+'').indexOf( needle, offset ); 
    return i===-1 ? false : i;
}
function moveme(location, delay) {
	if (delay < 1) { delay = 1; }
	setTimeout('movethis(\''+location+'\')',delay*1000)
}
function movethis(location) {
	window.location = location;
}
function mayIpop(url) {
	var mayI=window.confirm("U heeft op de onderstaande link geklikt, deze willen wij graag in een nieuw venster openen.\n\nVindt u dat goed?\n\nKlik annuleren om de link in het huidige venster te openen.\n\n"+url)
	if (mayI) {
		if (strpos(url, ".pdf", 4)) fullscreen(url)
		else window.open(url,'pop'+Math.floor(Math.random()*9999)) 
		return false;
	}
	else {
		return true;
	}
}
function xx(ii) {
	return String.fromCharCode(ii);
}
function mialLnik(user, domain, tld) {
	adr = user + xx(64) + domain + xx(46) + tld;
	return '<a href="mai'+'lto:'+adr+'">'+adr+'</a>';
}
function fullscreen(pagina) {
	if (navigator.appName == "Microsoft Internet Explorer"){ // better be ie6 at least
		window.open(pagina, '', 'fullscreen=yes, scrollbars=auto, resizable=yes').focus();
	}
	else { // i.e. if Firefox
		window.open(pagina, '', 'width=' + (screen.width-5) + ',height=' + (screen.height-30) + ', scrollbars=auto, resizable=yes, ').focus();
	}
}
function changekb(el) {
	if(el.value == 'Vul hier een zoekopdracht in...') {
		el.style.color = '#000000';
		el.value='';
	}
	else if(el.value == '') {
		el.style.color = '#888888';
		el.value='Vul hier een zoekopdracht in...';
	}
	else {
		el.style.color = '#000000';
	}
}