add:  var browser; try {   browser = getBrowser();  } catch (ex if ex instanceof ReferenceError) {     var windowMediator = Components.classes["@mozilla.org/appshell/window-mediator;1"] .getService(Components.interfaces.nsIWindowMediator);  var browserWin = windowMediator.getMostRecentWindow("navigator:browser");     if (!browserWin) { window.openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no", url, null, referrer); return; }    browser = browserWin.getBrowser(); }  
context: function openNewTabWith(url, sendReferrer, reverseBackgroundPref) {  urlSecurityCheck(url, document);  var browser = getBrowser();  var referrer = sendReferrer ? getReferrer(document) : null;  var tab = browser.addTab(url, referrer); // open link in new tab  if (pref) {    var loadInBackground = pref.getBoolPref("browser.tabs.loadInBackground");    if (reverseBackgroundPref)      loadInBackground = !loadInBackground;    if (!loadInBackground)      browser.selectedTab = tab;  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/07db80bc13203a0701f8e219dbb38b4a783c9ae6/contentAreaUtils.js/clean/xpfe/communicator/resources/content/contentAreaUtils.js