rem: if(status == '' || status == 'New') 
add: if(status == ' ' || status == 'New') 
context: function GetNextUnreadMessage(currentMessage){	var foundMessage = false;		var nextMessage = currentMessage.nextSibling;	while(nextMessage)	{		var status = nextMessage.getAttribute('Status');		dump('status = ' + status);		dump('\n');		if(status == '' || status == 'New')			break;		nextMessage = nextMessage.nextSibling;	}	if(!nextMessage)	{		dump('We need to start from the top\n');		var parent = currentMessage.parentNode;		nextMessage = parent.firstChild;		while(nextMessage)		{			if(nextMessage == currentMessage)			{				nextMessage = null;				break;			}			var status = nextMessage.getAttribute('Status');			dump('status = ' + status);			dump('\n');			if(status == '' || status == 'New')				break;			nextMessage = nextMessage.nextSibling;		}	}	if(nextMessage)	{		var id = nextMessage.getAttribute('id');		dump(id + '\n');	}	else		dump('No next message\n');	return nextMessage;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/00e4af13fbbad3e6ad03008c1a498aac8beb7e99/commandglue.js/clean/mailnews/base/resources/content/commandglue.js