if (windowCount != 1 && typeof(aPromptFunction) == "function" && !aPromptFunction()) return false; 
function closeWindow(aClose){  var windowCount = 0;   var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]                      .getService(Components.interfaces.nsIWindowMediator);  var e = wm.getEnumerator(null);    while (e.hasMoreElements()) {    var w = e.getNext();    if (++windowCount == 2)       break;  }# Closing the last window doesn't quit the application on OS X.#ifndef XP_MACOSX  // If we're down to the last window and someone tries to shut down, check to make sure we can!  if (windowCount == 1 && !canQuitApplication())    return false;#endif  if (aClose)        window.close();    return true;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/842c8ce63687e858eae1fb17693f18960f1ebdf7/globalOverlay.js/clean/toolkit/content/globalOverlay.js