rem: if(!aMessage) areMessagesFlagged = false; else { var result = compositeDS.GetTarget(aMessage, property, true); result = result.QueryInterface(Components.interfaces.nsIRDFLiteral); areMessagesFlagged = (result.Value == "flagged"); } return areMessagesFlagged; 
add: if(!aMessage) areMessagesFlagged = false; else { var result = compositeDS.GetTarget(aMessage, property, true); result = result.QueryInterface(Components.interfaces.nsIRDFLiteral); areMessagesFlagged = (result.Value == "flagged"); } return areMessagesFlagged; 
context: function SelectedMessagesAreFlagged(){	var aMessage = GetSelectedMessage(0);	var compositeDS = GetCompositeDataSource("MarkMessageFlagged");	var property = RDF.GetResource('http://home.netscape.com/NC-rdf#Flagged');	var areMessagesFlagged = false;	if(!aMessage)		areMessagesFlagged = false;	else	{		var result = compositeDS.GetTarget(aMessage, property, true);		result = result.QueryInterface(Components.interfaces.nsIRDFLiteral);		areMessagesFlagged = (result.Value == "flagged");	}	return areMessagesFlagged;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/b28aee4dad0045eeeca0eac2603313128acc9c86/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js