function PopWin1(title,src,type,width,height,parent)
{
	var _=this;_.title=title;_.src=src;_.type=type;_.width=width;_.height=height;_.parent=parent;
	_.D=document;_.DE=_.D.documentElement;_.IE=_.D.all;_.I=function(o){return _.D.getElementById(o);}
	_.w=_.I("PWIN_w");_.wc=_.I("PWIN_c");_.bg=_.I("PWIN_bg");_.w_bt_close=_.I("PWIN_bt_close");_.f=_.I("PWIN_f");_.w_title=_.I("PWIN_title");
	_.tt=_.w_title.parentNode;_.tts=_.tt.style;_.bb=_.I("PWIN_b");_.bbs=_.bb.style;
	_.ws=_.w.style;_.wcs=_.wc.style;_.bgs=_.bg.style;
	_.f.style.display="none";
	_.yy=function()
	{
		var y1;
		if(_.IE){y1=_.DE.scrollTop;y1=y1+(_.DE.clientHeight-_.height)/2;}
		else{y1=window.pageYOffset;y1=y1+(window.innerHeight-_.height)/2;}
		return y1;
	}
	_.init=function()
	{
	}
	_.f.src=_.src;
	_.w_title.innerHTML=title;
	_.show=function()
	{
		_.bgs.position="absolute";
		_.bgs.zIndex="8000";
		_.bgs.top="0";
		_.bgs.left="0";
		_.bgs.backgroundColor="#000";
		_.bgs.opacity="0.5";
		_.bgs.filter="alpha(opacity=50)";
		

		if(_.IE)
		{
			_.ww1=_.D.body.offsetWidth;
			_.wh1=_.D.body.offsetHeight;
		}else
		{
		_.ww1=_.D.body.offsetWidth;
		_.wh1=_.DE.offsetHeight;
		}

		_.bgs.width=_.ww1+"px";
		_.bgs.height=_.wh1+"px";
		_.ws.position="absolute";
		_.ws.zIndex="8000";
		
		_.ws.top=(_.yy())+"px";
		_.ws.left=((_.ww1-_.width)/2)+"px";
		_.ws.opacity="0.95";
		//_.ws.filter="alpha(opacity=95)";
		_.ws.width=_.width+"px";
		_.wcs.height=_.height+"px";
		
		//tt
		_.tts.width=(_.width-10)+"px";
		_.bbs.width=(_.width-10)+"px";

		_.bgs.display="block";
		_.ws.display="block";
		_.f.style.display="block";
	}
	_.hide=function()
	{
		_.bgs.display="none";
			_.ws.display="none";
	}
	_.show0=function(){if(_.ws.display=="block"){_.show();}}
	window.onresize=_.show0;
	window.onscroll=_.show0;
	_.bg.onclick=_.hide;
	_.w_bt_close.onclick=_.hide;
}
