rem: nextMessage = GetNextMessageInThreads(tree, currentMessage, nextFunction, nextResourceFunction, startFromBeginning); 
add: nextMessage = GetNextMessageInThreads(tree, currentMessage, nextFunction, nextResourceFunction, nextThreadFunction, startFromBeginning); 
context: function GoNextMessage(nextFunction, nextResourceFunction, startFromBeginning){	var tree = GetThreadTree();		var selArray = tree.selectedItems;	var length = selArray.length;	if ( selArray && ((length == 0) || (length == 1)) )	{		var currentMessage;		if(length == 0)			currentMessage = null;		else			currentMessage = selArray[0];		var nextMessage;		if(messageView.showThreads)		{			nextMessage = GetNextMessageInThreads(tree, currentMessage, nextFunction, nextResourceFunction, startFromBeginning);			}		else		{			nextMessage = GetNextMessage(tree, currentMessage, nextFunction, startFromBeginning);		}		//Only change the selection if there's a valid nextMessage		if(nextMessage && (nextMessage != currentMessage))			ChangeSelection(tree, nextMessage);	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/eb30692c89dfbf7026937f4e31212c3aea58d3b9/msgViewNavigation.js/buggy/mailnews/base/resources/content/msgViewNavigation.js