function customBodyLoad(){}function customBodyResize(){}function customBodyScroll(){}function receiptScroll(){var a=JQ.query(window).scrollTop()-400;0>a&&(a=0);JQ.query("#divReceipt").stop().animate({marginTop:a+"px"});20<a?JQ.query("#divReceipt .infoBlok").addClass("first"):JQ.query("#divReceipt .infoBlok").removeClass("first")}var progressWidth=650,progressCurrentWidth=0,endProgress=!1,progressTimer;
function onBefore(){progressCurrentWidth=0;JQ.query(".progress").width(0);endProgress=!1;clearInterval(progressTimer);progressTimer=setInterval("progress()",66)}function progress(){JQ.query(".progress").width();progressCurrentWidth>=progressWidth&&(clearInterval(progressTimer),JQ.query("#slider").cycle("resume"),JQ.query("#slider").cycle("next"),JQ.query("#slider").cycle("pause"));JQ.query(".progress").width(progressCurrentWidth);progressCurrentWidth+=6}
function onAfterScroll(a,c){JQ.query("*[id ^= 'bullet_']").removeClass("current");var d=c.id.replace("slide_","");JQ.query("#bullet_"+d).addClass("current")}function gotoSlide(a){selectedSlider&&selectedSlider.cycle(a);JQ.query("*[id ^= 'bullet_']").removeClass("current");JQ.query("#bullet_"+(a+1)).addClass("current")}
function showParkInfo(a){hideParkInfo();JQ.query("#park_marker_"+a).addClass("current");JQ.query("#park_link_"+a).addClass("current");JQ.query("#park_marker_"+a+" .tooltip").show()}function hideParkInfo(){JQ.query("*[id ^= 'park_marker_']").removeClass("current");JQ.query("*[id ^= 'park_link_']").removeClass("current");JQ.query("*[class ^= 'tooltip']").hide()}
function gotoTab(a){JQ.query("*[id ^= 'tab_']").removeClass("current");JQ.query("*[id ^= 'content_']").hide();JQ.query("#tab_"+a).addClass("current");JQ.query("#content_"+a).show();"location"==a&&parkLatlng&&!parkMap&&setTimeout("initializeParkMap();",50);"photos"==a&&initParkGallerySlider()}var parkMap,parkLatlng;
function initializeParkMap(){var a={zoom:10,center:parkLatlng,mapTypeId:google.maps.MapTypeId.ROADMAP};parkMap=new google.maps.Map(document.getElementById("map_canvas"),a);var a=new google.maps.MarkerImage("img/mapMarker.png",new google.maps.Size(63,51),new google.maps.Point(0,0),new google.maps.Point(0,51)),c=new google.maps.MarkerImage("img/mapMarkerShadow.png",new google.maps.Size(63,51),new google.maps.Point(0,0),new google.maps.Point(0,51));new google.maps.Marker({position:parkLatlng,map:parkMap,
shadow:c,icon:a})}
function initParkGallerySlider(){if(JQ.query(".gallerySlider").is(":visible")){JQ.query(".gallerySlider").smoothDivScroll({scrollingHotSpotLeft:".slideLeft",scrollingHotSpotRight:".slideRight",scrollWrapper:".slider",scrollableArea:".sliderContent"});var a=JQ.query("div.galleryBig img"),c=a.width(),d=a.height(),e=(new Url(a.attr("src"))).get("mode");JQ.query(".sliderContent img").click(function(b){b=new Url(b.target.parentNode.rel);b=b.add("width",c);b=b.add("height",d);b=b.add("mode",e);a.prop("src",
b.toString())})}}function toggleGroup(a,c){var a=JQ.query(a),d=JQ.query("#divArticles_"+c),e=a.children("span");"none"==d.toggle().css("display")?(a.removeClass("less"),e.text(getMessage("uitklappen").text)):(a.addClass("less"),e.text(getMessage("inklappen").text))};

