rem: var selectedItem = gFolderTree.selectedItems[0]; gCreateInFolder = selectedItem.id; 
add: else { var selectedItem = gFolderTree.selectedItems[0]; gCreateInFolder = selectedItem.id; } 
context: function onTreeSelect (){  if (gFolderTree.selectedItems.length < 1)     gCreateInFolder = "NC:NewBookmarkFolder";  var selectedItem = gFolderTree.selectedItems[0];  gCreateInFolder = selectedItem.id;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d3a105160704b55d4aba06b54e032b4281cb503e/addBookmark.js/clean/xpfe/components/bookmarks/resources/addBookmark.js