$(function() {
        
    $('#slideshow').after('<div id="nav" class="nav">').cycle({
        fx:     'fade',
        speed:  'fast',
        timeout: 0,
        pager:  '#nav',
        before: onBefore
    });
    
        function onBefore() {
        $('#title').html(this.alt);
    }
});



