var loadInBackground = false; if (pref) { loadInBackground = pref.getBoolPref("browser.tabs.loadInBackground"); if (aReverseBackgroundPref) loadInBackground = !loadInBackground; } browser.addTab(aURL, referrer, originCharset, !loadInBackground); 
browser.addTab(aURL, referrer, originCharset, !aLoadInBackground); if (!aLoadInBackground) browserWin.content.focus(); 
function openNewTabWindowOrExistingWith(aType, aURL, aDoc, aReverseBackgroundPref){  // Make sure we are allowed to open this url  urlSecurityCheck(aURL, document);  // get referrer, if as external should be null  var referrer = getReferrer(aDoc);  var browserWin;  // if we're not opening a new window, try and find existing window  if (aType != kNewWindow)    browserWin = getTopWin();  // Where appropiate we want to pass the charset of the   // current document over to a new tab / window.  var originCharset = null;  if (aType != kExistingWindow) {    var wintype = document.documentElement.getAttribute('windowtype');    if (wintype == "navigator:browser")      originCharset = window.content.document.characterSet;  }  // We want to open in a new window or no existing window can be found.  if (!browserWin) {    var charsetArg = null;    if (originCharset)      charsetArg = "charset=" + originCharset;    window.openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no",                      aURL, charsetArg, referrer);    return;  }  // Get the existing browser object  var browser = browserWin.getBrowser();  // Open link in an existing window.  if (aType == kExistingWindow) {    browser.loadURI(aURL);    browserWin.content.focus();    return;  }  // open link in new tab  var loadInBackground = false;  if (pref) {    loadInBackground = pref.getBoolPref("browser.tabs.loadInBackground");    if (aReverseBackgroundPref)      loadInBackground = !loadInBackground;  }  browser.addTab(aURL, referrer, originCharset, !loadInBackground);}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/b4500b77566e1ac8acaeca1884e6d7ae7c16b6a2/contentAreaUtils.js/clean/suite/common/contentAreaUtils.js