$(function() {

	$("a[rel]").overlay({
	
		effect: 'apple',
		expose: {  
				color: '#fff',  
				loadSpeed: 200,         
				opacity: 0.5     
				}, 
		onBeforeLoad: function() {
		
			var wrap = this.getContent().find(".contentWrap");
			wrap.load(this.getTrigger().attr("href"));
			
		}
	});
});
