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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/f5b6e5064351d9963c4daab7f4fe3381ed8d107c/addBookmark.js/buggy/suite/common/bookmarks/addBookmark.js