var speed = 10000;
var enable_about_slideshow = 'n';

$(document).ready(function(){ 
	
	if (($('body#home').size() > 0) || enable_about_slideshow == 'y') {
		setup_slideshow();
	}
	
});

function setup_slideshow(){
	$("#slideNav").tabs("#slideContent > div.slide", {
		
		// 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({
		autoplay:true,
		interval:speed
	});
	
}