
$(document).ready(function() {
/* chained call: scrollable().find("a").tooltip().overlay().gallery(); */

$(".scrollable").scrollable({ 
    size: 1,  clickable: false,	  loop: true 
}).autoscroll({ 
    autoplay: is_autoplay,
	interval: 3000
}).circular().find("a").overlay({

	// each trigger uses the same overlay with id "gallery"
	target: '#gallery',

	// optional exposing effect with custom color
	expose: '#111',

	// clicking outside the overlay does not close it
	closeOnClick: false

// gallery plugin
}).gallery({

	// do not use the same disabled class name as scrollable
	disabledClass: 'inactive'
});
});
