var menuactief = 0;
function toonMenu(pMenu) {
	for(i=1;i<=5;i++) {
		if (i != menuactief) {
			document.getElementById("menu"+i).style.visibility='hidden';	
			document.getElementById("blok"+i).style.visibility='visible';	
		}
	}
	if (pMenu > 0) {
		document.getElementById("menu"+pMenu).style.visibility='visible';	
		document.getElementById("blok"+pMenu).style.visibility='hidden';	
	}
}

document.observe("dom:loaded", function() { 
	if($('searchTems') != undefined)
		$('searchTerms').value = 'Zoektermen...';	
});

/*
window.onload = function(event){
	if (!getCookie('startup')) {
	    setCookie('startup', '1', 365)
	}
	
	if (getCookie('startup') == '1') {
	    showKeuzescherm();
	}
}

function setCookie(NameOfCookie, value, expiredays){
    var ExpireDate = new Date();
    ExpireDate.setTime(ExpireDate.getTime() + (expiredays * 24 * 3600 * 1000));
    document.cookie = NameOfCookie + "=" + escape(value) + ((expiredays == null) ? "" : "; expires=" + ExpireDate.toGMTString());
}

function getCookie(NameOfCookie){
    if (document.cookie.length > 0) {
        begin = document.cookie.indexOf(NameOfCookie + "=");
        if (begin != -1) {
            begin += NameOfCookie.length + 1;
            end = document.cookie.indexOf(";", begin);
            if (end == -1) 
                end = document.cookie.length;
            return unescape(document.cookie.substring(begin, end))
        }
    }
    return false;
}

function showKeuzescherm()
{
    document.getElementById('fullscreen').style.display = 'block';
	document.getElementById('full-content').style.display = 'none';	
}
*/

