var tid, node, tag, is_disabled, cobj, menu; 
var tid, node, tag, is_disabled, cobj, menu, cstyle, doc; 
    that.onContextMenu = function(event) {        var tid, node, tag, is_disabled, cobj, menu;        if(event.target) {            tid = event.target.id;            if (tid == "itsalltext-context-popup" ||                tid == "contentAreaContextMenu") {                node = document.popupNode;                tag = node.nodeName.toLowerCase();                is_disabled = (!(tag == 'textarea' ||                                      tag == 'textbox') ||                                   node.style.display == 'none' ||                                   node.getAttribute('readonly') ||                                   node.getAttribute('disabled')                                   );                if (tid == "itsalltext-context-popup") {                    cobj = that.getCacheObj(node);                    that.rebuildMenu(cobj.uid,                                     'itsalltext-context-popup',                                     is_disabled);                } else {                    // tid == "contentAreaContextMenu"                    menu = document.getElementById("itsalltext-contextmenu");                    menu.setAttribute('hidden', is_disabled);                }                                }        }        return true;    };
4463	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4463/430548e13258195d36f0a86d5a858dccf28ab93d/itsalltext.js/buggy/src/chrome/content/itsalltext.js