$(function() {
    $('#slideshow').cycle({
		fx:           'fade', // name of transition effect (or comma separated names, ex: fade,scrollUp,shuffle) 
		timeout:       7000,  // milliseconds between slide transitions (0 to disable auto advance) 
    	speed:         2500,  // speed of the transition (any valid fx speed value) 
		autostop:      9,     // true to end slideshow after X transitions (where X == slide count) 
		pause:         0     // true to enable "pause on hover" 
		 });
    
    function onBefore() {
        $('#title').html(this.alt);
    }
});



