add: if ((opener.screenX + xOffset + window.outerWidth) > screen.availWidth) xOffset = screen.availWidth - window.outerWidth - opener.screenX; if((opener.screenY + yOffset + window.outerHeight) > screen.availHeight) yOffset = screen.availHeight - window.outerHeight - opener.screenY; xOffset = ( xOffset > 0 ) ? xOffset : 0; yOffset = ( yOffset > 0 ) ? yOffset : 0; 
context: function moveToAlertPosition(){	var xOffset = opener.outerWidth/2 - window.outerWidth/2;	var yOffset = (opener.outerHeight *2)/10;		xOffset  = xOffset> 0 ? xOffset : 0;	dump( "Move window by " + xOffset + ","+yOffset+"\n");	dump( "screen x "+ opener.screenX +"screen y "+ opener.screenY +"\n");	window.moveTo( opener.screenX + xOffset, opener.screenY + yOffset );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ad55e70b096ce231395795d0be6d15ba042f4490/dialogOverlay.js/buggy/xpfe/global/resources/content/dialogOverlay.js