// execute your scripts when the DOM is ready. this is mostly a good habit
(function($){
	$(document).ready(function(){
		var scroller = $(".scrollable");
		if(scroller.attr('mocpic:activate') != "1"){
			return;
		}


		if(!scroller.hasClass('auto')){
			scroller.scrollable({circular: true, easing: "swing"});
		}else {
			scroller.scrollable({circular: true, easing: "swing"}).autoscroll({ autoplay: true, interval: autoscrollspeed * 1000 });
		}

		
		
	})
})(jQuery);



