context: function toOpenDialogByTypeAndUrl(inType, relatedUrl, windowUri, features, extraArgument){  var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService();  var windowManagerInterface = windowManager.QueryInterface(Components.interfaces.nsIWindowMediator);  var windows = windowManagerInterface.getEnumerator(inType);  // Check for windows matching the url    while (windows.hasMoreElements()) {    var currentWindow = windows.getNext();    if (currentWindow.document.firstChild.getAttribute("relatedUrl") == relatedUrl) {    	currentWindow.focus();    	return;    }  }  // We didn't find a matching window, so open a new one.  if (features)    window.openDialog(windowUri, "_blank", features, extraArgument);  else    window.openDialog(windowUri, "_blank", "chrome,extrachrome,menubar,resizable,scrollbars,status,toolbar", extraArgument);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f9db07abc5a5b14b11dbc123fb543db6c61a19a1/browser.js/clean/browser/base/content/browser.js