var Popups=new Array();
function PopupExpand(url, speed){
	var Dupe=new Popup(url, speed);
}
function Popup(url, speed){
	this.Index=Popups.length;
	this.Width=200;
	this.Height=150;
	this.Speed=speed;
	this.Resize=function(){
		var Dx=screen.width > this.Width;
		var Dy=screen.height > this.Height;
		this.Width+=Dx * this.Speed;
		this.Height+=Dy * this.Speed;
		this.Window.resizeTo(this.Width, this.Height);
		if(Dx || Dy)setTimeout("Popups[" + this.Index + "].Resize();", 5);
	}
	var Param="resizable=yes,width=" + this.Width + ",height=" + this.Height + ",location=no,directories=no,menubar=no,scrollbars=no,toolbar=no,status=no, top=0,";
	if(document.all)Param+=",left=0,top=0";
	else if(document.layers)Param+=",screenX=0,screenY=0";
	this.Window=open(url, '_blank', Param);
	Popups[this.Index]=this;
	this.Resize();
}
