(function(){var A="hover",J='

$title

$rel

',D="body",C="auto",H="centered",B=60,K=10,G=/\$([a-z]+)/mig; var E={trigger:A,template:J,container:D,position:C,verticalOffset:K,horizontalOffset:B}; var F=[]; $.fn.tooltip=function(L){var L=$.extend({},E,L); var M=0; while(M=0){D=F.options[A].value }}else{if(F.type=="checkbox"){if(F.checked){D=F.value }}else{if(F.type=="radio"){var C=document.getElementsByName(F.name); var E=C.length; for(var B=0; B"+B+"") }}else{if(F){$("#"+D).remove() }var C=E.parent().find("."+G); if(!C||C.length===0){E.parent().removeClass("error") }E.removeClass("error") }};(function(E){function G(H){if(H.parent().hasClass("all")||H.parent().hasClass("current")){return false }return true }function B(K,M){var J,H=null,I; if(E("#Modalbox").length||M===""){return }J=E("#"+M); E(K).find("div.nav li.current").removeClass("current").find("a").each(function(){E(this).blur() }); E(K).find("ul.info li.current").removeClass("current"); J.addClass("current"); E(K).find("ul.info li."+M).addClass("current"); function L(){E(K).find(" > img:first").remove(); E("#newImg").removeAttr("style").removeAttr("id") }if(J.find("a").attr("rel")&&J.find("a").attr("rel")!==""){H=new Image(); H.src=J.find("a").attr("rel") }I=E(K).find("li.current span.project strong").html()===null?"":E(K).find("li.current span.project strong").html(); if(H){E(H).ready(function(){E(H).css({zIndex:1,opacity:0}).attr({width:K.zoomWidth,height:K.zoomHeight,alt:I,className:"zoom_img",id:"newImg"}).appendTo(K).animate({opacity:1},L) }) }}function C(L){var J,H,I,K; J=[]; H=E(L).find("div.nav li"); function M(){if(E(L).attr("id").indexOf("fix_")!==-1||H.length===0){return }H.each(function(){if(E(this).attr("id").length){J.push(E(this).attr("id")) }if(E(this).hasClass("current")){K=E(this).attr("id") }}); for(var N=0; N a').each(function(){E(this).mouseenter(function(){if(M.tickerTimer){clearTimeout(M.tickerTimer) }I(); if(!G(E(this))){return }var N=E(this).parents("li:first"); function O(){B(M,N.attr("id")) }if(N.attr("id")){J=setTimeout(O,200) }}).mouseleave(function(){if(J){clearTimeout(J) }if(E(M).attr("id").indexOf("fix_")===-1){C(M) }}); if(M.details==="inOverlay"){}else{E(this).click(function(){I(); if(!L(E(this).parent().attr("id"))){D(M,E(this).parents("li:first").attr("id")) }return false }) }}); if(M.details==="inOverlay"){}else{E(M).find("div.linkbutton a").click(function(){var N=E(this).attr("href").split("#")[1]; if(!L(N)){D(M,E(this).attr("href").split("#")[1]); E(this).blur() }return false }) }E(M).mouseleave(function(){if(E(M).attr("id").indexOf("fix_")!==-1){var N=E(M).attr("id").split("fix_")[1]; K=function(){B(M,N) }; H=setTimeout(K,400) }}) }function F(M){var J,O,H,L; J=E(M).find("div.nav:first ul:first"); O=E(M).find("div.nav:first").height(); L=false; function N(){if(H){clearTimeout(H) }}function K(){N(); if(L){return }L=true; J.animate({top:O+20+"px"},function(){L=false }) }function I(){N(); J.animate({top:0}) }E(M).find("div.nav:first").mouseenter(function(){I() }).mouseleave(function(){K() }); H=setTimeout(K,M.navDownDelay) }E.fn.allGallery=function(H){var I=E.extend({},E.fn.allGallery.defaults,H); return E(this).each(function(){this.interval=I.interval; this.navDownDelay=I.navDownDelay; this.details=I.details; this.zoomWidth=E(this).find("img:first").attr("width"); this.zoomHeight=E(this).find("img:first").attr("height"); this.tickerTimer=false; if(I.ticker===true){C(this) }A(this); if(I.navigation!=="static"){F(this) }}) }; E.fn.allGallery.defaults={navigation:"dynamic",ticker:true,interval:6000,navDownDelay:2000,details:"inOverlay"} })(jQuery);function GmapsUtils(A){this.elementId=A.elementId; this.locaties=[]; this.isSingle=A.isSingle; if(A.initialZoom){this.zoomFactor=A.initialZoom }else{this.zoomFactor=8 }this.map=null; try{if(typeof GBrowserIsCompatible!=="undefined"&&GBrowserIsCompatible()){this.map=new GMap2(document.getElementById(this.elementId)) }}catch(B){}}GmapsUtils.prototype.init=function(){if(this.map!==null){this.map.setCenter(new GLatLng(52.50284765940397,5.372314453125),this.zoomFactor); this.map.setUIToDefault() }}; GmapsUtils.prototype.getSingleLocationName=function(){if(typeof this.locaties==="undefined"||this.locaties===null){return null }for(var A in this.locaties){if(this.locaties.hasOwnProperty(A)){return A }}return null }; GmapsUtils.prototype.gotoLocation=function(A){if(!A||A===null){A=this.getSingleLocationName(); if(A===null){return }}if(this.map!==null&&this.locaties[A]){var B=new GLatLng(this.locaties[A].latitude,this.locaties[A].longitude); this.map.panTo(B); if(this.map.getZoom()!=11){this.map.setCenter(B,11) }if(!this.isSingle){this.map.openInfoWindowHtml(B,this.infoWindowHtml(A)) }}}; GmapsUtils.prototype.setLocaties=function(A){if(A&&A!==null){this.locaties=A }else{this.locaties=[] }}; GmapsUtils.prototype.getLocaties=function(B){var A=this; if(this.locaties.length===0){$.ajax({type:"GET",url:B,async:true,dataType:"JSON",success:function(C){this.locaties=C }}) }return this.locaties }; GmapsUtils.prototype.readXMLLocaties=function(C){if(!this.locaties||this.locaties===null||this.locaties.length===0){this.locaties=[]; var B=this.locaties; function A(E){if(E!==null&&E!==""){try{if(typeof E.getElementsByTagName==="undefined"){return }}catch(G){return }var J=""; var I=["merk","naam","straat","huisnummer","postcode","plaats","longitude","latitude"]; var D=E.getElementsByTagName("locatie"); if(D.length>0&&D[0].childNodes&&D[0].childNodes.length>0){for(var K=0; K0&&L[0].childNodes&&L[0].childNodes.length>0){H[I[F]]=L[0].childNodes[0].nodeValue; if("naam"===I[F]){J=L[0].childNodes[0].nodeValue }}}B[J]=H }}}}$.ajax({type:"GET",url:C,async:false,dataType:"xml",success:function(D){A(D) }}) }}; GmapsUtils.prototype.highlight=function(D){if(!D||D===null){D=this.getSingleLocationName(); if(D===null){return }}if(this.map!==null&&this.locaties[D]){var B=this; var E=new GIcon(); E.image=contextpath+"/ui/images/icons/icon_maps_"+this.locaties[D].merk+".png"; E.shadow=contextpath+"/ui/images/icons/icon_maps_shadow.png"; E.iconSize=new GSize(12,20); E.shadowSize=new GSize(22,20); E.iconAnchor=new GPoint(6,20); E.infoWindowAnchor=new GPoint(5,1); var A=new GLatLng(this.locaties[D].latitude,this.locaties[D].longitude); var C=new GMarker(A,E); GEvent.addListener(C,"click",function(F){C.openInfoWindowHtml(B.infoWindowHtml(D)) }); GEvent.addListener(C,"mouseover",function(F){C.openInfoWindowHtml(B.infoWindowHtml(D)) }); this.map.addOverlay(C) }}; GmapsUtils.prototype.infoWindowHtml=function(A){if(this.map!==null&&this.locaties[A]){var C=this.locaties[A]; var B="Locatie "+C.plaats+"

"; B+="Adres:
"; B+=C.straat+" "+C.huisnummer+"
"; B+=C.postcode+" "+C.plaats+"
"; return B }return"" }; GmapsUtils.prototype.clear=function(){if(this.map!==null){this.map.clearOverlays() }}; GmapsUtils.prototype.createSelect=function(D,C){if(this.map!==null){$("#"+C).html(""); var B=(googlemaps_locatieselect_alle_label)?googlemaps_locatieselect_alle_label:"alle locaties"; $("#"+C).append('"); for(var A in this.locaties){if(this.locaties.hasOwnProperty(A)){if(this.locaties[A].merk===D){$("#"+C).append('") }}}this.highlightAll(D) }}; GmapsUtils.prototype.highlightAll=function(B){if(this.map!==null){for(var A in this.locaties){if(this.locaties.hasOwnProperty(A)){if(this.locaties[A].merk===B){this.highlight(A) }}}}};$(document).ready(function(){$("#Dimlayer").css({width:document.body.clientWidth+"px"}); $("div.overview li").ie6Hover(); $("div.vacature_overview tbody tr").ie6Hover() });(function(A){A.fn.ie6Hover=function(B){if(jQuery.browser.msie){if(parseInt(jQuery.browser.version,10)===6){var C=A.extend({},A.fn.ie6Hover.defaults,B); return A(this).mouseover(function(){A(this).addClass("IE6hover") }).mouseout(function(){A(this).removeClass("IE6hover") }) }}}; A.fn.ie6Hover.defaults={hoverClass:"IE6hover"} })(jQuery); (function(A){A.fn.openNewWindow=function(){return A(this).click(function(){window.open(this.href,"newWindow"); return false }) } })(jQuery); (function(A){A.fn.setFocus=function(B){return A(this).each(function(){var F=A.extend({},A.fn.setFocus.defaults,B),E,D,C; if(F.inputs){E=A(this).find(":input"); D=A(this).find("div.error :input") }if(F.inputs&&E.length>0){if(D.length>0){D[0].focus(); return true }if(E[0].nodeName!=="SELECT"){for(C=0; C0){A(this).find("a:not([class="+F.exceptlinkClass+"]):first").focus() }else{A(this).find("a:first").focus() }}}) }; A.fn.setFocus.defaults={exceptlinkClass:"closemodal",inputs:true,linkElems:true} })(jQuery); (function(A){A.fn.keepFocusInContainer=function(){return A(this).each(function(){var B=A(this); A("a, input, select, textarea").focus(function(){if(A(this).parents("div#Modalbox").length===0){A(B).setFocus({exceptlinkClass:false,inputs:false}) }}) }) } })(jQuery); (function(A){A.fn.ieFocusField=function(){return A(this).focus(function(){A(this).addClass("hasFocus") }).blur(function(){A(this).removeClass("hasFocus") }) } })(jQuery); (function(A){A.fn.focusSelectValue=function(){return A(this).focus(function(){if(this.value===this.defaultValue){this.select() }}) } })(jQuery); (function(A){A.fn.followBlockLink=function(B){var C=A.extend({},A.fn.followBlockLink.defaults,B); return A(this).click(function(D){if(A(this).hasClass(C.skipClass)||D.target.nodeName==="A"){return }var E=A(this).find("a:"+C.link).attr("href"); if(E!==undefined){document.location=E }}) }; A.fn.followBlockLink.defaults={link:"first",skipClass:"noresult"} })(jQuery); (function(A){A.fn.testimonials=function(){return A(this).mouseenter(function(){A(this).addClass("action") }).mouseleave(function(){A(this).removeClass("action") }).find("li").mouseenter(function(){A(this).parents("div.testimonials").addClass("action"); A(this).attr("id","TesActive").find("div.quote").css({opacity:0}).animate({opacity:1},function(){A(this).removeAttr("style") }); A(this).find("div.image img.zoom").css({opacity:0}).animate({opacity:1}) }).mouseleave(function(){A(this).removeAttr("id").find("div.quote").removeAttr("style"); A(this).parents("div.testimonials").removeClass("action") }) } })(jQuery); (function(A){A.fn.orgTooltip=function(B){var C=A.extend({},A.fn.orgTooltip.defaults,B); return A(this).each(function(){var F=C.relTooltip(A(this)),E=F.height(),D=A(this).width(); A(this).mouseover(function(){A(this).css("position","relative"); F.addClass("show"); F.css({top:-E+30+"px",left:D/2-60+"px"}) }).mouseout(function(){A(this).css("position","static"); F.removeClass("show"); F.removeAttr("style") }) }) }; A.fn.orgTooltip.defaults={relTooltip:function(B){return B.find(".tooltip") }} })(jQuery); $.fn.interactInput=function(A){var B=$.extend({},$.fn.interactInput.defaults,A); return $(this).each(function(){var C=this.defaultValue; $(this).focus(function(){if($(this).attr("value")===C){$(this).attr("value","") }if(B.removeErrorClass&&$(this).parent().hasClass(B.removeErrorClass)){$(this).parent().removeClass(B.removeErrorClass).find("span.message").remove() }if(B.toggleClass){$(this).removeClass(B.toggleClass) }}).blur(function(){if($(this).attr("value")!==C&&$(this).attr("value").length0){B.addClass("statusGo") }else{B.removeClass("statusGo") }}A.keyup(C) }) }; function organogram(){var A=false; $("div.organisatie li > a").mouseover(function(){var B=$(this).siblings("div.info"); if(A){if(B.hasClass("show")){B.removeClass("show"); A=false }else{if($("div.organisatie li > div.info").hasClass("show")){A=false; B.addClass("show") }else{B.addClass("show") }}}}); $("div.organisatie div.info").mouseover(function(){A=true }).mouseout(function(){if($(this).hasClass("show")){A=false; $(this).removeClass("show") }}) }var all_utils={getIdFromHref:function(A){if(A.split("#")[1]){return"#"+A.split("#")[1] }}}; $.fn.closeOnEscape=function(A){return $(this).each(function(){var B=$(this); $(document).keydown(function(C){if(C.which===27){if(B.length===1){A() }}}) }) }; $.datepicker.setDefaults({changeYear:true,changeMonth:true,showOn:"button",buttonImageOnly:true,buttonImage:calendarImgPath,buttonText:"kies datum",constrainInput:false,duration:"fast"}); $.datepicker.regional.nl={closeText:"Sluiten",prevText:"�",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","maa","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],dateFormat:"dd-mm-yy",firstDay:1,isRTL:false}; $.datepicker.setDefaults($.datepicker.regional.nl);if(document.getElementsByTagName){$("html:first").addClass("js") }function gmapsVisible(){var A=$("div.gmap:visible"); return A.length!==0 };(function(D){var I,J="Dimlayer",K="LoadingContent",C,B,E,F="De door u opgevraagde pagina is niet gevonden",A='

'+F+'

X
'; D.fn.genOverlay=function(L){var M=D.extend({},D.fn.genOverlay.defaults,L); return D(this).click(function(N){I=M; C.create(this); C.processHref(this); D("#"+M.overlayId).closeOnEscape(C.close); D(this).blur(); return false }) }; D.fn.genOverlay.defaults={overlayId:"Modalbox",overlayClass:"full",overlayContentId:"ModalContent",overlayPosition:null,fadeSpeed:300,collapseSpeed:400,pageOpacity:0.6,loadingImg:"../ui/images/ajax/ajax-loader.gif",galleryId:"Gallery",loadStyle:"ajax"}; function H(){var M=D(window).height(),L=D(document).scrollTop(); return(M/2+L) }function G(L){if(L.which===27){if(D("#ModalContainer").length===1){C.close() }}}C={create:function(){if(D("#"+I.overlayId).length===0){D("
").attr({id:"ModalContainer"}).css({height:D(document).height()+"px"}).attr({className:I.overlayClass}).appendTo("body:first"); E.create(); D("
").attr({id:I.overlayId}).appendTo(D("#ModalContainer")) }},processHref:function(M){var L=D(M).attr("href").split("#")[0]; if(I.loadStyle==="ajax"){C.loadHtml(L) }else{C.showHtml(M) }},loadHtml:function(M){var L; D.ajax({url:M,error:function(N){L=A },success:function(N){L=D(N).find("#Modalbox").length>0?D(N).find("#Modalbox").html():A },complete:function(){D("#"+I.overlayId).html(L); C.flashObj(); C.loadSucces() }}) },showHtml:function(M){var L=D(M).attr("href"); I.movedElemParent=D(M).parent(); I.movedElem=D("
").html(D(L).clone()).find(L); D("#"+I.overlayId).html(D(L)); C.loadSucces() },manageUrl:function(M){var L; if(I.loadStyle==="ajax"){L=M+" #"+I.overlayId+" > div" }else{L=M }return L },flashObj:function(){if(D("#"+I.overlayId+" object").length>0){var P,M,N,L,Q,S,T,U,R={}; P=D("#"+I.overlayId+" object:first"); M=P.parent(); M.css({height:P.attr("height")+"px"}); N=P.find("param"); for(var O=0; O0&&D("#"+I.overlayId+" :input:first").parents(":hidden").length===0){D("#"+I.overlayId+" :input:first").focus() }else{if(D("#"+I.overlayId+' a:not(".closemodal"):first').length&&D("#"+I.overlayId+' a:first:not(".closemodal")').parents(":hidden").length!==1){D("#"+I.overlayId+' a:not(".closemodal"):first').focus() }else{D("#"+I.overlayId+" a.closemodal").focus() }}},closeButton:function(){D("#"+I.overlayId+" a.closemodal").click(function(){C.close(); return false }) },close:function(){D("#"+I.overlayId).fadeOut(I.collapseSpeed); setTimeout(E.removeDim,I.collapseSpeed*0.3); if(I.loadStyle!=="ajax"){I.movedElemParent.append(I.movedElem) }}}; B={create:function(){D("#ModalContainer").append('
'); D("#"+K).css({top:H()+"px"}) },removeLoading:function(){D("#"+K).remove() }}; E={create:function(){D("#ModalContainer").append('
'); E.setHeight(); D("#"+J).css({opacity:0}).animate({opacity:I.pageOpacity},I.fadespeed); B.create() },setHeight:function(){D("#"+J).css({height:D(document).height()+"px"}) },removeDim:function(){D("#"+J).animate({opacity:0},I.fadeSpeed,function(){D("#ModalContainer").remove() }) }} })(jQuery);(function(A){A.fn.toggleDrawer=function(C){var D=A.extend({},A.fn.toggleDrawer.defaults,C); function E(F){var G=F.outerHeight()+"px"; F.animate({marginTop:"-"+G},function(){A(D.toggleClassId).removeClass("show") }) }function B(F){F.animate({marginTop:0},function(){A(D.toggleClassId).addClass("show") }) }return A(this).each(function(){if(!A(D.toggleClassId).hasClass("show")){E(A(D.toggleClassId+" "+D.drawerElem)) }A(this).click(function(){if(A(D.toggleClassId).hasClass("show")){E(A(D.toggleClassId+" "+D.drawerElem)) }else{B(A(D.toggleClassId+" "+D.drawerElem)) }return false }) }) }; A.fn.toggleDrawer.defaults={drawerElem:".drawer",toggleClassId:"#Nav_pa"} })(jQuery);function pageControls(){$("#Controls a.print").click(function(){window.print(); close(); return false }) };(function(A){A.fn.toggleTableRows=function(B){var D=A.extend({},A.fn.toggleTableRows.defaults,B); return A(this).click(function(){if(A(this).parents("tbody").hasClass(D.toggleClass)===false&&D.showOneCat){C(this) }if(A(this).parents("tbody").hasClass(D.toggleClass)&&D.showOneCat){A(this).parents("tbody").removeClass(D.toggleClass) }else{A(this).parents("tbody").addClass(D.toggleClass) }}); function C(E){A(E).parents("table").find("tbody").each(function(){if(this!==E){A(this).removeClass(D.toggleClass) }}) }}; A.fn.toggleTableRows.defaults={toggleClass:"showRelated",showOneCat:true} })(jQuery); (function(A){A.fn.showCellPosition=function(C){var D=A.extend({},A.fn.showCellPosition.defaults,C); return A(this).find("tbody tr:not(."+D.exceptRowClass+") > td").each(function(){var G=A(this).parents("table"); var F=B(this,"x"); var E=B(this.parentNode,"y"); A(this).mouseover(function(){var K=A(this).parents("tr"); var H=G.find("tr"); for(var J=0; J<=F; J++){K.find(">*:eq("+J+")").addClass(D.hilightClass) }if(D.hilightThead){if(G.find("thead tr > *").length==K.find(">*").length){G.find("thead tr > *:eq("+F+")").addClass(D.hilightClass) }}else{for(var I=0; I*").length==K.find(">*").length){G.find("tr:eq("+I+")").find(">*:eq("+F+")").addClass(D.hilightClass) }}}A(this).addClass("over") }).mouseout(function(){G.find("td,th").removeClass(D.hilightClass+" over") }) }) }; A.fn.showCellPosition.defaults={hilightClass:"hilight",exceptRowClass:"togglerows",hilightThead:false}; function B(C,F){var E=F=="x"?A(C).parents("tr").find(">*"):A(C).parents("table").find("tr"); for(var D=0; D0){B(C).find(":input:first").focus() }}B.fn.tabNav.defaults={activeClass:"active",setFocus:false} })(jQuery); (function(A){A.fn.navHarmonica=function(B){var C=A.extend({},A.fn.navHarmonica.defaults,B); return A(this).find("ul:first").each(function(){var D=A(this); A(this).find("h3 a").click(function(){var G=A(this).parent(); G.next(":hidden").length?E(G.next()):F(G.next()); function F(H){H.slideUp(C.speed).parents("li:first").removeClass("show") }function E(H){if(C.showSingleOnly){D.find("li.show > h3").next().each(function(){F(A(this)) }) }H.slideDown(C.speed).parent().addClass("show") }return false }) }) }; A.fn.navHarmonica.defaults={showSingleOnly:true,speed:300} })(jQuery);(function(A){A.fn.toggleRelated=function(B){var C=A.extend({},A.fn.toggleRelated.defaults,B); return A(this).each(function(){var D=A(this); function E(){var I=D.attr("value"),F=null,H=[],G; D.find("option").each(function(){if(A(this).attr("value")===I){A("#"+A(this).attr(C.relAttribute)).show("fast"); F=A(this).attr(C.relAttribute) }if(!(F&&A(this).hasClass(F))){H.push(A(this).attr(C.relAttribute)) }}); for(G in H){if(H.hasOwnProperty(G)&&F&&F!==H[G]){A("#"+H[G]).hide() }}}if(C.trigger==="select"){E(); A(this).change(function(){E() }) }if(C.trigger==="checkbox"){if(A(this).is(":checked")){A("#"+this.name).show("fast") }A(this).click(function(){var F=this.name; if(A(this).is(":checked")){A("#"+F).show("fast") }else{A("#"+F).hide("fast") }}) }}) }; A.fn.toggleRelated.defaults={hideClass:"jsHidden",trigger:"checkbox",relAttribute:"value"} })(jQuery);