rem: var srcFolder = GetLoadedMsgFolder(); if(srcFolder) { var compositeDataSource = GetCompositeDataSource("Copy"); var messages = GetSelectedMessages(); 
add: var srcFolder = GetLoadedMsgFolder(); if(srcFolder) { var compositeDataSource = GetCompositeDataSource("Copy"); var messages = GetSelectedMessages(); 
context: function MsgCopyMessage(destFolder){	// Get the id for the folder we're copying into    destUri = destFolder.getAttribute('id');	destResource = RDF.GetResource(destUri);	destMsgFolder = destResource.QueryInterface(Components.interfaces.nsIMsgFolder);	var srcFolder = GetLoadedMsgFolder();	if(srcFolder)	{		var compositeDataSource = GetCompositeDataSource("Copy");		var messages = GetSelectedMessages();		CopyMessages(compositeDataSource, srcFolder, destMsgFolder, messages, false);	}	}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b28aee4dad0045eeeca0eac2603313128acc9c86/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js