<!-- This JavaScript snippet activates those tabs -->
// perform JavaScript after the document is scriptable.
$(function() {
	// setup ul.tabs to work as tabs for each div directly under div.panes
	$("ul.tabs").tabs("div.panes > div");
});
// What is $(document).ready ? See: http://flowplayer.org/tools/using.html#document_ready
$(function() {
	
	$("div.tabs").tabs(".scroller > div", {

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

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

	// use the slideshow plugin. It accepts its own configuration
	}).slideshow();
});
