var gldbrg = {};

gldbrg.cycleShowCase = function() {
	$('#showcase').cycle({
		fx: 'fade',
		prev: '#showcase-prev',
		next: '#showcase-next',
		timeout: 0,
		speed: 500,
		random: false,
		easing: 'easeInOutBack',
		before : function(currSlideElement, nextSlideElement, options, forwardFlag) {
			var showCaseText = $('#showcase-text');
			showCaseText.fadeOut(50);
			showCaseText.text(nextSlideElement.alt);
			showCaseText.fadeIn(50);
		}
	});
};
