$(document).ready(function () {

    /*
    $("div[class*=blog_body]").find("span[id*=ViewBlog]").hide().end().find("div[class*=blog_head]").click(function () {
        $(this).next().slideToggle();
    });
    */

    /*
    $(function () {
        // if the function argument is given to overlay,
        // it is assumed to be the onBeforeLoad event listener
        $("a[rel]").overlay({
            mask: 'grey',
            effect: 'apple',
            onBeforeLoad: function () {
                // grab wrapper element inside content
                var wrap = this.getOverlay().find(".contentWrap");
                // load the page specified in the trigger
                wrap.load(this.getTrigger().attr("href"));
            }
        });
    });
    */

	$("img[class*=vorschau]").each(function () {
        var t = $(this).text();
        $(this).wrap('<div class="highslide-gallery"><ul><li><a href="' + this.src + '" class="highslide" onclick="return hs.expand(this, config1 )"></a></li></ul></div>');
    });

});

