rem: var searchTermsArray =  gMailViewList.getMailViewAt(index).searchTerms; 
add: var searchTermsArray = gMailViewList.getMailViewAt(index).searchTerms; 
context: function LoadCustomMailView(index){  prepareForViewChange();  var searchTermsArray =  gMailViewList.getMailViewAt(index).searchTerms;    // mark the first node as a group  var numEntries = searchTermsArray.Count();  var searchTerm;   if (searchTermsArray.Count() > 1)  {    searchTerm = searchTermsArray.GetElementAt(0).QueryInterface(Components.interfaces.nsIMsgSearchTerm);    searchTerm.beginsGrouping = true;     searchTerm.booleanAnd = true; // turn the first term to true to work with quick search...    searchTermsArray.GetElementAt(numEntries - 1).QueryInterface(Components.interfaces.nsIMsgSearchTerm).endsGrouping = true;  }  onSearch(searchTermsArray);     gDefaultSearchViewTerms = searchTermsArray;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c04b1bc77f72c3d56571f372d51f501d6c5774cc/msgViewPickerOverlay.js/clean/mailnews/extensions/mailviews/resources/content/msgViewPickerOverlay.js