$.fn.cycle.defaults.timeout = 6000;
$(function() {
    // run the code in the markup!
$('td pre code').each(function() { eval($(this).text());
$('#s0').cycle('fade');
$('#s1').cycle({ fx: 'zoom', easing: 'bouncein', delay: -4000 });
$('#s2').cycle({ fx: 'scrollDown', easing: 'bounceout', delay: -0 });
$('#s3').cycle({ fx: 'zoom', sync: 0, delay: -4000 });
$('#s4').cycle({ fx: 'scrollDown', sync: 0, delay: -2000});
$('#s5').cycle({ fx: 'shuffle', delay: -4000});
$('#s9').cycle({ fx: 'shuffle', shuffle: { top: -25, left: 30 }, easing: 'backinout', delay: -2000});
$('#s10').cycle({ fx: 'shuffle', delay: -4000});
$('#s8').cycle({ fx: 'fade', speed:  100 });
$('#s6').cycle({ fx: 'scrollUp', timeout: 6000, delay:  -2000 });
$('#s7').cycle({ fx:  'scrollRight', delay: -1000 });
function onBefore() {
    $('#title')
        .html(this.alt);
};
$('#snext').cycle({  prev: '#prev',  next: '#next',  timeout: 0 });

});  });

