// JavaScript Document
$(document).ready(function(){

	 // if the function argument is given to overlay, 
    // it is assumed to be the onBeforeLoad event listener 
    $(".overlaylnk").overlay({ 
        absolute:true,
		top:'1%',	
		effect:'apple',
		expose: { 
        	color: '#ff2840', 
        	loadSpeed: 200, 
        	opacity: 0.7 
    	},  
		target:'#overlay',
        onBeforeLoad: function() {
            var wrap = this.getContent().find(".contentOverlayWrap"); 
			
            wrap.load(this.getTrigger().attr("title")); 
			wrap.css({zIndex:9999});
        } 
 
    }); 
	
	$(".overlaylnk").click(function(){
										return false;
									});

});					   
