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