$(function() {
    // run the code in the markup!
    $('table pre code').not('#skip,#skip2').each(function() {
        eval($(this).text());
    });
    
    $('#s5').before('<div id="nav" class="nav">').cycle({
        fx:     'fade',
        speed:  'fast',
		timeout:  '5000',
		pause:  1,
        pager:  '#nav'
		
    });
});