rem: var sidebarSplitter = document.getElementById("sidebar-splitter"); 
add: sidebarSplitter = document.getElementById("sidebar-splitter"); 
context: function Startup(){  gBrowser = document.getElementById("content");  var uriToLoad = null;  // Check for window.arguments[0]. If present, use that for uriToLoad.  if ("arguments" in window && window.arguments.length >= 1 && window.arguments[0])    uriToLoad = window.arguments[0];  gIsLoadingBlank = uriToLoad == "about:blank";  if (!gIsLoadingBlank) {    prepareForStartup();  }#ifdef ENABLE_PAGE_CYCLER  appCore.startPageCycler();#else  // only load url passed in when we're not page cycling   if (uriToLoad && !gIsLoadingBlank) {    if ("arguments" in window && window.arguments.length >= 3)      loadURI(uriToLoad, window.arguments[2]);    else      loadOneOrMoreURIs(uriToLoad);  }#ifdef MOZ_ENABLE_XREMOTE  // hook up remote support  var remoteService;  remoteService = Components.classes["@mozilla.org/browser/xremoteservice;1"]                            .getService(Components.interfaces.nsIXRemoteService);  remoteService.addBrowserInstance(window);  RegisterTabOpenObserver();#endif#endif  if (window.opener) {    var openerSidebarBox = window.opener.document.getElementById("sidebar-box");    if (!openerSidebarBox.hidden) {      var sidebarBox = document.getElementById("sidebar-box");      var sidebarTitle = document.getElementById("sidebar-title");      sidebarTitle.setAttribute("value", window.opener.document.getElementById("sidebar-title").getAttribute("value"));      sidebarBox.setAttribute("width", openerSidebarBox.boxObject.width);      var sidebarCmd = openerSidebarBox.getAttribute("sidebarcommand");      sidebarBox.setAttribute("sidebarcommand", sidebarCmd);      sidebarBox.setAttribute("src", window.opener.document.getElementById("sidebar").getAttribute("src"));      gMustLoadSidebar = true;      sidebarBox.hidden = false;      var sidebarSplitter = document.getElementById("sidebar-splitter");      sidebarSplitter.hidden = false;      document.getElementById(sidebarCmd).setAttribute("checked", "true");    }  }  else {    var box = document.getElementById("sidebar-box");    if (box.hasAttribute("sidebarcommand")) {       var cmd = box.getAttribute("sidebarcommand");      if (cmd != "") {        gMustLoadSidebar = true;        box.hidden = false;        var sidebarSplitter = document.getElementById("sidebar-splitter");        sidebarSplitter.hidden = false;        document.getElementById(cmd).setAttribute("checked", "true");      }    }  }  setTimeout(delayedStartup, 0);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/23fccfa571caef8000b9a142efc750df49252de3/browser.js/buggy/browser/base/content/browser.js