$(window).bind("load", function(){
        $("div#gallery").slideViewerPro({
		thumbs: 5, 
		thumbsPercentReduction: 19.47,
		asTimer: 4500, 
		galBorderWidth: 0,
		thumbsTopMargin: 3,
		thumbsRightMargin: 5,
		thumbsBorderWidth: 5,
		thumbsActiveBorderColor: "#ec4f92",
		thumbsActiveBorderOpacity: 0.8,
		thumbsBorderOpacity: 0,
		shuffle: false,
		autoslide: true, 
		typo: false
        });
});	


$(document).ready(function(){            
        
        //wrap any a tag in content block with a span
        $('#home-gallery .content a').wrap('<span class="button" />');
        $('#home-gallery .content span').after('<img src="/interface/images/button-right.png" width="28" height="38" alt="button">');
                

});
