rem: messenger = Components.classes[messengerProgID].createInstance(); 
add: messenger = Components.classes[messengerContractID].createInstance(); 
context: function CreateMailWindowGlobals(){	// get the messenger instance	messenger = Components.classes[messengerProgID].createInstance();	messenger = messenger.QueryInterface(Components.interfaces.nsIMessenger);	pref = Components.classes[prefProgID].getService(Components.interfaces.nsIPref);	//Create windows status feedback  // set the JS implementation of status feedback before creating the c++ one..  window.MsgStatusFeedback = new nsMsgStatusFeedback();	statusFeedback           = Components.classes[statusFeedbackProgID].createInstance();	statusFeedback = statusFeedback.QueryInterface(Components.interfaces.nsIMsgStatusFeedback);	window.MsgWindowCommands = new nsMsgWindowCommands();	//Create message view object	messageView = Components.classes[messageViewProgID].createInstance();	messageView = messageView.QueryInterface(Components.interfaces.nsIMessageView);	//Create message window object	msgWindow = Components.classes[msgWindowProgID].createInstance();	msgWindow = msgWindow.QueryInterface(Components.interfaces.nsIMsgWindow);	msgComposeService = Components.classes['component://netscape/messengercompose'].getService();	msgComposeService = msgComposeService.QueryInterface(Components.interfaces.nsIMsgComposeService);	mailSession = Components.classes["component://netscape/messenger/services/session"].getService(Components.interfaces.nsIMsgMailSession); 	accountManager = Components.classes["component://netscape/messenger/account-manager"].getService(Components.interfaces.nsIMsgAccountManager);	RDF = Components.classes['component://netscape/rdf/rdf-service'].getService();	RDF = RDF.QueryInterface(Components.interfaces.nsIRDFService);	msgComposeType = Components.interfaces.nsIMsgCompType;	msgComposeFormat = Components.interfaces.nsIMsgCompFormat;	Bundle = srGetStrBundle("chrome://messenger/locale/messenger.properties");  BrandBundle = srGetStrBundle("chrome://global/locale/brand.properties");	//Create datasources	accountManagerDataSource = Components.classes[accountManagerDSProgID].createInstance();	folderDataSource         = Components.classes[folderDSProgID].createInstance();	messageDataSource        = Components.classes[messageDSProgID].createInstance();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/mailWindow.js/clean/mailnews/base/resources/content/mailWindow.js