NPO_EXPLORE=(function(){my={};my.jQueryWasPresent=true;my.ns_pixelUrlNpo="http://nl.sitestat.com/klo/omroep-nl/s?omroep-nl.home&category=omroep-nl-portal&ns_channel=media&ns_webdir=omroep-nl-portal";my.ns_onclick=function(k,r,q,l,a){var o="";if(typeof NPO_EXPLORE.ns_pixelUrlNpo=="string"){o=NPO_EXPLORE.ns_pixelUrlNpo.substring(0,NPO_EXPLORE.ns_pixelUrlNpo.indexOf("?")+1)}
o+=q;o+="&ns_type="+l+"&n s_action=view";o+="&ns__t="+(new Date()).getTime();if(!r){r=k.href}
var p=document.referrer;if(p.lastIndexOf("/")==p.length-1){p=p.substring(p.lastIndexOf("/"),0)}
if(p.length>0){o+="&ns_referrer="+escape(p)}
a=a||"";var n=(k&&k.target&&k.target!="")?(k.target.substring(0,1)=="_")?k.target.substring(1):k.target:"self";var m=new Image();if(n&&r){if(window[n]){window.ns_softclick_timer=function(c,b){return function(){if(window.ns_softclick_timeout){window.clearTimeout(window.ns_softclick_timeout)}
m.onload=m.onerror=function(){return};window[((window[c])?c:"self")].location.href=b}}(n,r);ns_softclick_timeout=window.setTimeout("ns_softclick_timer()",5000);m.onload=m.onerror=window.ns_softclick_timer}else{window.open(r,n,a)}}
m.src=o;return false}
my.npo_include=function(c){var a=document.getElementsByTagName("head").item(0);var b=document.createElement("script");b.setAttribute("language","javascript");b.setAttribute("type","text/javascript");b.setAttribute("src",c);a.appendChild(b);return false}
my.npo_include_css=function(b){var a=document.getElementsByTagName("head").item(0);var c=document.createElement("link");c.setAttribute("rel","stylesheet");c.setAttribute("href",b);c.setAttribute("type","text/css");c.setAttribute("media","screen");c.setAttribute("charset","utf-8");a.appendChild(c);return false}
my.npo={cn_state:"closed",search_placeholder:"Zoek op Publiekeomroep.nl",search_old_value:"",omroep_data:"",has_never_been_opened:true,networks_are_shown:false,overlay:"",navigation:"",timer:"",host_name:"cn.omroep.nl",root:"",assets_root:"",sitestat:new Array(),klo:new Array(),television:{name:"Televisie",counter:"softclicks.televisie.televisie",follow_up:{name:"meer TV",url:"http://www.publiekeomroep.nl/tv/",counter:"softclicks.televisie.meer_tv"},items:{nederland_1:{name:"Nederland 1",url:"http://www.nederland1.nl/",counter:"softclicks.televisie.nederland1"},nederland_2:{name:"Nederland 2",url:"http://www.nederland2.nl/",counter:"softclicks.televisie.nederland2"},nederland_3:{name:"Nederland 3",url:"http://www.nederland3.nl/",counter:"softclicks.televisie.nederland3"},nederland_24:{name:"Nederland 24",url:"http://www.nederland24.nl/",counter:"softclicks.televisie.nederland24"},zapp:{name:"Z@PP",url:"http://www.zapp.nl/",counter:"softclicks.televisie.zapp"},zappelin:{name:"Z@ppelin",url:"http://www.zappelin.nl/",counter:"softclicks.televisie.zappelin"},uitzending_gemist:{name:"Uitzending Gemist",url:"http://www.uitzendinggemist.nl/",counter:"softclicks.televisie.uitzending_gemist"}}},radio:{name:"Radio",counter:"softclicks.radio.radio",follow_up:{name:"meer radio",url:"http://www.publiekeomroep.nl/radio/",counter:"softclicks.televisie.meer_radio"},items:{radio_1:{name:"Radio 1",url:"http://www.radio1.nl/",counter:"softclicks.radio.radio1"},radio_2:{name:"Radio 2",url:"http://www.radio2.nl/",counter:"softclicks.radio.radio2"},radio_3:{name:"3FM",url:"http://www.3fm.nl/",counter:"softclicks.radio.3fm"},radio_4:{name:"Radio 4",url:"http://www.radio4.nl/",counter:"softclicks.radio.radio4"},radio_5:{name:"Radio 5",url:"http://www.radio5.nl/",counter:"softclicks.radio.radio5"},radio_6:{name:"Radio 6",url:"http://www.radio6.nl/",counter:"softclicks.radio.radio6"},funx:{name:"FunX",url:"http://www.funx.nl/",counter:"softclicks.radio.funx"},radiocast:{name:"Radiocast",url:"http://www.radiocast.nl/",counter:"softclicks.radio.radiocast"}}},network:{items:{avro:{name:"AVRO",url:"http://www.avro.nl/",counter:"softclicks.omroepen.avro"},bnn:{name:"BNN",url:"http://www.bnn.nl/",counter:"softclicks.omroepen.bnn"},bos:{name:"BOS",url:"http://www.buddhistmedia.com/",counter:"softclicks.omroepen.bos"},eo:{name:"EO",url:"http://www.eo.nl/",counter:"softclicks.omroepen.eo"},human:{name:"HUMAN",url:"http://www.human.nl/",counter:"softclicks.omroepen.human"},ikon:{name:"IKON",url:"http://www.ikonrtv.nl/",counter:"softclicks.omroepen.ikon"},joodse_omroep:{name:"Joodse Omroep",url:"http://www.joodseomroep.nl/",counter:"softclicks.omroepen.joodse_omroep"},kro:{name:"KRO",url:"http://www.kro.nl/",counter:"softclicks.omroepen.kro"},max:{name:"MAX",url:"http://www.omroepmax.nl/",counter:"softclicks.omroepen.max"},ncrv:{name:"NCRV",url:"http://www.ncrv.nl/",counter:"softclicks.omroepen.ncrv"},nos:{name:"NOS",url:"http://www.nos.nl/",counter:"softclicks.omroepen.nos"},ntr:{name:"NTR",url:"http://www.ntr.nl/",counter:"softclicks.omroepen.ntr"},ohm:{name:"OHM",url:"http://www.ohmnet.nl/",counter:"softclicks.omroepen.ohm"},powned:{name:"PowNed",url:"http://www.powned.tv/",counter:"softclicks.omroepen.powned"},rkk:{name:"RKK",url:"http://www.katholieknederland.nl/",counter:"softclicks.omroepen.rkk"},tros:{name:"TROS",url:"http://www.tros.nl/",counter:"softclicks.omroepen.tros"},vara:{name:"VARA",url:"http://www.vara.nl/",counter:"softclicks.omroepen.vara"},vpro:{name:"VPRO",url:"http://www.vpro.nl/",counter:"softclicks.omroepen.vpro"},wnl:{name:"WNL",url:"http://www.omroepwnl.nl/",counter:"softclicks.omroepen.wnl"},zvk:{name:"ZvK",url:"http://www.zvk.nl/",counter:"softclicks.omroepen.zvk"}}},fixImageForIE:function(a){if(NPO_EXPLORE.npo.isIE6()){var b=a.src;var c=document.createElement("div");c.id=a.id;c.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+b+"', sizing='scale')";c.style.width=a.width+"px";c.style.height=a.height+"px";a.replaceNode(c)}},isIE6:function(){return(jQuery.browser.msie&&Number(jQuery.browser.version)>=6&&Number(jQuery.browser.version)<7)},includeIE6CSS:function(){if(NPO_EXPLORE.npo.isIE6()){NPO_EXPLORE.npo._css(NPO_EXPLORE.npo.assets_root+"/stylesheets/ie6.css")}},initComponents:function(){this.overlay.css("opacity","0");this.navigation.css("display","none");jQuery("body").prepend(this.overlay);jQuery("body").prepend(this.navigation);jQuery("#npo_overlay").click(function(){NPO_EXPLORE.npo.toggleNavigation(this)});jQuery.ajaxSetup({timeout:15000});this.writeHeader();this.writeContentFrame();this.writeTelevisionAndRadioInformation();this.writeUgColumn();this.writeGidsColumn();this.writeOmroepColumn();setTimeout("NPO_EXPLORE.npo.fixImageForIE(document.getElementById('npo_navigation_background'));",1);this.loadRss()},writeHeader:function(){jQuery("div#npo_navigation").prepend(jQuery('<div id="npo_navigation_header"/>').append(jQuery('<div id="npo_navigation_header_sluit_link"/>').append(jQuery('<a href="#"/>').append("Sluit").append(jQuery('<img src="'+NPO_EXPLORE.npo.assets_root+'/images/sluit.png" alt="Sluit navigatie"/>')))).append(jQuery('<div id="npo_navigation_header_omroepen_link"/>').append(jQuery('<a href="#"/>').append("Toon overzicht omroepen"))));jQuery("div#npo_navigation").prepend(jQuery('<img src="'+NPO_EXPLORE.npo.assets_root+'/images/uitklap.png" alt="Navigatie" id="npo_navigation_background"/>'));jQuery("div#npo_navigation_header_omroepen_link a").click(function(){NPO_EXPLORE.npo.toggleNetworks(this);return false});jQuery("div#npo_navigation_header_sluit_link a").click(function(){NPO_EXPLORE.npo.toggleNavigation(this);return false})},writeContentFrame:function(){jQuery("div#npo_navigation").append(jQuery('<div id="npo_navigation_content"/>'))},writeTelevisionAndRadioInformation:function(){var a=jQuery('<div id="npo_column_televisie" class="npo_column"/>');var b=jQuery('<div id="npo_column_radio" class="npo_column"/>');NPO_EXPLORE.npo.prepareColumn(a,this.television);NPO_EXPLORE.npo.prepareColumn(b,this.radio);jQuery("div#npo_column_televisie > ul > li:last-child").addClass("npo_column_last_item");jQuery("div#npo_column_radio > ul > li:last-child").addClass("npo_column_last_item");NPO_EXPLORE.npo.softclicks()},writeUgColumn:function(){jQuery("div#npo_navigation_content").append(jQuery('<div id="npo_column_ug" class="npo_column"/>').append(jQuery('<a href="http://www.uitzendinggemist.nl/" class="softclicks.uitzendinggemist.uitzendinggemist"/>').append(jQuery("<h1/>").append("Uitzending Gemist"))).append(jQuery('<div class="npo_loader"/>').append(jQuery('<img src="'+this.assets_root+'/images/loading.gif" alt="Data wordt ingeladen"/>'))).append(jQuery('<ul class="npo_want_to_know_more"/>').append(jQuery("<li/>").append(jQuery('<a href="http://www.uitzendinggemist.nl/" class="npo_with_left_arrow softclicks.uitzendinggemist.naar_uitzendinggemist"/>').append("naar Uitzending Gemist")))));NPO_EXPLORE.npo.softclicks()},writeGidsColumn:function(){jQuery("div#npo_navigation_content").append(jQuery('<div id="npo_column_gids" class="npo_column"/>').append(jQuery('<a href="http://gids.publiekeomroep.nl/tv/" class="softclicks.gids.gids"/>').append(jQuery("<h1/>").append("Gids"))).append(jQuery('<div class="npo_loader"/>').append(jQuery('<img src="'+this.assets_root+'/images/loading.gif" alt="Data wordt ingeladen"/>'))).append(jQuery('<ul class="npo_want_to_know_more"/>').append(jQuery("<li/>").append(jQuery('<a href="http://gids.publiekeomroep.nl/tv/" class="npo_with_left_arrow softclicks.gids.naar_tv-gids"/>').append("naar tv-gids"))).append(jQuery('<li class="npo_with_dotted_top"/>').append(jQuery('<a href="http://gids.publiekeomroep.nl/radio/" class="npo_with_left_arrow softclicks.gids.naar_radiogids"/>').append("naar radio gids")))));NPO_EXPLORE.npo.softclicks()},writeOmroepColumn:function(){jQuery("div#npo_navigation_content").append(jQuery('<div id="npo_column_omroep" class="npo_column"/>').append(jQuery('<a href="http://www.publiekeomroep.nl/" class="softclicks.omroepnl.omroepnl"/>').append(jQuery("<h1/>").append("Omroep"))).append(jQuery('<div id="npo_search"/>').append(jQuery('<form method="POST" action="'+this.root+'/searches/"/>').append(jQuery('<input type="text" id="npo_search_field" name="query" value="'+this.search_placeholder+'"/>')).append(jQuery('<input type="submit" id="npo_search_submit" class="softclicks.zoek" value=""/>')))).append(jQuery('<div class="npo_loader"/>').append(jQuery('<img src="'+this.assets_root+'/images/loading.gif" alt="Data wordt ingeladen"/>'))).append(jQuery('<ul class="npo_want_to_know_more"/>').append(jQuery("<li/>").append(jQuery('<a href="http://www.publiekeomroep.nl/" class="npo_with_left_arrow softclicks.omroepnl.naar_omroepnl"/>').append("naar Publiekeomroep.nl")))));var a=jQuery("#npo_search_field");a.blur(function(){NPO_EXPLORE.npo.searchFieldBlurred()});a.keyup(function(b){NPO_EXPLORE.npo.searchFieldKeyUp(b)});a.focus(function(){NPO_EXPLORE.npo.searchFieldGotFocus()});NPO_EXPLORE.npo.softclicks()},searchFieldBlurred:function(){var a=jQuery("#npo_search_field");if(a.val()==""){a.val(this.search_placeholder);jQuery("#npo_omroep_data").html(this.omroep_data)}},searchFieldKeyUp:function(b){clearTimeout(this.timer);var a=jQuery("#npo_search_field");if(a.val().length>0&&a.val()!=this.search_placeholder){this.timer=setTimeout("NPO_EXPLORE.npo.triggerSearch();",350)}else{jQuery("#npo_omroep_data").html(this.omroep_data)}},searchFieldGotFocus:function(){var a=jQuery("#npo_search_field");if(a.val()==this.search_placeholder){a.val("")}},triggerSearch:function(){var a=jQuery("#npo_search_field");if(a.val()!=this.search_old_value&&NPO_EXPLORE.npo.trim(a.val()).length>1){this.search_old_value=a.val();var b=NPO_EXPLORE.npo.normalizeQuery(a.val());jQuery.ajax({type:"GET",cache:true,dataType:"jsonp",error:NPO_EXPLORE.npo.failedSearch,success:NPO_EXPLORE.npo.showSearchSuggestions,url:NPO_EXPLORE.npo.root+"/searches/"+b})}},showSearchSuggestions:function(g,e){var f=jQuery("#npo_omroep_data");f.html("");f.append("<h2>Zoeksuggesties</h2>");if(g.length==0){f.append("<i>Geen suggesties gevonden.</i>")}else{for(var k=0;k<g.length;k++){var j=NPO_EXPLORE.npo.normalizeQuery(g[k].search.query);var c=g[k].search.query;var b=jQuery("#npo_search_field").val();var d=c.toLowerCase().indexOf(b.toLowerCase());if(d>-1){var i=c.substr(0,d);var h=c.substr(d,b.length);var a=c.substr(d+b.length);c=i+"<b>"+h+"</b>"+a}
f.append('<a href="'+NPO_EXPLORE.npo.root+"/searches/"+j+'" class="npo_with_left_arrow" onclick="NPO_EXPLORE.npo.customSubmit(this); return false;">'+c+"</a>")}}},customSubmit:function(b){var c=document.createElement("form");c.style.display="none";b.parentNode.appendChild(c);c.method="POST";c.action=b.href;var a=document.createElement("input");a.setAttribute("type","hidden");a.setAttribute("name","_method");a.setAttribute("value","put");c.appendChild(a);c.submit()},normalizeQuery:function(a){return encodeURIComponent(NPO_EXPLORE.npo.trim(a))},prepareColumn:function(b,d){b.append('<a href="'+d.follow_up.url+'" class="'+d.counter+'"><h1>'+d.name+"</h1></a>");var a=jQuery("<ul/>");for(var c in d.items){a.append(jQuery("<li/>").append(jQuery("<span/>").append(jQuery('<img src="'+this.assets_root+"/images/logo/"+c+'.png" alt="'+d.items[c].name+'"/>')).append(jQuery('<a class="black '+d.items[c].counter+'" href="'+d.items[c].url+'"/>').append(d.items[c].name))))}
b.append(a);b.append(jQuery('<ul class="npo_want_to_know_more"/>').append(jQuery("<li/>").append(jQuery('<a href="'+d.follow_up.url+'" class="npo_with_left_arrow '+d.follow_up.counter+'"/>').append(d.follow_up.name))));jQuery("div#npo_navigation_content").append(b)},toggleNetworks:function(a){if(this.networks_are_shown){NPO_EXPLORE.npo.registerSoftclick(a,"verberg_overzicht_omroepen");jQuery("div#npo_navigation_header_omroepen_link a").text("Toon overzicht omroepen");jQuery("#npo_column_televisie").fadeIn("normal");jQuery("#npo_column_radio").fadeIn("normal");jQuery("#npo_column_ug").fadeIn("normal");jQuery("#npo_column_gids").fadeIn("normal");jQuery("#npo_omroep_column").fadeOut("normal");this.networks_are_shown=false}else{NPO_EXPLORE.npo.registerSoftclick(a,"toon_overzicht_omroepen");if(jQuery("#npo_omroep_column").length==0){jQuery("#npo_navigation_content").append(jQuery("<div id='npo_omroep_column'/>").css("display","none"));NPO_EXPLORE.npo.writeNetworks()}
jQuery("div#npo_navigation_header_omroepen_link a").text("Verberg overzicht omroepen");jQuery("#npo_column_televisie").fadeOut("normal");jQuery("#npo_column_radio").fadeOut("normal");jQuery("#npo_column_ug").fadeOut("normal");jQuery("#npo_column_gids").fadeOut("normal");jQuery("#npo_omroep_column").fadeIn("normal");this.networks_are_shown=true}},writeNetworks:function(){jQuery("#npo_omroep_column").append(jQuery("<h1/>").append("Omroepen"));var a=jQuery("<ul/>");var b=1;var c=0;for(var d in this.network.items){a.append(jQuery("<li/>").append(jQuery('<img src="'+this.assets_root+"/images/logo/"+d+'.png" alt="'+this.network.items[d].name+'"/>')).append(jQuery('<a class="black '+this.network.items[d].counter+'" href="'+this.network.items[d].url+'"/>').append(this.network.items[d].name)));if((b%7)==0){jQuery("#npo_omroep_column").append(a);c++;a=jQuery("<ul/>");a.css("left",c*151+"px")}
b++}
if(a.length>0){jQuery("#npo_omroep_column").append(a)}
NPO_EXPLORE.npo.softclicks()},updateNavigationLocationAndSize:function(){jQuery("div#npo_navigation").css("top",jQuery("div#npo_button_container").offset().top+jQuery("div#npo_button_container").height()+10+"px");jQuery("div#npo_navigation").css("left",jQuery("div#npo_button_container").offset().left+jQuery("div#npo_button_container").width()-772+"px");var c=jQuery("html").get(0).clientHeight;var d=jQuery("html").get(0).scrollHeight;var b=jQuery("body").get(0).scrollHeight;var e=jQuery("html").get(0).clientWidth;var a=jQuery("html").get(0).scrollWidth;var newHeight=Math.max(c,Math.max(d,b));jQuery("div#npo_overlay").css("height",newHeight+"px");a>e?jQuery("div#npo_overlay").css("width",a+"px"):jQuery("div#npo_overlay").css("width",e+"px");jQuery("div#npo_overlay").css("top","0px")},toggleNavigation:function(a){if(this.cn_state=="closed"){NPO_EXPLORE.npo.registerSoftclick(a,"open");if(this.has_never_been_opened){NPO_EXPLORE.npo.initComponents();this.has_never_been_opened=false}
NPO_EXPLORE.npo.updateNavigationLocationAndSize();jQuery("div#npo_overlay").show();jQuery("div#npo_overlay").fadeTo("normal",0.65);jQuery(window).bind("resize.npo",function(){NPO_EXPLORE.npo.updateNavigationLocationAndSize()});NPO_EXPLORE.npo.toggleProblemObjectsVisibility(false);jQuery("div#npo_navigation").fadeIn("normal");this.cn_state="open"}else{NPO_EXPLORE.npo.registerSoftclick(a,"sluit");jQuery("div#npo_overlay").fadeTo("normal",0,function(){jQuery(window).unbind("resize.npo");jQuery("div#npo_overlay").hide()});jQuery("div#npo_navigation").fadeOut("normal",function(){NPO_EXPLORE.npo.toggleProblemObjectsVisibility(true)});this.cn_state="closed"}},toggleProblemObjectsVisibility:function(b){var a=(b===false&&NPO_EXPLORE.npo_hide_objects)?"hidden":"visible";jQuery("select,object,embed").css("visibility",a);jQuery("iframe").css("visibility",a)},replaceWith:function(c,b,a){jQuery(c).replaceWith(jQuery(b).append(a))},loadRss:function(){jQuery.ajax({type:"GET",cache:true,dataType:"jsonp",error:NPO_EXPLORE.npo.failedUgData,success:NPO_EXPLORE.npo.importUgData,url:this.root+"/feeds/uitzending-gemist-tips"});jQuery.ajax({type:"GET",cache:true,dataType:"jsonp",error:NPO_EXPLORE.npo.failedTipsData,success:NPO_EXPLORE.npo.importTipsData,url:this.root+"/feeds/omroepnl-etalage"});jQuery.ajax({type:"GET",cache:true,dataType:"jsonp",error:NPO_EXPLORE.npo.failedGidsData,success:NPO_EXPLORE.npo.importGidsData,url:this.root+"/feeds/tv-tips"})},failedUgData:function(a,c,b){NPO_EXPLORE.npo.failAjax("ug")},failedTipsData:function(a,c,b){NPO_EXPLORE.npo.failAjax("tips")},failedGidsData:function(a,c,b){NPO_EXPLORE.npo.failAjax("gids")},failedSearch:function(a,c,b){NPO_EXPLORE.npo.failAjax("search")},failedSurvey:function(a,c,b){NPO_EXPLORE.npo.failAjax("survey")},failAjax:function(a){switch(a){case"ug":NPO_EXPLORE.npo.replaceWith("div#npo_column_ug > div.npo_loader","<div id='npo_ug_data' class='npo_column_data'/>","<i>Geen tips van Uitzending Gemist beschikbaar.</i>");break;case"tips":NPO_EXPLORE.npo.replaceWith("div#npo_column_omroep > div.npo_loader","<div id='npo_omroep_data' class='npo_column_data'/>","<i>Geen webtips van Publiekeomroep.nl beschikbaar.</i>");NPO_EXPLORE.npo.omroep_data=jQuery("#npo_omroep_data").html();break;case"gids":NPO_EXPLORE.npo.replaceWith("div#npo_column_gids > div.npo_loader","<div id='npo_gids_data' class='npo_column_data'/>","<i>Geen gidstips beschikbaar.</i>");break;case"search":NPO_EXPLORE.npo.showSearchSuggestions("","");break}},importUgData:function(e,g){if(e!=""){var f=e[0].feed_item.title;var d=e[0].feed_item.description;var c=e[0].feed_item.link;var a=e[0].feed_item.enclosure_location;var b="";if(a!=""){b="<img src='"+a+"' alt='' class='npo_tip'/>"}else{b=""}
NPO_EXPLORE.npo.replaceWith("div#npo_column_ug > div.npo_loader","<div id='npo_ug_data' class='npo_column_data'/>","<strong>TIP</strong><h2><a class='black softclicks.uitzendinggemist.tip."+f.replace(/[^\w]/g,"")+"' href='"+c+"'>"+f+"</a></h2>"+b+NPO_EXPLORE.npo.truncate(d,165))}else{NPO_EXPLORE.npo.failAjax("ug")}
NPO_EXPLORE.npo.softclicks()},importGidsData:function(c,e){if(c!=""){var d=c[0].feed_item.title;var b=c[0].feed_item.description;var a=c[0].feed_item.link;NPO_EXPLORE.npo.replaceWith("div#npo_column_gids > div.npo_loader","<div id='npo_gids_data' class='npo_column_data'/>","<strong>TIP</strong><h2><a class='black softclicks.gids.tip."+d.replace(/[^\w]/g,"")+"' href='"+a+"'>"+d+"</a></h2>"+NPO_EXPLORE.npo.truncate(b,165))}else{NPO_EXPLORE.npo.failAjax("gids")}
NPO_EXPLORE.npo.softclicks()},importTipsData:function(b,c){if(b!=""){var a=b[0];var newHTML="<h2><a class='npo_with_left_arrow black softclicks.omroepnl.tip."+a.feed_item.title.replace(/[^\w]/g,"")+"' href='"+a.feed_item.link+"'>"+a.feed_item.title+"</a></h2>";newHTML+=a.feed_item.description;NPO_EXPLORE.npo.replaceWith("div#npo_column_omroep > div.npo_loader","<div id='npo_omroep_data' class='npo_column_data'/>",newHTML);NPO_EXPLORE.npo.omroep_data=jQuery("#npo_omroep_data").html()}else{NPO_EXPLORE.npo.failAjax("tips")}
NPO_EXPLORE.npo.softclicks()},getSitestat:function(){if(typeof(window.ns_1)!=="undefined"){var b=/nl\.sitestat\.com\/klo\/.*/.exec(ns_1.src).toString().replace(/&/g,"&");var d=b.split("&");NPO_EXPLORE.npo.sitestat.omroep=/nl\.sitestat\.com\/klo\/([\w\.\-]+)/.exec(d[0])[1];NPO_EXPLORE.npo.sitestat.categorie="";NPO_EXPLORE.npo.sitestat.thema="";for(var c=1;c<d.length;c++){var a=d[c].split("=");switch(a[0]){case"category":NPO_EXPLORE.npo.sitestat.categorie=a[1];break;case"thema":NPO_EXPLORE.npo.sitestat.thema=a[1];break}}
jQuery.ajax({type:"GET",cache:true,dataType:"jsonp",error:NPO_EXPLORE.npo.failedSurvey,success:NPO_EXPLORE.npo.triggerSurvey,url:this.root+"/surveys/"+encodeURIComponent(NPO_EXPLORE.npo.sitestat.omroep)+"?category="+encodeURIComponent(NPO_EXPLORE.npo.sitestat.categorie)})}},softclicks:function(){jQuery("#npo_button_container a")[0].removeAttribute("href");jQuery("a, input").unbind("click",NPO_EXPLORE.npo.softclicksHandler);jQuery("a, input").bind("click",NPO_EXPLORE.npo.softclicksHandler)},softclicksHandler:function(a){var b=/softclicks\.(.*)$/;if(this.className.match(b)){NPO_EXPLORE.npo.registerSoftclick(this,RegExp.$1)}},registerSoftclick:function(b,a){a="centraalnav.ontdeknl."+a;NPO_EXPLORE.ns_onclick(b,"",a,"clickout")},stripClickHandler:function(){jQuery("div#npo_button_container a").get(0).onclick="";setTimeout("NPO_EXPLORE.npo.stripClickHandler();",250)},triggerSurvey:function(a,b){if(a!=""){NPO_EXPLORE.npo.klo.domain=a.survey.domain;NPO_EXPLORE.npo.klo.is_polite=a.survey.is_polite;NPO_EXPLORE.npo.klo.appearance=a.survey.appearance;NPO_EXPLORE.npo.klo.quadrant=a.survey.quadrant;NPO_EXPLORE.npo.klo.chance=a.survey.chance;NPO_EXPLORE.npo.klo.name=a.survey.name;NPO_EXPLORE.npo.klo.identifier=a.survey.identifier;NPO_EXPLORE.npo_include_css(NPO_EXPLORE.npo.assets_root+"/javascripts/legacy-klo.js")}},trim:function(a){return a.replace(/^\s+|\s+$/g,"")},truncate:function(a,b){if(a.length>b){for(var c=b-1;a.charAt(c)!=" ";c--){b--}
return a.substr(0,b)+"[…]"}else{return a}}};if(typeof(window.npo_hide_objects)=="undefined"){my.npo_hide_objects=true}
my.npo.root="http://"+my.npo.host_name;my.npo.assets_root="http://assets."+my.npo.host_name;if(typeof(jQuery)!="function"){my.npo_include("http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js");my.jQueryWasPresent=false}
my.npo_include_css(my.npo.assets_root+"/stylesheets/default.css");return my;}());function npo_explore_init_button(){if(jQuery("#npo_button_container").length==0){setTimeout("npo_explore_init_button();",50);return}
var a=jQuery("div#npo_button_container a");jQuery("div#npo_button_container a").bind("click.npo",function(){NPO_EXPLORE.npo.toggleNavigation(this);return false});NPO_EXPLORE.npo.includeIE6CSS();NPO_EXPLORE.npo.stripClickHandler();NPO_EXPLORE.npo.getSitestat();NPO_EXPLORE.npo.softclicks()};function npo_explore_init(){if(typeof(jQuery)=="undefined"){setTimeout("npo_explore_init();",100);return}
if(!NPO_EXPLORE.jQueryWasPresent){jQuery.noConflict()}
NPO_EXPLORE.npo.overlay=jQuery("<div id='npo_overlay'/>");NPO_EXPLORE.npo.navigation=jQuery("<div id='npo_navigation'/>");npo_explore_init_button()}
npo_explore_init();
