    Shadowbox.init({
        overlayOpacity: 0.8,
        flashVars: {
            provider: 'http',
            'http.startparam':'start',
            stretching: 'exactfit'
        },
        modal: true
    });


    $(document).ready(function() {
        // Tell shadowbox to use a different provider when playing mp3 files
        $('a[rel*="shadowbox"][href$=".mp3"]').click(function() {
            Shadowbox.options.flashVars.provider = "sound";
        });

        $("img.playbutton").mouseover(function() {
            var re = /\.(jpg|gif|png)$/;

            var src = $(this).attr("src");

            if (src.match(re)) {
                $(this).attr("src", src.replace(re, "-over.$1"));
            }
        });

        $("img.playbutton").mouseout(function() {
            var src = $(this).attr("src");

            $(this).attr("src", src.replace(/\-over/, ""));
        });
    });

