function onAfter(){
	$('div#caption').find('*').remove();
	$('div#caption').append('<p>'+this.alt+'</p>');
}
function onBefore(){
	var height = $(this).height();
	$(this)
	.parent()
	.animate({
			'height':height+'px'
	}
	,1000);
}
$(document).ready(function(){
	$('#content').css('display','none');
   	$('#content').slideDown('slow');
		$('.slideshow').cycle({
				fx:     'scrollLeft', 
				timeout: 2000,
				next : $('.slideshow'),
				after:   onAfter,
				before: onBefore
		});

});
