// JavaScript Document

$('#divSlideShow').cycle({ 
    fx:     'scrollLeft', 
    timeout: 7000, 
    before:  onBefore, 
    after:   onAfter 
 });

function onBefore() { 
    $('#output').html("Scrolling image:<br>" + this.src); 
} 
function onAfter() { 
    $('#output').html("Scroll complete for:<br>" + this.src) 
        .append('<h3>' + this.alt + '</h3>'); 
}
