
//This needs some tidying up but it works...

$.fn.cycle.defaults.timeout = 6000;
$(function() {
    // run the code in the markup!
    $('pre code').not('#skip,#skip2').each(function() {
        eval($(this).text());
    });
});

function onBefore1() {
    $('.output-one').html("");
}
function onBefore2() {
	$('.output-two').html("");
}
function onBefore3() {
	$('.output-three').html("");
}

function onAfter1() {
    $('.output-one').html("")
    	//.append('<p><strong>Image</strong> ' + this.alt + '</p>');
}
function onAfter2() {
    $('.output-two').html("")
    	//.append('<p><strong>Image</strong> ' + this.alt + '</p>');
}
function onAfter3() {
    $('.output-three').html("")
    	//.append('<p><strong>Image</strong> ' + this.alt + '</p>');
}