context: function removeSearchRow(index){    var searchTermObj = gSearchTerms[index];    if (!searchTermObj) {        return;    }    // need to remove row from tree, so walk upwards from the    // searchattribute to find the first <treeitem>    var treeItemRow = searchTermObj.searchattribute;    while (treeItemRow) {        if (treeItemRow.localName == "treeitem") break;        treeItemRow = treeItemRow.parentNode;    }    if (!treeItemRow) {        dump("Error: couldn't find parent treeitem!\n");        return;    }    if (searchTermObj.searchTerm) {        gSearchRemovedTerms[gSearchRemovedTerms.length] = searchTermObj.searchTerm;    } else {        //dump("That wasn't real. ignoring \n");    }        treeItemRow.parentNode.removeChild(treeItemRow);    // remove it from the list of terms - XXX this does it?    // remove the last element    gSearchTerms.length--;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/searchTermOverlay.js/clean/mailnews/base/search/resources/content/searchTermOverlay.js