$(function() {
	$('.CyclePics').cycle({
        fx: 'fade',
        speed: 300,
        timeout: 6000,
        next: '.CycleNext',
        prev: '.CyclePrev',
        pause: 1,
        after: onAfterCycle
	});
});

function onAfterCycle() {
    $('span.CycleOutput').html(this.alt);
} 