// create the tabs (provided by jquery.tools) and set them up to play as a slideshow
$(document).ready(function() {
	// setup ul.tabs to work as tabs for each div directly under div.panes
	$("ul.bannertabs").tabs("div.bannerpanes > div", {
		// enable "cross-fading" effect
		effect: 'fade',
		fadeOutSpeed: 1000,
		fadeInSpeed: 1000,
		
		// start from the beginning after the last tab
		rotate: true
		
	}).slideshow( {autoplay:true, interval:5000}); // use the slideshow plugin. It accepts its own configuration
});
