// What is $(document).ready ? See: http://flowplayer.org/tools/using.html#document_ready
$(function() {
	
	$("div.knopki").tabs(".slayd > div", {

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

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

	// use the slideshow plugin. It accepts its own configuration
	}).slideshow(
	{
     autoplay: true,
     interval: 5000
     }
 
	);
});