var OverheidNl={};OverheidNl.init=function(){try{EdenLib.debug=true;OverheidNl.voegInfoPopupToe();}catch(ex){EdenLib.errHandler(ex);};};OverheidNl.voegInfoPopupToe=function(){var infoParagraphs=EdenLib.getElementsByClassName("informatie-popup","p",document.getElementById("Inhoud"));var infoPopUp=document.createElement("div");infoPopUp.id="informatie-popup";document.getElementsByTagName("body")[0].appendChild(infoPopUp);EdenLib.addToClassName(document.getElementById("informatie-popup"),"no-css");for(var i=0;i<infoParagraphs.length;i++){var infoP=infoParagraphs[i];var infoA=document.createElement("a");infoA.className="informatie-knop";infoA.href="#";infoA.showInfo=infoP;infoP.parentNode.appendChild(infoA);EdenLib.addToClassName(infoP,"no-css");infoA.showPopUp=function(ref){document.getElementById("informatie-popup").innerHTML=ref.showInfo.innerHTML;var xPos=EdenLib.findElementPosition(ref)[0];var yPos=EdenLib.findElementPosition(ref)[1];document.getElementById("informatie-popup").style.top=yPos+"px";document.getElementById("informatie-popup").style.left=(xPos+12)+"px";EdenLib.removeClassName(document.getElementById("informatie-popup"),"no-css");return false;};infoA.onclick=function(){this.blur();return false;};infoA.onmouseover=function(){this.showPopUp(this);};EdenLib.eventCache.add(infoA,"onmouseover",function(){this.showPopUp(this);},false);infoA.onmouseout=function(){EdenLib.addToClassName(document.getElementById("informatie-popup"),"no-css");};EdenLib.eventCache.add(infoA,"onmouseout",function(){EdenLib.addToClassName(document.getElementById("informatie-popup"),"no-css");},false);};};EdenLib.addEvent(window,"load",OverheidNl.init);