rem: dump("In HandleDeleteOrMoveMsgCompleted\n"); 
context: function HandleDeleteOrMoveMsgCompleted(folder){	dump("In HandleDeleteOrMoveMsgCompleted\n");	var folderResource = folder.QueryInterface(Components.interfaces.nsIRDFResource);	if (!folderResource)		return;	var folderUri = folderResource.Value;	if ((folderUri == gCurrentFolderUri) && gCurrentMessageIsDeleted)	{    gDBView.onDeleteCompleted(true);    gCurrentMessageIsDeleted = false;    if (gNextMessageViewIndexAfterDelete != nsMsgKey_None)     {      var nextMstKey = gDBView.getKeyAt(gNextMessageViewIndexAfterDelete);      if (nextMstKey != nsMsgKey_None) {        gDBView.loadMessageByMsgKey(nextMstKey);      }      else {        window.close();      }    }    else    {      // close the stand alone window because there are no more messages in the folder      window.close();    }	}}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/38832437cae1a4de15492bea836e5e374eca8ad4/messageWindow.js/buggy/mailnews/base/resources/content/messageWindow.js