/*var_caption*/var caption=3; // 0: always show (controller) 1: show when hovered (mouse-over)

$(document).ready(function() {
	$('#carousel li').each(function(i){
    	var img = $('img', this);
    	if (img.attr("alt").length)
    		img.after('<p>'+img.attr("alt")+'</p>');
    });
    
	$('#carousel').infiniteCarousel({
	transitionSpeed : 500,
	imagePath: 'images/',
	autoStart: true,
	controlstyle:0,
	autoHideCaptions: caption,
	easeLeft: 'easeInOutQuint',
	easeRight:'easeOutQuint'
	});
});
