// What is $(document).ready ? See: http://flowplayer.org/tools/documentation/basics.html#document_ready
$(function() {

$(".slidetabs").tabs(".block_txt_bio > .slide", {

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

	

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

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



	

	
});

$.tools.tabs.addEffect("effect", function(tabIndex, done) {

	// hide all panes and show the one that is clicked
	this.getPanes().stop(true, true).fadeOut(500).eq(tabIndex).stop(true, true).fadeIn(500);

	// the supplied callback must be called after the effect has finished its job
	done.call();
});
	
