rem: deltaX = opener_width; 
add: newWidth = opener_width; 
context: function optimize_window(){		w = window;		var x_ratio = 0.85;	var y_ratio = 0.85;	  if (is_ie)	{		opener_width = w.opener.document.body.clientWidth;		opener_height = w.opener.document.body.clientHeight;	}	else if(is_gecko)	{		opener_width = w.opener.outerWidth;		opener_height = w.opener.outerHeight;	}	else	{		opener_width = w.opener.document.body.clientWidth;		opener_height = w.opener.document.body.clientHeight;	}	if(window.WINDOW_WIDTH)  {   	deltaX = window.WINDOW_WIDTH;  }  else  {  	deltaX = opener_width*x_ratio;  	if (w.document.body.scrollWidth > deltaX )  	{  	  x_ratio = 1;  	  deltaX = opener_width;  	}   }		if(window.WINDOW_HEIGHT)  {   	deltaY = window.WINDOW_HEIGHT;  }  else  {  	deltaY = opener_height*y_ratio;  	if (w.document.body.scrollHeight > deltaY )  	{  	  y_ratio = 1;  	  deltaY = opener_height;  	}   }	  	if (is_ie)	{		openerLeft = w.opener.screenLeft;		openerTop = w.opener.screenTop;	}	else if((is_gecko)	|| (is_opera))	{		openerLeft = w.opener.screenX;		openerTop = w.opener.screenY;	}		else	{		openerLeft = w.opener.screenLeft;		openerTop = w.opener.screenTop;	}	newLeft = (w.screen.width - deltaX)/2 - 20;	newTop = (w.screen.height - deltaY)/2 - 30;			w.moveTo(newLeft, newTop);	w.resizeTo(deltaX, deltaY);}
meta: 8196	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8196/ca1a803c66c44daba71d7691ed993104f98421c5/common.js/clean/php4/branches/2.2.2/shared/js/common.js