rem: var folderResource = RDF.GetResource(gCurrentFolderUri); if(folderResource) 
add: if(gCurrentFolderUri) 
context: function GetLoadedMsgFolder(){	var folderResource = RDF.GetResource(gCurrentFolderUri);	if(folderResource)	{		var msgFolder = folderResource.QueryInterface(Components.interfaces.nsIMsgFolder);		return msgFolder;	}	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