function closeHms(){$(".hms-banner").remove(),writeCookie("closeHms",!0,365)}function giveConsent(){$("#cookieconsent").remove(),writeCookie("cookieConsent",!0,365)}function readCookie(n){for(var t,u=n+"=",r=document.cookie.split(";"),i=0;i0?(t=$("#bcoverview").height(),n=$(".bottomcolumn:visible:last",$("#bottomleft")).height()+$(".bottomcolumn:visible:last",$("#bottomleft")).position().top,n=n-$("#bcoverview").position().top,console.log(t),console.log(n),u=182,t>n&&(contentFilled=!0,i=(t-n)/u,console.log(i),r=0,$(".extracontent").each(function(){r+=1,r>> "+t),n-50>t&&$("a:last",$("#fillercontent")).remove(),correctExtraContent())):correctExtraContent()}function correctExtraContent(){var t=$("#bcoverview").height(),n=$(".bottomcolumn:visible:last",$("#bottomleft")).height()+$(".bottomcolumn:visible:last",$("#bottomleft")).position().top;n=n-$("#bcoverview").position().top,n-50>t&&($("a:last",$("#fillercontent")).remove(),n=$(".bottomcolumn:visible:last",$("#bottomleft")).height()+$(".bottomcolumn:visible:last",$("#bottomleft")).position().top,n=n-$("#bcoverview").position().top,n-50>t&&($("a:last",$("#fillercontent")).remove(),n=$(".bottomcolumn:visible:last",$("#bottomleft")).height()+$(".bottomcolumn:visible:last",$("#bottomleft")).position().top,n=n-$("#bcoverview").position().top,n-50>t&&$("a:last",$("#fillercontent")).remove(),n=$(".bottomcolumn:visible:last",$("#bottomleft")).height()+$(".bottomcolumn:visible:last",$("#bottomleft")).position().top,n=n-$("#bcoverview").position().top,n-50>t&&$("a:last",$("#fillercontent")).remove()))}function sticker(){if(console.log("createsticker"),$("#stickycontents").length==0)return!1;var n=$("#topcontent").stickem({stickClass:"stickit2",endStickClass:"stickit2",onUnstick:function(){$("#stickycontents").length>0&&$(".stickem").css("top","0px"),console.log("onUnstick"),setExtraContent()},onStick:function(){console.log("stick"),$(window).scroll(function(){$(window).width()>1023&&scrollSticker();try{$("#bcoverview").offset().top<$(window).scrollTop()+200&&setExtraContent()}catch(n){}})}});console.log("createdsticker")}function scrollSticker(){var t,n;if($("#content").length==0&$("#bcov").length==0)return!1;t=$("#content"),$("#content").length==0&&(t=$("#topcontent")),maxHeight=$("#topcontent").height(),stickHeight=$(".stickit2").height(),viewportHeight=$(window).height();var r=$(window).scrollTop()-t.offset().top,u=stickHeight-r,i=viewportHeight-u;$("#rightcont").css("minHeight",viewportHeight),umaxHeight-20-n&&(i=maxHeight-viewportHeight-20-n),$("#rightcont").height()<$(window).height()?$(".stickit2").css("top",r+"px"):$(".stickit2").css("top",i+"px")):$(".stickit2").css("top","0px")}function getWidth(){return self.innerHeight?self.innerWidth:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientWidth:document.body?document.body.clientWidth:void 0}function getHeight(){return self.innerHeight?self.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body?document.body.clientHeight:void 0}function isMobile(){return getWidth()<800}function fnlayout(){if($(window).width()<800||pref=="oa")return!1;if(sticker(),$(".topcenter").length==0||window.location.href.indexOf("activiteit")!=-1){if($("#bcoverview").show(),$("#rightcont div").css("zIndex","1"),$("#bcoverview").length>0&&(pref=="ukp",!1&&$("#bcpoll").length>0&&$.cookie(cookieName)!="voted"&&($("#stickycontents").append($("#bcpoll").clone().wrap("
").parent().html().replace("bcpoll","bcpolldr")),$("#bcpolldr").css({}))),isMobile()==!1){var n='
<\/div><\/div><\/div>';$("#bcoverview").length>0&&$("#stickycontents").append(n),$(".npage").length>0&&($("#rightcont").css("maxHeight",$(".npage").height()),$("#rightcont").css("overflow","hidden"))}window.location.href.indexOf("activiteit")!=-1&&$("#agendapunten").length>0&&($("#rightcont").prepend($("#agendapunten").clone().wrap("
").parent().html().replace("agendapunten","bcagenda").replace("Agenda","Volledige agenda")),$("#bcnudr").css({}),$("#bcagenda").css("clear","both").css("marginBottom","15px"),$("#agendapunten").parent().remove())}}function IEContentLoaded(n,t){var i=n.document,r=!1,u=function(){r||(r=!0,t())};(function(){try{i.documentElement.doScroll("left")}catch(n){setTimeout(arguments.callee,50);return}u()})(),i.onreadystatechange=function(){i.readyState=="complete"&&(i.onreadystatechange=null,u())}}function T$(n){return document.getElementById(n)}function hotKeys(){var t=navigator.userAgent.toLowerCase(),n="",r=t.indexOf("webkit")!=-1,i=t.indexOf("mac")!=-1;return t.indexOf("konqueror")!=-1?n="CTRL + B":(window.home||r||isIEmac||i)&&(n=(i?"Command/Cmd":"CTRL")+" + D"),n?"Druk de toetsen "+n+" in om deze pagina toe te voegen aan uw favorieten.":n}function isIE8(){var n=-1,t,i;return(navigator.appName=="Microsoft Internet Explorer"&&(t=navigator.userAgent,i=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})"),i.exec(t)!=null&&(n=parseFloat(RegExp.$1))),n>-1&&n>=8)?!0:!1}function addBookmark(n){cjHref=cjHref.replace("?from=dichtbij.nl","");try{if(typeof n=="object"&&n.tagName.toLowerCase()=="a"){if(n.style.cursor="pointer",typeof window.sidebar=="object"&&typeof window.sidebar.addPanel=="function")return window.sidebar.addPanel(cjTitle,cjHref,""),!1;if(isMSIE&&typeof window.external=="object")return isIE8()?window.external.AddToFavoritesBar(cjHref,cjTitle):window.external.AddFavorite(cjHref,cjTitle),!1;if(window.opera)return n.href=cjHref,n.title=cjTitle,n.rel="sidebar",!0;alert(hotKeys())}else throw"Error occured.\r\nNote, only A tagname is allowed!";}catch(t){alert(t)}}function newStyle(n){var i=document.getElementsByTagName("head")[0],t=document.createElement("style");return t.type="text/css",t.media="screen",t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),i.appendChild(t),t}function init(){return!1}function checkheights(){if($(".topcontent").length==0)return!1;var n=$("#topcontent").height();n+=20,$(".bottomcolumn",$("#rightcont")).show(),$("#rightcont").height()>n&&$(".bottomcolumn:visible:last",$("#rightcont")).hide(),$("#rightcont").height()>n&&$(".bottomcolumn:visible:last",$("#rightcont")).hide(),$("#rightcont").height()>n&&$(".bottomcolumn:visible:last",$("#rightcont")).hide(),$("#rightcont").height()>n&&$(".bottomcolumn:visible:last",$("#rightcont")).hide(),$("#rightcont").height()>n&&$(".bottomcolumn:visible:last",$("#rightcont")).hide()}function popup(n,t){if(!window.focus)return!0;var i;return i=typeof n=="string"?n:n.href,window.open(i,t,"resizable=no,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,copyhistory=0,width=860,height=540"),!1}function autoFill(n,t){$(n).css({color:"#b2adad"}).attr({value:t}).focus(function(){$(this).val()==t&&$(this).val("").css({color:"#333"})}).blur(function(){$(this).val()==""&&$(this).css({color:"#b2adad"}).val(t)})}function autoFill2(n,t){$(n).css({color:"#b2adad"}).attr({value:t}).focus(function(){$(this).val()==t&&$(this).val("").css({color:"#333"})}).blur(function(){$(this).val()==""&&$(this).css({color:"#b2adad"}).val(t)})}function gotRadio(n){n.artiest.length>0&&($("#nummer").empty(),$("#artiest").empty(),$("#nummer").append(n.nummmer),$("#artiest").append(n.artiest),$("#RadioContent").show(),$("#EmptyRadio").hide())}function lb(){return!1}function Swipe(n,t){"use strict";function d(){var s,h;for(f=u.children,tt=f.length,f.length<2&&(t.continuous=!1),a.transitions&&t.continuous&&f.length<3&&(u.appendChild(f[0].cloneNode(!0)),u.appendChild(u.children[1].cloneNode(!0)),f=u.children),l=new Array(f.length),r=n.getBoundingClientRect().width||n.offsetWidth,u.style.width=f.length*r+"px",s=f.length;s--;)h=f[s],h.style.width=r+"px",h.setAttribute("data-index",s),a.transitions&&(h.style.left=s*-r+"px",o(s,i>s?-r:ii?n:i)-h-1),r*s,0);n=e(n),o(i,r*s,u||c),o(n,0,u||c),t.continuous&&o(e(n-s),-(r*s),0)}else n=e(n),et(i*-r,n*-r,u||c);i=n,k(t.callback&&t.callback(i,f[i]))}}function o(n,t,i){v(n,t,i),l[n]=t}function v(n,t,i){var u=f[n],r=u&&u.style;r&&(r.webkitTransitionDuration=r.MozTransitionDuration=r.msTransitionDuration=r.OTransitionDuration=r.transitionDuration=i+"ms",r.webkitTransform="translate("+t+"px,0)translateZ(0)",r.msTransform=r.MozTransform=r.OTransform="translateX("+t+"px)")}function et(n,r,e){if(!e){u.style.left=r+"px";return}var o=+new Date,s=setInterval(function(){var h=+new Date-o;if(h>e){u.style.left=r+"px",y&&nt(),t.transitionEnd&&t.transitionEnd.call(event,i,f[i]),clearInterval(s);return}u.style.left=(r-n)*(Math.floor(h/e*100)/100)+n+"px"},4)}function nt(){rt=setTimeout(it,y)}function p(){y=0,clearTimeout(rt)}var ut=function(){},k=function(n){setTimeout(n||ut,0)},a={addEventListener:!!window.addEventListener,touch:"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,transitions:function(n){var t=["transitionProperty","WebkitTransition","MozTransition","OTransition","msTransition"],i;for(i in t)if(n.style[t[i]]!==undefined)return!0;return!1}(document.createElement("swipe"))},u,f,l,r,tt,i,c,y,rt;if(n){u=n.children[0],t=t||{},i=parseInt(t.startSlide,10)||0,c=t.speed||300,t.continuous=t.continuous!==undefined?t.continuous:!0,y=t.auto||0;var g={},s={},w,h={handleEvent:function(n){switch(n.type){case"touchstart":this.start(n);break;case"touchmove":this.move(n);break;case"touchend":k(this.end(n));break;case"webkitTransitionEnd":case"msTransitionEnd":case"oTransitionEnd":case"otransitionend":case"transitionend":k(this.transitionEnd(n));break;case"resize":k(d)}t.stopPropagation&&n.stopPropagation()},start:function(n){var t=n.touches[0];g={x:t.pageX,y:t.pageY,time:+new Date},w=undefined,s={},u.addEventListener("touchmove",this,!1),u.addEventListener("touchend",this,!1)},move:function(n){if(!(n.touches.length>1)&&(!n.scale||n.scale===1)){t.disableScroll&&n.preventDefault();var u=n.touches[0];s={x:u.pageX-g.x,y:u.pageY-g.y},typeof w=="undefined"&&(w=!!(w||Math.abs(s.x)0||i==f.length-1&&s.x<0?Math.abs(s.x)/r+1:1),v(i-1,s.x+l[i-1],0),v(i,s.x+l[i],0),v(i+1,s.x+l[i+1],0)))}},end:function(){var v=+new Date-g.time,y=Number(v)<250&&Math.abs(s.x)>20||Math.abs(s.x)>r/2,n=!i&&s.x>0||i==f.length-1&&s.x<0,a;t.continuous&&(n=!1),a=s.x<0,w||(y&&!n?(a?(t.continuous?(o(e(i-1),-r,0),o(e(i+2),r,0)):o(i-1,-r,0),o(i,l[i]-r,c),o(e(i+1),l[e(i+1)]-r,c),i=e(i+1)):(t.continuous?(o(e(i+1),r,0),o(e(i-2),-r,0)):o(i+1,r,0),o(i,l[i]+r,c),o(e(i-1),l[e(i-1)]+r,c),i=e(i-1)),t.callback&&t.callback(i,f[i])):t.continuous?(o(e(i-1),-r,c),o(i,0,c),o(e(i+1),r,c)):(o(i-1,-r,c),o(i,0,c),o(i+1,r,c))),u.removeEventListener("touchmove",h,!1),u.removeEventListener("touchend",h,!1)},transitionEnd:function(n){parseInt(n.target.getAttribute("data-index"),10)==i&&(y&&nt(),t.transitionEnd&&t.transitionEnd.call(n,i,f[i]))}};return d(),y&&nt(),a.addEventListener?(a.touch&&u.addEventListener("touchstart",h,!1),a.transitions&&(u.addEventListener("webkitTransitionEnd",h,!1),u.addEventListener("msTransitionEnd",h,!1),u.addEventListener("oTransitionEnd",h,!1),u.addEventListener("otransitionend",h,!1),u.addEventListener("transitionend",h,!1)),window.addEventListener("resize",h,!1)):window.onresize=function(){d()},{setup:function(){d()},slide:function(n,t){p(),b(n,t)},prev:function(){p(),ft()},next:function(){p(),it()},stop:function(){p()},getPos:function(){return i},getNumSlides:function(){return tt},kill:function(){var n,t;for(p(),u.style.width="",u.style.left="",n=f.length;n--;)t=f[n],t.style.width="",t.style.left="",a.transitions&&v(n,0,0);a.addEventListener?(u.removeEventListener("touchstart",h,!1),u.removeEventListener("webkitTransitionEnd",h,!1),u.removeEventListener("msTransitionEnd",h,!1),u.removeEventListener("oTransitionEnd",h,!1),u.removeEventListener("otransitionend",h,!1),u.removeEventListener("transitionend",h,!1),window.removeEventListener("resize",h,!1)):window.onresize=null}}}}var audioplayer_swfobject=function(){function v(){var i,r,n;if(!c){try{i=t.getElementsByTagName("body")[0].appendChild(h("span")),i.parentNode.removeChild(i)}catch(u){return}for(c=!0,r=w.length,n=0;n0)for(r=0;r0){if(t=u(f),t)if(!g(s[r].swfVersion)||n.wk&&n.wk<312)if(s[r].expressInstall&&ut()){h={},h.data=s[r].expressInstall,h.width=t.getAttribute("width")||"0",h.height=t.getAttribute("height")||"0",t.getAttribute("class")&&(h.styleclass=t.getAttribute("class")),t.getAttribute("align")&&(h.align=t.getAttribute("align"));var p={},a=t.getElementsByTagName("param"),w=a.length;for(c=0;c');y.outerHTML='"+k+"<\/object>",b[b.length]=t.id,v=u(t.id)}else{c=h(f),c.setAttribute("type",p);for(s in t)t[s]!=Object.prototype[s]&&(s.toLowerCase()=="styleclass"?c.setAttribute("class",t[s]):s.toLowerCase()!="classid"&&c.setAttribute(s,t[s]));for(l in r)r[l]!=Object.prototype[l]&&l.toLowerCase()!="movie"&&ii(c,l,r[l]);y.parentNode.replaceChild(c,y),v=c}return v}function ii(n,t,i){var r=h("param");r.setAttribute("name",t),r.setAttribute("value",i),n.appendChild(r)}function wt(t){var i=u(t);i&&i.nodeName=="OBJECT"&&(n.ie&&n.win?(i.style.display="none",function(){i.readyState==4?ri(t):setTimeout(arguments.callee,10)}()):i.parentNode.removeChild(i))}function ri(n){var t=u(n),i;if(t){for(i in t)typeof t[i]=="function"&&(t[i]=null);t.parentNode.removeChild(t)}}function u(n){var i=null;try{i=t.getElementById(n)}catch(r){}return i}function h(n){return t.createElement(n)}function ui(n,t,i){n.attachEvent(t,i),a[a.length]=[n,t,i]}function g(t){var r=n.pv,i=t.split(".");return i[0]=parseInt(i[0],10),i[1]=parseInt(i[1],10)||0,i[2]=parseInt(i[2],10)||0,r[0]>i[0]||r[0]==i[0]&&r[1]>i[1]||r[0]==i[0]&&r[1]==i[1]&&r[2]>=i[2]?!0:!1}function bt(r,u,o,s){var a,c,l;n.ie&&n.mac||(a=t.getElementsByTagName("head")[0],a)&&(c=o&&typeof o=="string"?o:"screen",s&&(e=null,tt=null),e&&tt==c||(l=h("style"),l.setAttribute("type","text/css"),l.setAttribute("media",c),e=a.appendChild(l),n.ie&&n.win&&typeof t.styleSheets!=i&&t.styleSheets.length>0&&(e=t.styleSheets[t.styleSheets.length-1]),tt=c),n.ie&&n.win?e&&typeof e.addRule==f&&e.addRule(r,u):e&&typeof t.createTextNode!=i&&e.appendChild(t.createTextNode(r+" {"+u+"}")))}function l(n,t){if(vt){var i=t?"visible":"hidden";c&&u(n)?u(n).style.visibility=i:bt("#"+n,"visibility:"+i)}}function kt(n){var t=/[\\\"<>\.;]/.exec(n)!=null;return t&&typeof encodeURIComponent!=i?encodeURIComponent(n):n}var i="undefined",f="object",st="Shockwave Flash",dt="ShockwaveFlash.ShockwaveFlash",p="application/x-shockwave-flash",ht="SWFObjectExprInst",ct="onreadystatechange",r=window,t=document,o=navigator,lt=!1,w=[gt],s=[],b=[],a=[],y,k,nt,at,c=!1,d=!1,e,tt,vt=!0,n=function(){var l=typeof t.getElementById!=i&&typeof t.getElementsByTagName!=i&&typeof t.createElement!=i,e=o.userAgent.toLowerCase(),s=o.platform.toLowerCase(),a=s?/win/.test(s):/win/.test(e),v=s?/mac/.test(s):/mac/.test(e),y=/webkit/.test(e)?parseFloat(e.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,h=!+"\v1",u=[0,0,0],n=null,c;if(typeof o.plugins!=i&&typeof o.plugins[st]==f)n=o.plugins[st].description,!n||typeof o.mimeTypes!=i&&o.mimeTypes[p]&&!o.mimeTypes[p].enabledPlugin||(lt=!0,h=!1,n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),u[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10),u[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10),u[2]=/[a-zA-Z]/.test(n)?parseInt(n.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if(typeof r.ActiveXObject!=i)try{c=new ActiveXObject(dt),c&&(n=c.GetVariable("$version"),n&&(h=!0,n=n.split(" ")[1].split(","),u=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]))}catch(w){}return{w3:l,pv:u,wk:y,ie:h,win:a,mac:v}}(),fi=function(){n.w3&&((typeof t.readyState!=i&&t.readyState=="complete"||typeof t.readyState==i&&(t.getElementsByTagName("body")[0]||t.body))&&v(),c||(typeof t.addEventListener!=i&&t.addEventListener("DOMContentLoaded",v,!1),n.ie&&n.win&&(t.attachEvent(ct,function(){t.readyState=="complete"&&(t.detachEvent(ct,arguments.callee),v())}),r==top&&function(){if(!c){try{t.documentElement.doScroll("left")}catch(n){setTimeout(arguments.callee,0);return}v()}}()),n.wk&&function(){if(!c){if(!/loaded|complete/.test(t.readyState)){setTimeout(arguments.callee,0);return}v()}}(),pt(v)))}(),ei=function(){n.ie&&n.win&&window.attachEvent("onunload",function(){for(var e=a.length,r,i,u,f,t=0;tn?i():r!==!0&&(e=setTimeout(f?l:i,f===t?n-s:n))}var e,o=0;return typeof r!="boolean"&&(f=u,u=r,r=t),i.guid&&(s.guid=u.guid=u.guid||i.guid++),s},i.debounce=function(n,i,u){return u===t?r(n,i,!1):r(n,u,i!==!1)}})(this),cnt=0,$(function(){var r=readCookie("cookieConsent"),t,o,n,i,u,f,e;(r==undefined||r=="")&&$("#cookieconsent").fadeIn(300),t=readCookie("closeHms"),t!=undefined&&t!=""&&$(".hms-banner").remove(),$(".mobilemenu").append($(".mobilemenutop").clone().wrap("
").parent().html()),$("nav#menuv2").mmenu({},{offCanvas:{wrapPageIfNeeded:!1}}),$(".paperHolder").length>0,$("#mobilemenu").append($("#footernav").wrap('
  • ').parent().html()),fnlayout();try{o=setTimeout(function(){typeof doUpdate==typeof Function&&doUpdate()},3e4)}catch(s){}if(isMobile()&&$("#contentbar_items").width($(".contentbar_item").length*160),$(window).resize(function(){sticker(),setTimeout(function(){$("#rightcont").addClass("stickit2")},200)}),n=-1,$(".bottomcolumn").each(function(){n=n>$(this).height()?n:$(this).height()}),i='
    <\/div>',$(".waitloadiframe").each(function(){$(this).attr("src",$(this).attr("tosrc"))}),isMobile()==!1){try{u=$("#bcoverview").height(),f=$(".bottomcolumn",$("#bottomleft")).last().height()+$(".bottomcolumn",$("#bottomleft")).last().position().top}catch(s){}!1&&$("#bcoverview").length>0&&(u
    '+i+"<\/div><\/div>"),$("#fb1").remove(),$("#fb2").remove()):($("#fb1").html('
    '+i+"<\/div>"),$("#fb2").remove()));try{FB.Event.subscribe("xfbml.render",function(){try{checkheights()}catch(n){}})}catch(s){checkheights()}}AudioPlayer.setup("http://www.weespernieuws.nl/Content/player.swf",{width:290,initialvolume:100,transparentpagebg:"yes",left:"000000",lefticon:"FFFFFF"}),$(".audiofileEmbed").each(function(){AudioPlayer.embed($(this).attr("id"),{soundFile:"/audio/"+$(this).attr("id")+".mp3",titles:"Geluidsfragment",artists:" ",autostart:"no"})}),$(".audiofileEmbed2").each(function(){titel="",$(this).attr("title")!=""&&(titel=$(this).attr("title")),AudioPlayer.embed($(this).attr("id"),{soundFile:$(this).attr("file")+"",titles:"Geluidsfragment",artists:" ",autostart:"no"})}),$("#saveEditor").click(function(){saveEditor()}),$(".waitload").each(function(){var n=$(this).attr("src")}),$("#morewidgts").masonry({}),$("#pollCookie").length>0&&(e=$("#pollCookie").val(),$.cookie(e)=="voted"&&($("#Antws").show(),$("#VAntws").hide()),($("#pollVoted").val()=="true"||$("#pollVoted").val()=="True")&&($("#VAntws").hide(),$("#Antws").show())),$("#ismobile").val()=="True"&&$("#footernav").html($(".regionselector").html()),$(".colofonlink",$("#footernav")).before("
  • RSS<\/a><\/li>"),$(".youtube-popup > div").click(function(){window.open($(this).parent().children("iframe").attr("src"))}),$(".reactoffer").click(function(){openCommentform()}),$(".reactcomment").click(function(){$(".offeraprice").hide(),$(".offeratitle").each(function(){$(this).html($(this).html().replace("advertentie","reactie"))}),$("#reactform").slideDown(200)}),window.location.href.indexOf("?comment")!=-1&&(openCommentform(),setTimeout(function(){$("html,body").animate({scrollTop:$("#reactform").offset().top},"slow")},200)),$(".mediaoffer").length>0&&$(".mediaoffer").colorbox(),$(".mediaen").length>0&&$(".mediaen").colorbox()}),contentFilled=!1,TINY={},TINY.box=function(){var n,i,t,r,u,f,e,o,s=0;return{show:function(h,c,l,a,v,y){s||(n=document.createElement("div"),n.id="tinybox",i=document.createElement("div"),i.id="tinymask",t=document.createElement("div"),t.id="tinycontent",document.body.appendChild(i),document.body.appendChild(n),n.appendChild(t),i.onclick=TINY.box.hide,window.onresize=TINY.box.resize,s=1),v||c?(t.style.display="none",n.style.width=n.style.height="100px"):(n.style.width=l?l+"px":"auto",n.style.height=a?a+"px":"auto",n.style.backgroundImage="none",t.innerHTML=h),this.mask(),r=h,u=c,f=l,e=a,o=v,this.alpha(i,1,80,3),y&&setTimeout(function(){TINY.box.hide()},1e3*y)},fill:function(t,i,r,u,f){if(i){n.style.backgroundImage="";var e=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");e.onreadystatechange=function(){e.readyState==4&&e.status==200&&TINY.box.psh(e.responseText,r,u,f)},e.open("GET",t,1),e.send(null)}else this.psh(t,r,u,f)},psh:function(i,r,u,f){if(f){if(r&&u)t.innerHTML=i;else{var e=n.style.width,o=n.style.height;t.innerHTML=i,n.style.width=r?r+"px":"",n.style.height=u?u+"px":"",t.style.display="",r=parseInt(t.offsetWidth),u=parseInt(t.offsetHeight),t.style.display="none",n.style.width=e,n.style.height=o}this.size(n,r,u)}else n.style.backgroundImage="none"},hide:function(){TINY.box.alpha(n,-1,0,3)},resize:function(){TINY.box.pos(),TINY.box.mask()},mask:function(){i.style.height=TINY.page.total(1)+"px",i.style.width="",i.style.width=TINY.page.total(0)+"px"},pos:function(){var t=TINY.page.height()/2-n.offsetHeight/2;t=t<10?10:t,n.style.top=t+TINY.page.top()+"px",n.style.left=TINY.page.width()/2-n.offsetWidth/2+"px"},alpha:function(n,t,i){clearInterval(n.ai),t==1&&(n.style.opacity=0,n.style.filter="alpha(opacity=0)",n.style.display="block",this.pos()),n.ai=setInterval(function(){TINY.box.ta(n,i,t)},20)},ta:function(s,h,c){var a=Math.round(s.style.opacity*100),l;a==h?(clearInterval(s.ai),c==-1?(s.style.display="none",s==n?TINY.box.alpha(i,-1,0,2):t.innerHTML=n.style.backgroundImage=""):s==i?this.alpha(n,1,100):TINY.box.fill(r,u,f,e,o)):(l=Math.ceil(a+(h-a)*.5),l=l==1?0:l,s.style.opacity=l/100,s.style.filter="alpha(opacity="+l+")")},size:function(n,t,i){n=typeof n=="object"?n:T$(n),clearInterval(n.si);var r=n.offsetWidth,u=n.offsetHeight,f=r-parseInt(n.style.width),e=u-parseInt(n.style.height),o=r-f>t?0:1,s=u-e>i?0:1;n.si=setInterval(function(){TINY.box.ts(n,t,f,o,i,e,s)},20)},ts:function(i,r,u,f,e,o,s){var c=i.offsetWidth-u,l=i.offsetHeight-o,h;c==r&&l==e?(clearInterval(i.si),n.style.backgroundImage="none",t.style.display="block"):(c!=r&&(h=c+(r-c)*.5,i.style.width=f?Math.ceil(h)+"px":Math.floor(h)+"px"),l!=e&&(h=l+(e-l)*.5,i.style.height=s?Math.ceil(h)+"px":Math.floor(h)+"px"),this.pos())}}}(),TINY.page=function(){return{top:function(){return document.documentElement.scrollTop||document.body.scrollTop},width:function(){return self.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},height:function(){return self.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},total:function(n){var t=document.body,i=document.documentElement;return n?Math.max(Math.max(t.scrollHeight,i.scrollHeight),Math.max(t.clientHeight,i.clientHeight)):Math.max(Math.max(t.scrollWidth,i.scrollWidth),Math.max(t.clientWidth,i.clientWidth))}}}(),isIEmac=!1;/*@cc_on@if(@_jscript&&!(@_win32||@_win16)&&@_jscript_version<5.5)isIEmac=!0;@end@*/var isMSIE=-[1,]?!1:!0,cjTitle=document.title,cjHref=location.href;contenttontmr='

    Beste bezoeker,<\/p>

    Op dichtbij.nl, een onderdeel van De Telegraaf, worden structureel onze berichten grotendeels overgenomen. Ondanks dat de bron wordt vermeld en een link wordt geplaatst, vinden wij deze werkwijze journalistiek en moreel verwerpelijk. Voor ons voelt het als diefstal; wij doen al het werk, zij verdienen er - via de advertenties - het geld mee. <\/p>

    Het lijkt ons goed om u op deze manier te informeren. <\/p>


    Klik
    hier<\/a> om ons aan uw favorieten toe te voegen, zodat u het nieuws direct bij de bron haalt.<\/p>


    Sluiten<\/a><\/div><\/div>',document.addEventListener&&document.addEventListener("DOMContentLoaded",init,!1),/WebKit/i.test(navigator.userAgent)&&(_timer=setInterval(function(){/loaded|complete/.test(document.readyState)&&init()},10)),document.attachEvent&&!window.opera&&IEContentLoaded(window,function(){init()}),function(){$.fn.popbox=function(n){var t=$.extend({selector:this.selector,open:".open",box:".box",arrow:".arrow",arrow_border:".arrow-border",close:".close"},n),i={open:function(n){n.preventDefault();var u=$(this),r=$(this).parent().find(t.box);r.find(t.arrow).css({left:r.width()/2-10}),r.find(t.arrow_border).css({left:r.width()/2-10}),r.css("display")=="block"?i.close():r.css({display:"block",top:10,left:u.parent().width()/2-r.width()/2})},close:function(){$(t.box).fadeOut("fast")}};return $(document).bind("keyup",function(n){n.keyCode==27&&i.close()}),$(document).bind("click",function(n){$(n.target).closest(t.selector).length||i.close()}),this.each(function(){$(this).css({width:$(t.box).width()}),$(t.open,this).bind("click",i.open),$(t.open,this).parent().find(t.close).bind("click",function(n){n.preventDefault(),i.close()})})}}.call(this); /*! jQuery Colorbox v1.4.21 - 2013-06-06 (c) 2013 Jack Moore - jacklmoore.com/colorbox license: http://www.opensource.org/licenses/mit-license.php */ (function(n,t,i){function e(i,r,u){var f=t.createElement(i);return r&&(f.id=h+r),u&&(f.style.cssText=u),n(f)}function bt(){return i.innerHeight?i.innerHeight:n(i).height()}function vt(n){var i=c.length,t=(a+n)%i;return 0>t?i+t:t}function v(n,t){return Math.round((/%/.test(n)?("x"===t?b.width():bt())/100:1)*parseInt(n,10))}function vi(n,t){return n.photo||n.photoRegex.test(t)}function yi(n,t){return n.retinaUrl&&i.devicePixelRatio>1?t.replace(n.photoRegex,n.retinaSuffix):t}function pi(n){"contains"in u[0]&&!u[0].contains(n.target)&&(n.stopPropagation(),u.focus())}function wi(){var t,i=n.data(y,it);null==i?(r=n.extend({},oi),console&&console.log&&console.log("Error: cboxElement missing settings object")):r=n.extend({},i);for(t in r)n.isFunction(r[t])&&"on"!==t.slice(0,2)&&(r[t]=r[t].call(y));r.rel=r.rel||y.rel||n(y).data("rel")||"nofollow",r.href=r.href||n(y).attr("href"),r.title=r.title||y.title,"string"==typeof r.href&&(r.href=n.trim(r.href))}function rt(i,r){n(t).trigger(i),ft.trigger(i),n.isFunction(r)&&r.call(y)}function di(){var l,i,e,o,t,n=h+"Slideshow_",f="click."+h;r.slideshow&&c[1]?(i=function(){clearTimeout(l)},e=function(){(r.loop||c[a+1])&&(l=setTimeout(s.next,r.slideshowSpeed))},o=function(){st.html(r.slideshowStop).unbind(f).one(f,t),ft.bind(hi,e).bind(si,i).bind(ci,t),u.removeClass(n+"off").addClass(n+"on")},t=function(){i(),ft.unbind(hi,e).unbind(si,i).unbind(ci,t),st.html(r.slideshowStart).unbind(f).one(f,function(){s.next(),o()}),u.removeClass(n+"on").addClass(n+"off")},r.slideshowAuto?o():t()):u.removeClass(n+"off "+n+"on")}function yt(i){at||(y=i,wi(),c=n(y),a=0,"nofollow"!==r.rel&&(c=n("."+et).filter(function(){var t,i=n.data(this,it);return i&&(t=n(this).data("rel")||i.rel||this.rel),t===r.rel}),a=c.index(y),-1===a&&(c=c.add(y),a=c.length-1)),w.css({opacity:parseFloat(r.opacity),cursor:r.overlayClose?"pointer":"auto",visibility:"visible"}).show(),fi&&u.add(w).removeClass(fi),r.className&&u.add(w).addClass(r.className),fi=r.className,ri.html(r.close).show(),tt||(tt=lt=!0,u.css({visibility:"hidden",display:"block"}),l=e(o,"LoadedContent","width:0; height:0; overflow:hidden").appendTo(p),k=kt.height()+ni.height()+p.outerHeight(!0)-p.height(),d=dt.width()+gt.width()+p.outerWidth(!0)-p.width(),g=l.outerHeight(!0),nt=l.outerWidth(!0),r.w=v(r.initialWidth,"x"),r.h=v(r.initialHeight,"y"),s.position(),di(),rt(tr,r.onOpen),ui.add(ti).hide(),u.focus(),r.trapFocus&&t.addEventListener&&(t.addEventListener("focus",pi,!0),ft.one(li,function(){t.removeEventListener("focus",pi,!0)})),r.returnFocus&&ft.one(li,function(){n(y).focus()})),nr())}function bi(){!u&&t.body&&(ei=!1,b=n(i),u=e(o).attr({id:it,"class":n.support.opacity===!1?h+"IE":"",role:"dialog",tabindex:"-1"}).hide(),w=e(o,"Overlay").hide(),pt=e(o,"LoadingOverlay").add(e(o,"LoadingGraphic")),ut=e(o,"Wrapper"),p=e(o,"Content").append(ti=e(o,"Title"),ii=e(o,"Current"),ct=n('