// What is $(document).ready ? See: http://flowplayer.org/tools/using.html#document_ready
$(document).ready(function() {												 													 
	
	$(".scrollable").scrollable().find("a.thumbClick").tooltip({
	
		// use this single tooltip element for all trigger elements
		tip: '#tooltip'
	
	}).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'
	});

});

