$(function() {
	// setup overlay actions to buttons
	$("a[rel]").overlay({
	// setup exposing (optional operation);
	onBeforeLoad: function() {
	this.getBackgroundImage().expose({api: true}).load();
	},
	onClose: function(content) {
	// close exposing
	this.getBackgroundImage().expose().close();
	}
	});
});