rem: function FindNextChildFolder(folder) 
add: function FindNextChildFolder(aParent, aAfter) 
context: function FindNextChildFolder(folder){  // if there is unread mail in the trash, sent, drafts, unsent messages  // templates or junk special folder,   // we ignore it when doing cross folder "next" navigation  if (IsSpecialFolder(folder, MSG_FOLDER_FLAG_TRASH | MSG_FOLDER_FLAG_SENTMAIL | MSG_FOLDER_FLAG_DRAFTS | MSG_FOLDER_FLAG_QUEUE | MSG_FOLDER_FLAG_TEMPLATES | MSG_FOLDER_FLAG_JUNK))    return null;  if (folder.getNumUnread(false) > 0)    return folder;  if (folder.getNumUnread(true) > 0) {    var subFolders = GetSubFoldersInFolderPaneOrder(folder);    for (var i = 0; i < subFolders.length; i++) {      folder = FindNextChildFolder(subFolders[i]);      if (folder)        return folder;    }  }  return null;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/8a0d01776d330b88544cca5166180b8d6bf18bd1/msgViewNavigation.js/clean/mailnews/base/resources/content/msgViewNavigation.js