rem: function ScrollToMessageAfterFolderLoad (folder) 
add: function ScrollToMessageAfterFolderLoad(folder) 
context: function ScrollToMessageAfterFolderLoad (folder){  var scrolled = pref.getBoolPref("mailnews.scroll_to_new_message") &&      ScrollToMessage(nsMsgNavigationType.firstNew, true, false /* selectMessage */);  if (!scrolled && folder && pref.getBoolPref("mailnews.remember_selected_message"))  {    // if we failed to scroll to a new message,    // reselect the last selected message    var lastMessageLoaded = folder.lastMessageLoaded;    if (lastMessageLoaded != nsMsgKey_None)      scrolled = SelectAndScrollToKey(lastMessageLoaded);  }  if (!scrolled)  {    // if we still haven't scrolled,    // scroll to the newest, which might be the top or the bottom    // depending on our sort order and sort type    if (gDBView.sortOrder == nsMsgViewSortOrder.ascending)    {      switch (gDBView.sortType)      {        case nsMsgViewSortType.byDate:        case nsMsgViewSortType.byReceived:        case nsMsgViewSortType.byId:        case nsMsgViewSortType.byThread:         scrolled = ScrollToMessage(nsMsgNavigationType.lastMessage, true, false /* selectMessage */);         break;      }    }    // if still we haven't scrolled,    // scroll to the top.    if (!scrolled)      EnsureRowInThreadTreeIsVisible(0);  }  return scrolled;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/99b702eb3ae7c2b1f5466b0dfcf7238f9b0ca1ac/msgMail3PaneWindow.js/clean/mail/base/content/msgMail3PaneWindow.js