rem: toggleCreateIn(); 
add: document.getElementById("createinseparator").setAttribute("hidden", "true"); document.getElementById("nameseparator").setAttribute("hidden", "true"); sizeToContent(); var windowNode = document.getElementById("newBookmarkWindow"); windowNode.setAttribute("title", windowNode.getAttribute("title-selectFolder")); shouldSetOKButton = false; var folderItem = document.getElementById(window.arguments[2]); if (folderItem) gFolderTree.selectItem(folderItem); gCanBypassDialogMode = false; break; case "newBookmark": setupFields(); if (window.arguments[2]) gCreateInFolder = window.arguments[2]; document.getElementById("folderbox").setAttribute("hidden", "true"); 
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("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];    }  }    if (shouldSetOKButton)    onLocationInput();  gFld_Name.focus();} 
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/b58a221f2fde203195889c6df948140558b290e2/addBookmark.js/clean/xpfe/components/bookmarks/resources/addBookmark.js