function showAnswer(a){JQ.query("#faq_"+a).slideToggle(200);JQ.query("#question_"+a).toggleClass("open")}function gotoCategory(){var a=Html.get("quickSelect").value;location.href=a}function filterFolders(){var a=Html.get("quickSelect").value,b=new Url;b=b.filter("letter");b=a==0?b.filter("filter"):b.add("filter",a);location.href=b}function onAfter(){for(var a=1;a<=maxNav;a++)$("bullet_"+a).className="";a=this.id.replace("header_","");$("bullet_"+a).className="current"}
function gotoSlide(a){slider&&slider.cycle(a);for(var b=1;b<=maxNav;b++)$("bullet_"+b).className="";$("bullet_"+(a+1)).className="current"}function toggleTeam(){JQ.query("#hiddenTeam").toggle();JQ.query("#toggleTeam").html()=="alle specialisten &gt;&gt;"?JQ.query("#toggleTeam").html("<< inklappen"):JQ.query("#toggleTeam").html("alle specialisten >>")}var lightBox;
function initPlayer(a,b){var c=a;c="myytplayer_"+b;swfobject.embedSWF("http://www.youtube.com/v/"+a+"?enablejsapi=1&amp;version=3","movieDiv_"+b,"560","400","8",null,null,{allowScriptAccess:"always",wmode:"transparent"},{id:"myytplayer_"+b})}function showMovie(a,b){if(lightBox=new TLightBox("movie_"+b)){lightBox.show();initPlayer(a,b)}}function hideMovie(a){if(lightBox){JQ.query("#movieContainer_"+a).html('<div id="movieDiv_'+a+'"></div>');lightBox.hide()}}var locationmap,bounds,locations=[];
function getMapImage(a){var b="iconMapZiekenhuis.png";if(a==585)b="iconMapBuitenpoli.png";else if(a==586)b="iconMapDiagnostisch.png";return new google.maps.MarkerImage("img/"+b+"",new google.maps.Size(36,37),new google.maps.Point(0,0),new google.maps.Point(0,37))}
function initializeMap(){var a={zoom:11,center:new google.maps.LatLng(52.054179,4.329987),mapTypeId:google.maps.MapTypeId.ROADMAP};locationmap=new google.maps.Map(document.getElementById("map_canvas"),a);a=new google.maps.MarkerImage("img/mapIconShadow.png",new google.maps.Size(36,37),new google.maps.Point(0,0),new google.maps.Point(0,37));bounds=new google.maps.LatLngBounds;if(locations)for(var b=0;b<locations.length;b++){var c=getMapImage(locations[b].type);addLocationToMap(locations[b],c,a)}toggleLocations(true,
584,false);toggleLocations(true,585,false);toggleLocations(true,586,false)}function toggleLocations(a,b,c){for(var d=0;d<locations.length;d++)locations[d].type==b&&locations[d].marker.setVisible(a);JQ.query("*[id ^= 'type_"+b+"_']").toggle();c&&closeInfoWindow()}
function addLocationToMap(a,b,c){var d=new google.maps.LatLng(a.latitude,a.longitude);b=new google.maps.Marker({position:d,map:locationmap,shadow:c,icon:b,title:a.name});a.marker=b;google.maps.event.addListener(b,"click",function(){openInfoWindow(a)});bounds.extend(d)}function openInfoWindow(a){var b=new google.maps.LatLng(a.latitude,a.longitude);locationmap.setCenter(b);JQ.query("div[id ^= 'location_']").css("display","none");JQ.query("div[id = 'location_"+a.ID+"']").css("display","")}
function openInfoWindowByID(a,b,c){b=new google.maps.LatLng(b,c);locationmap.setCenter(b);JQ.query("div[id ^= 'location_']").css("display","none");JQ.query("div[id = 'location_"+a+"']").css("display","")}function openInfoWindowByID(a){for(var b=0;b<locations.length;b++){var c=locations[b];c.ID==a&&openInfoWindow(c)}}function closeInfoWindow(){JQ.query("div[id ^= 'location_']").css("display","none")}
function showSpecialistTab(a){JQ.query("a[id ^= 'tab_']").removeClass("current");JQ.query("a[id = 'tab_"+a+"']").addClass("current");JQ.query("*[id ^= 'content_']").hide();JQ.query("*[id = 'content_"+a+"']").show()};

