$.fn.cycle.defaults.timeout = 6000;
$(function() {
    $('table pre code').not('#skip,#skip2').each(function() {
        eval($(this).text());
    });

	$('#prompt').cycle({ 
    fx:     'scrollLeft', 
    timeout: 5000, 
    delay:  -1000 
});
});
 
function onBefore() {
    $('#output').html("Scrolling image:<br>" + this.src);
}
function onAfter() {
    $('#output').html("Scroll complete for:<br>" + this.src)
        .append('<h3>' + this.alt + '</h3>');
}

/******/

$.fn.cycle.defaults.timeout = 6000;
$(function() {
    $('table pre code').not('#skip,#skip2').each(function() {
        eval($(this).text());
    });

	$('#prompt2').cycle({ 
    fx:     'scrollLeft', 
    timeout: 5000, 
    delay:  -1000 
});
});
 
function onBefore() {
    $('#output').html("Scrolling image:<br>" + this.src);
}
function onAfter() {
    $('#output').html("Scroll complete for:<br>" + this.src)
        .append('<h3>' + this.alt + '</h3>');
}
