add:  SetFocusThreadPaneIfNotOnMessagePane(); 
context: function GoNextMessage(type, startFromBeginning){  try {    var succeeded = ScrollToMessage(type, startFromBeginning, true);    if (!succeeded) {      CrossFolderNavigation(type, true);    }  }  catch (ex) {    dump("GoNextMessage ex = " + ex + "\n");  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d20f634134e629e2e1bf9c861f44013e33676994/msgViewNavigation.js/clean/mailnews/base/resources/content/msgViewNavigation.js