// JavaScript Document

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