context: function resizeAlert(){  // sizeToContent is not working. It isn't honoring the max widths we are attaching to our inner  // objects like the folder summary element. While the folder summary element is cropping,   // sizeToContent ends up thinking the window needs to be much wider than it should be.   // use resizeTo and make up our measurements...  //sizeToContent();    // alertGroove is the widest of the elements in alertTextBox so use its width, then   // add on the width of alertImageBox + some small amount of fudge. For the height,   // just use the size of the alertBox, that appears to be pretty accurate.  resizeTo(document.getBoxObjectFor(document.getElementById('alertGroove')).width +            document.getBoxObjectFor(document.getElementById('alertImageBox')).width + 30,            document.getBoxObjectFor(document.getElementById('alertBox')).height + 10);  gFinalHeight = window.outerHeight;  window.outerHeight = 1;    // be sure to offset the alert by 10 pixels from the far right edge of the screen  window.moveTo( (screen.availLeft + screen.availWidth - window.outerWidth) - 10, screen.availTop + screen.availHeight - window.outerHeight);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7826fcbb9baed7e28755d7165636c852b2d894e1/newmailalert.js/buggy/mail/base/content/newmailalert.js