$(document).ready(function(){    $("a[rel='external']").attr('target','_blank');    $("#content > #right > #thumbs > a").lightBox();    $("div").pngFix();	     /*detail tabs*/    $('#detail_tabs h2').each(function()    {        $(this).html("<span class=\"lft\">&nbsp;</span><span class=\"middle\">"+$(this).html()+"</span><span class=\"rght\">&nbsp;</span>");    }).click(function()    {        $('#detail_tabs h2').removeClass("active");        $(this).addClass("active");        var hoeveelste = $(this).parent().children("h2").index(this);        $('#detail_tabs_inhoud div').hide().eq(hoeveelste).show();    });    $('#detail_tabs').append('<div class="einde"></div>');        var uri = window.location.href;    if(uri.search("#moreinformation") > -1) {        $('#detail_tabs h2').eq(3).addClass("active");        $('#detail_tabs_inhoud div').hide().eq(3).show();    } else {        $('#detail_tabs h2').eq(0).addClass("active");        $('#detail_tabs_inhoud div').hide().eq(0).show();    }    /*einde detail tabs*/    $(".click-more-info").click(function() {        var href = $("a", $(this)).attr("href");        window.location.href=href;    });	 	     $("input[name=\"type_object\"]").click(function(){        val = $(this).val();        if($(this).is(':checked')){            $("."+val).show();        }else{            $("."+val).hide();        }    });                if ($.browser.msie && $.browser.version.substr(0,1)<7) {		    }else{        $('#pngoverlay').after('<div class="overlaywrap"></div>');    }    /** homeblocks **/    $(".homeblock").hide();    $(".homeblock:first").show();    setInterval(function() {        if($(".homeblock").length > 1) {            var current = $(".homeblock:visible");            var next = current.next();            if(!next.hasClass("homeblock"))                next = $(".homeblock:first");            current.fadeOut('slow', function() {                next.fadeIn('slow');            });        }    }, 5000);});function loadSelection(){    $("input[name=\"type_object\"]").each(function(){        val = $(this).val();        if($(this).is(':checked')){            $("."+val).show();        }else{            $("."+val).hide();        }    });}