		$(document).ready(function() {		
			//editpass综合效果
			//修改t0、editpass_btn0、editpass_content0、close0即可以重复使用多个效果
			var t0 = new PopupLayer({trigger:"#editpass_btn0",popupBlk:"#editpass_content0",closeBtn:"#close0",useOverlay:true,useFx:true,
				offsets:{
					x:-100,
					y:-0
				}
			});
			t0.doEffects = function(way){
				if(way == "open"){
					this.popupLayer.css({opacity:0.3}).show(400,function(){
						this.popupLayer.animate({
							left:($(document).width() - this.popupLayer.width())/3,
							top:(document.documentElement.clientHeight - this.popupLayer.height())/2 + $(document).scrollTop(),
							opacity:0.8
						},500,function(){this.popupLayer.css("opacity",1)}.binding(this));
					}.binding(this));
				}
				else{
					this.popupLayer.animate({
						left:this.trigger.offset().left,
						top:this.trigger.offset().top,
						opacity:0.1
					},{duration:500,complete:function(){this.popupLayer.css("opacity",1);this.popupLayer.hide()}.binding(this)});
				}
			}
			
				
		});
