nsAutoString unreadStr; unreadStr.AssignWithConversion("IsUnread"); nsAutoString resultStr;  message->GetAttribute(unreadStr, resultStr); return(resultStr.EqualsWithConversion("true"));
nsCOMPtr<nsIMessage> message; GetMessageFromNode(messageNode, info->rdfService, getter_AddRefs(message)); PRUint32 flags=0; message->GetFlags(&flags);   return ((flags & MSG_FLAG_READ) != MSG_FLAG_READ);
static PRBool UnreadMessageNavigationFunction(nsIDOMXULElement *message, navigationInfoPtr info){	nsAutoString unreadStr; unreadStr.AssignWithConversion("IsUnread");	nsAutoString resultStr;	message->GetAttribute(unreadStr, resultStr);	return(resultStr.EqualsWithConversion("true"));}