jQuery(function() {

	// select the thumbnails and make them trigger our overlay
	jQuery("#triggers a").overlay({	
		// each trigger uses the same overlay with the id "gallery"
		target: '#gallery',	
		effect: 'apple',
		fadeInSpeed: 'normal',
		expose: '#000',
		//Template is for setting up the info panel at bottom of overlay
		template: '<strong>${title}</strong> <span>Image ${index} of ${total}</span>'
		
		// let the gallery plugin do its magic!
		}).gallery({
			// the plugin accepts its own set of configuration options
			speed: 800,
			autohide: false
		});
});