 $(function() {
        
        $('#slideshow1').cycle({
        delay: 200,
        speed: 1500,
        before: onBefore
        });
        
        function onBefore() {
        $('#title').html(this.alt);
        }
        });