var t9 = new PopupLayer({trigger:"#ele9",popupBlk :"#blk9",closeBtn:"#close9",
useOverlay:true,useFx:true,offsets:{x:0,y:-41}});
t9.doEffects = function(way) {
if(way == "open"){
this.popupLayer.css({opacity:0.3}).show(400,function(){
this.popupLayer.animate({
왼쪽 : ($ (document) .width () - this.popuplayer.width ())/2, 상단 : (Document.DocumentElement.ClientHeight - 불투명도:0.8
},1000,function(){this.popupLayer.css("opacity",1)}.bound(this));
}. 바인딩(this));
}
else{
this.popupLayer.animate({
left:this.trigger.offset().left,
top:this.trigger.offset ().top,
불투명도:0.1
},{duration:500,complete:function(){
this.popupLayer.css("opacity",1);this.popupLayer.hide() }.바인딩(this)});
}
}