rem: if ((window == wnd) || (wnd == null)) wnd = window._content; 
add: if ((window == wnd) || (wnd == null)) wnd = window.content; 
context: function UpdateCurrentCharset(){    var menuitem = null;    // exctract the charset from DOM    var wnd = document.commandDispatcher.focusedWindow;    if ((window == wnd) || (wnd == null)) wnd = window._content;    menuitem = document.getElementById('charset.' + wnd.document.characterSet);    if (menuitem) {        // uncheck previously checked item to workaround Mac checkmark problem        // bug 98625        if (gPrevCharset) {            var pref_item = document.getElementById('charset.' + gPrevCharset);            if (pref_item)              pref_item.setAttribute('checked', 'false');        }        menuitem.setAttribute('checked', 'true');    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d33896aeebf97b93e36bfe2d8dd1876235887440/charsetOverlay.js/clean/toolkit/content/charsetOverlay.js