$(function() {
	$("#triggers a").overlay({ // select the thumbnails and make them trigger our overlay
		target: '#gallery', // each trigger uses the same overlay with the id "gallery"
		expose: '#f1f1f1', // optional exposing effect
		top:50,
		left:"center"
	}).gallery({ // let the gallery plugin do its magic!
		speed: 800 // the plugin accepts its own set of configuration options
	});
});
