rem: var message = messageResource.QueryInterface(Components.interfaces.nsIMessage); return message; 
add: var messageResource = RDF.GetResource(gCurrentMessageUri); if(messageResource) { var message = messageResource.QueryInterface(Components.interfaces.nsIMessage); return message; } 
context: function GetLoadedMessage(){	var messageResource = RDF.GetResource(gCurrentMessageUri);	if(messageResource)	{		var message = messageResource.QueryInterface(Components.interfaces.nsIMessage);		return message;	}	return null;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d63000ffb06f1c74b5d3215477135715d57355d7/messageWindow.js/clean/mailnews/base/resources/content/messageWindow.js