function onAfter() { 
    $('#slide_text').html(this.alt); 
}

$(function() {

if($("#slideshow").length > 0)
	$('#slideshow').cycle({
		speed:    1500,
		timeout:  4000,
		shuffle:  {left:-300, top:30},
		clip:     'zoom',
		fx:       'fade',
		fit:      '1',
		after:   onAfter
    });

})