// JavaScript Document
$(function() {		
		
	// positions for each overlay
	var positions = [ 
		[0, 	530],
		[400, 20],
		[400, 530],
		[0, 	20]	   
	];	
		
	// setup triggers
	$("button[rel]").each(function(i) {
			
		$(this).overlay({

			// common configuration for each overlay
			oneInstance: false, 
			closeOnClick: false, 
			 
			// setup custom finish position
			top: positions[i][0],
			left: positions[i][1],
			
			// use apple effect
			effect: 'apple'
			
		});			
	});
	
});
