rem: if (window.outerHeight > 1) { window.screenY += gSlideIncrement; window.outerHeight -= gSlideIncrement; setTimeout(closeAlert, gSlideTime); } else { if (gAlertListener) gAlertListener.observe(null, "alertfinished", gAlertCookie); window.close(); } 
add: if (gAlertListener) gAlertListener.observe(null, "alertfinished", gAlertCookie); window.close(); 
context: function closeAlert(){  if (window.outerHeight > 1)  {    window.screenY += gSlideIncrement;    window.outerHeight -= gSlideIncrement;    setTimeout(closeAlert, gSlideTime);  }  else  {    if (gAlertListener)      gAlertListener.observe(null, "alertfinished", gAlertCookie);     window.close();   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f5f0eb5f7fb5edf612915840ab151a24b7e3da62/newmailalert.js/buggy/mail/base/content/newmailalert.js