add:  gPrefs.setIntPref("mailnews.view.last", parseInt(val));  
context: function viewChange(aMenuList){  var val = aMenuList.value;  if (val == kCustomItemValue) {     // restore to the previous view value, in case they cancel    aMenuList.value = gCurrentViewValue;    LaunchCustomizeDialog();    return;  }  // bail out early if the user picked the same view  if (val == gCurrentViewValue)    return;   gCurrentViewValue = val;  switch (val)  {   case "0": // View All     gDefaultSearchViewTerms = null;     break;   case "1": // Unread     ViewNewMail();     break;   case "2": // label 1   case "3": // label 2   case "4": // label 3   case "5": // label 4   case "6": // label 5     ViewLabel(parseInt(val) - kLabelOffset);     break;   default:     LoadCustomMailView(parseInt(val) - kLastDefaultViewIndex);     break;  } //        gQSViewIsDirty = true;  onEnterInSearchBar();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0e038caab6ef362ce650ef651f8b2bf9e48f0818/msgViewPickerOverlay.js/clean/mailnews/extensions/mailviews/resources/content/msgViewPickerOverlay.js