$.fn.cycle.defaults.speed   = 900;
$.fn.cycle.defaults.timeout = 6000;

$(function() {
    // run the code in the markup!
    $('#main pre code').each(function(){
        eval($(this).text());
    });
});


function onAfter() {
    $('#output').html(this.alt);
}