// perform JavaScript after the document is scriptable. 
$(function() {
	//$("#nav ul").tabs("#panes > div", {effect: 'fade', fadeOutSpeed: 400, rotate: true}).slideshow();
	$("div.tabs").tabs(".images > div", { 
 
        // enable "cross-fading" effect 
		effect: 'fade', 
        fadeOutSpeed: 400, 
 
        // start from the beginning after the last tab 
        rotate: true
 
    // use the slideshow plugin. It accepts its own configuration 
    }).slideshow({autoplay: true, clickable: false, interval: 5000});
});