rem: var uri = GetFirstSelectedMessage(); if (uri) { MarkThreadAsRead(uri); } 
add: gDBView.doCommand(nsMsgViewCommandType.markThreadRead); 
context: function MsgMarkThreadAsRead(){    var uri = GetFirstSelectedMessage();    if (uri) {        MarkThreadAsRead(uri);    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/62c329115a71e7740faee7e0c6aa22e053263db2/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js