        // override Highslide settings here
        // instead of editing the highslide.js file
        hs.graphicsDir = '/external/highslide/graphics/';
        hs.showCredits = false;
        hs.align       = 'center';

        // Add the controlbar
        var arr_slide = new Array();
        arr_slide[0] = 'group1';
        arr_slide[1] = 'group2';

        if (hs.addSlideshow) hs.addSlideshow({
            slideshowGroup: arr_slide,
            interval: 5000,
            repeat: false,
            useControls: true,
            fixedControls: 'fit',
            overlayOptions: {
                opacity: .50,
                position: 'bottom center',
                hideOnMouseOut: true
            }
        });


$(document).ready(function(){

	$("a[name]").html('&nbsp;').addClass('nolink');
	// Bad Browsers
    $.reject();

    //standaard alle accordion items niet tonen
	$('.accordion h3').next().hide();

    //code voor het togglen van de accordion items inclusief aanpassen achtergrond item header
    $('.accordion h3').toggle(function() {
        $(this).next().slideDown();
        if( $(this).hasClass('li1')){
            $(this).addClass('li1_current');
            $(this).removeClass('li1');
        } else {
            $(this).addClass('li2_current');
            $(this).removeClass('li2');
        }
    }, function() {
        $(this).next().slideUp();
        if( $(this).hasClass('li1_current')){
            $(this).addClass('li1');
            $(this).removeClass('li1_current');
        } else {
            $(this).addClass('li2');
            $(this).removeClass('li2_current');
        }
    });

    $("#route_googlemaps").fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
        'type'				: 'iframe'
	});

    $("body").removeClass("coda-slider-no-js");
            // Preloader
            $(".coda-slider").children('.panel').hide().end().prepend('<p class="loading">Loading...</p>');
            $('#coda-slider-1').codaSlider({dynamicTabs: false, autoSlide: true});

 });

