//<![CDATA[

jQuery(window).load(function(){ //jQuery(window).load() must be used instead of jQuery(document).ready() because of Webkit compatibility				

	// Slideshow > Carousel
	jQuery(".slideshow-carousel").sliderkit({
		shownavitems:4,
		autospeed:5000,
		mousewheel:false,
		circular:true
	});
	
	// Use the API methods to make a custom slideshow button
	var mySliderkit = $(".slideshow-carousel").data('sliderkit');
	$("#slideshow-apibtn").toggle(
		function(){
			mySliderkit.playBtnPause();return false;
		},
		function(){
			mySliderkit.playBtnStart();return false;
		}
	);
	
});

//]]>

