rem: var menu = Components.classes['component: 
add: var menu = Components.classes['@mozilla.org/rdf/datasource;1?name=charset-menu']; 
context: function mailCharsetLoadListener (event){    var menu = Components.classes['component://netscape/rdf/datasource?name=charset-menu'];    if (menu) {        menu = menu.getService();        menu = menu.QueryInterface(Components.interfaces.nsICurrentCharsetListener);                if (msgWindow) {            var charset = msgWindow.mailCharacterSet;            if (charset.length > 0) {                menu.SetCurrentMailCharset(charset);                dump("mailCharsetLoadListener: " + charset + " \n");            }        }    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/charsetOverlay.js/clean/xpfe/global/resources/content/charsetOverlay.js