rem: var nextMessage = GetNextMessage(selArray[0], nextFunction, startFromBeginning); ChangeSelection(tree, nextMessage); 
add: var currentMessage;  if(length == 0) currentMessage = null; else currentMessage = selArray[0];  var nextMessage = GetNextMessage(tree, currentMessage, nextFunction, startFromBeginning);   if(nextMessage && (nextMessage != currentMessage)) ChangeSelection(tree, nextMessage); 
context: function GoNextMessage(nextFunction, startFromBeginning){	var tree = GetThreadTree();		var selArray = tree.selectedItems;	if ( selArray && (selArray.length == 1) )	{		var nextMessage = GetNextMessage(selArray[0], nextFunction, startFromBeginning);		ChangeSelection(tree, nextMessage);	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/aa5e2f67eae16c5c9d8f1c4985ac6f9e152696a3/msgViewNavigation.js/clean/mailnews/base/resources/content/msgViewNavigation.js