(function($) {
$(function() {

	$('ul.tabs').delegate('li:not(.current)', 'click', function() {
		$(this).addClass('current').siblings().removeClass('current')
			.parents('div.section').find('div.box').hide().eq($(this).index()).fadeIn(500).slideshow({autoplay: true});

$(function() {$("ul.tabs").tabs("div.panes > div",{event:'mouseover', effect: 'fade',fadeOutSpeed: "slow", rotate: true, autoPlay: true}).slideshow({autoplay: true});});
	})

})
})(jQuery)
