// What is $(document).ready ? See: http://flowplayer.org/tools/documentation/basics.html#document_ready
$(function() {
	$(".slidetabs").tabs(".images > div", {
	
		// enable "cross-fading" effect
		effect: 'fade',
		fadeInSpeed: 2000,
		fadeOutSpeed: 3000,
		// start from the beginning after the last tab
		rotate: true
	
	// use the slideshow plugin. It accepts its own configuration{autoplay:true}
	}).slideshow({autoplay:true, interval:5000});
});
