 $(document).ready(function(){
   
	$("a[rel]").overlay({
		expose: { 
        color: '#333', 
        maskId: 'exposeMask',
		opacity: 0.90
    	}
		});
	
	// select the thumbnails and make them trigger our overlay 
$("#triggers a").overlay({ 
 
    // each trigger uses the same overlay with the id "gallery" 
    target: '#gallery',
 
    // optional exposing effect 
    expose: { 
        color: '#333', 
        maskId: 'exposeMask',
		opacity: 0.90
    	}
// let the gallery plugin do its magic! 
}).gallery({ 
 
    // the plugin accepts its own set of configuration options 
    speed: 800,
	template: '<strong>${title}</strong> <span>${index} / ${total}</span>'
});
   
   
 });
