while ( enumerator.hasMoreElements()  ) { var domWindow = enumerator.getNext(); if (("tryToClose" in domWindow) && !domWindow.tryToClose()) return false; domWindow.close(); }; 
function goQuitApplication(){  if (!canQuitApplication())    return false;  var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService();  var windowManagerInterface = windowManager.QueryInterface( Components.interfaces.nsIWindowMediator);  var enumerator = windowManagerInterface.getEnumerator( null );  var appStartup = Components.classes['@mozilla.org/toolkit/app-startup;1'].                     getService(Components.interfaces.nsIAppStartup);  while ( enumerator.hasMoreElements()  )  {     var domWindow = enumerator.getNext();     if (("tryToClose" in domWindow) && !domWindow.tryToClose())       return false;     domWindow.close();  };  appStartup.quit(Components.interfaces.nsIAppStartup.eAttemptQuit);  return true;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/09aeed6d3936774d55ecb969a7d76e81306e995d/globalOverlay.js/buggy/toolkit/content/globalOverlay.js