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

		// enable "cross-fading" effect
		effect: 'fade',
		fadeInSpeed: 2000,
		fadeOutSpeed: 2000,

		// start from the beginning after the last tab
		rotate: true

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