// What is $(document).ready ? See: http://flowplayer.org/tools/using.html#document_ready
$(function() {
	
	$("div.tabs").tabs(".slider > div", {

		// enable "cross-fading" effect
		effect: 'fade',
		fadeOutSpeed: 1200,
		fadeInSpeed: 1200,
		
		// start from the beginning after the last tab
		rotate: true

	// use the slideshow plugin. It accepts its own configuration
	}).slideshow({autoplay: true, interval: 8000}); 
});
