rem: dump('down: '+gExpander.getAttribute("tooltiptextdown")+"\n"); dump('up: '+gExpander.getAttribute("tooltiptextup")+"\n"); 
context: function Startup(){  sizeToContent(); //XXXpch buggy imo, we shouldn't need it  initServices();  initBMService();  gName  = document.getElementById("name");  gGroup = document.getElementById("addgroup");  gExpander = document.getElementById("expander");  gMenulist = document.getElementById("select-menu");  gBookmarksTree = document.getElementById("folder-tree");  gName.value = window.arguments[0];  gName.select();  gName.focus();  onFieldInput();  gSelectedFolder = RDF.GetResource(gMenulist.selectedItem.id);  gExpander.setAttribute("tooltiptext", gExpander.getAttribute("tooltiptextdown"));  dump('down: '+gExpander.getAttribute("tooltiptextdown")+"\n");  dump('up: '+gExpander.getAttribute("tooltiptextup")+"\n");  // fix no more persisted class attribute in old profiles  var localStore = RDF.GetDataSource("rdf:local-store");  var rAttribute = RDF.GetResource("class");  var rElement   = RDF.GetResource("chrome://browser/content/bookmarks/addBookmark2.xul#expander");  var rDialog    = RDF.GetResource("chrome://browser/content/bookmarks/addBookmark2.xul");  var rPersist   = RDF.GetResource(NC_NS+"persist");    var rOldValue = localStore.GetTarget(rElement, rAttribute, true);  if (rOldValue) {    localStore.Unassert(rElement, rAttribute, rOldValue, true);    localStore.Unassert(rDialog, rPersist, rElement, true);    gExpander.setAttribute("class", "down");  }} 
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/08365936976b854a1b57b7a1ab1644ea811a7304/addBookmark2.js/clean/browser/components/bookmarks/content/addBookmark2.js