rem: 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)) { 
add: 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, true)) { 
context: function FindNextChildFolder(aParent, aAfter){  // Search the child folders of aParent for unread messages  // but in the case that we are working up from the current folder  // we need to skip up to and including the current folder  // we skip the current folder in case a mail view is hiding unread messages  if (aParent.getNumUnread(true) > 0) {    var subFolders = GetSubFoldersInFolderPaneOrder(aParent);    var i = 0;    var folder = null;    // Skip folders until after the specified child    while (folder != aAfter)      folder = subFolders[i++];    while (i < subFolders.length) {      folder = subFolders[i++];      // 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)) {        if (folder.getNumUnread(false) > 0)          return folder;        folder = FindNextChildFolder(folder, null);        if (folder)          return folder;      }    }  }  return null;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d4b620f2a2a5da81f511e683b9be47a72fbba59b/msgViewNavigation.js/buggy/mailnews/base/resources/content/msgViewNavigation.js