    function auto_resize_center()
    {
/*
		var sw = screen.availWidth;
		var sh = screen.availHeight;
		var pw = this.document.body.clientWidth; 
		var ph = this.document.body.clientHeight;
		if (sh > (ph + 50))
		{
//			self.resizeTo(pw, ph);
			self.moveTo((sw-pw)/2, (sh-ph)/2);
		}
		else
		{
//			self.resizeTo(pw, (sh-50));
			self.moveTo((sw-pw)/2, 0);
		}
*/		
    }

