$(function() {
	$('.pullLink').removeClass('hiddenLink');
});
$(function() {
	$('.hideLink').addClass('hiddenLink');
});
$(function() {
	$("a.overlayPop").overlay ({
		mask: { color:'#fff', opacity:0.01 },
		fixed: false,
		effect: 'apple',
		onBeforeLoad: function() {
			var wrap = this.getOverlay().find(".contentWrap");
			wrap.load(this.getTrigger().attr("href"));
		},
		onLoad: function() {
			if(typeof ntptEventTag == 'function') {
				ntptEventTag('ev=lightbox_open&evdetail=' + this.getTrigger().attr('href'));
			}
			$("div.overlay a[rel='external']").click(function() {
				window.open(this.href);
				return false;
			});
		},
		onBeforeClose: function() {
			$(".contentWrap").empty();
		}
	});
});
$( document ).ready( function(){
	$("a[rel='external']").click(function() {
		window.open(this.href);
		return false;
	});
});
