$().ready(function () {
 
    // Shadowbox
    Shadowbox.init({
        // let's skip the automatic setup because we don't have any
        // properly configured link elements on the page
        skipSetup: true
    });
    Shadowbox.setup();
	
 // Check if specific page/pagetype or feature has been loaded
        if ($("body#startPage").size())
        $.publish("/carstens/pages/startpage/init");

    if ($("#big-images").size())
        $.publish("/carstens/big-gallery/init");
});

function selectListImage(i) {
    $("#big-image").attr("src", $("#image-list li:eq(" + i + ") .big-imageurl").text());
}


