rem: if (window.arguments[2]) { 
add: if (window.arguments[2]) 
context: function Startup(){  doSetOKCancel(onOK);  gFld_Name = document.getElementById("name");  gFld_URL = document.getElementById("url");  gFolderTree = document.getElementById("folders");    var shouldSetOKButton = true;  if ("arguments" in window) {    // If we're being opened as a folder selection window    if (window.arguments[4] == "selectFolder") {      document.getElementById("bookmarknamegrid").setAttribute("hidden", "true");      toggleCreateIn();      document.getElementById("createinlabel").setAttribute("collapsed", "true");      document.getElementById("createinbuttonbox").setAttribute("hidden", "true");      document.getElementById("dontaskagain").setAttribute("hidden", "true");      document.getElementById("createinseparator").setAttribute("hidden", "true");      sizeToContent();      const kWindowNode = document.getElementById("newBookmarkWindow");      kWindowNode.setAttribute("title", kWindowNode.getAttribute("title-selectFolder"));      shouldSetOKButton = false;    }    else {      gFld_Name.value = window.arguments[0] || "";      gFld_URL.value = window.arguments[1] || "";      gBookmarkCharset = window.arguments [3] || null;      if (window.arguments[2]) {        gCreateInFolder = window.arguments[2];        document.getElementById("createin").setAttribute("hidden", "true");        document.getElementById("folderbox").setAttribute("hidden", "true");      }    }  }    if (shouldSetOKButton)    onLocationInput();  gFld_Name.focus();} 
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/f5b6e5064351d9963c4daab7f4fe3381ed8d107c/addBookmark.js/buggy/suite/common/bookmarks/addBookmark.js