var tag = document.popupNode.nodeName.toLowerCase();  that.debug('onContextMenu', tag); document.getElementById("itsalltext-menuitem"). setAttribute('hidden', (tag != "textarea" && tag != "textbox")); 
if(event.target && event.target.id) { var id = event.target.id; var node = document.popupNode; var tag = node.nodeName.toLowerCase(); if(id == "contentAreaContextMenu") { var menu = document.getElementById("itsalltext-contextmenu"); menu.setAttribute('hidden', (tag != "textarea" && tag != "textbox")); } if(id == "itsalltext-context-popup" && (tag == 'textarea' || tag == 'textbox') && node.id) { that.rebuildOptionMenu(node.id, 'itsalltext-context-popup'); } } 
    that.onContextMenu = function(event) {        var tag = document.popupNode.nodeName.toLowerCase();        that.debug('onContextMenu', tag);        document.getElementById("itsalltext-menuitem").            setAttribute('hidden', (tag != "textarea" &&                                    tag != "textbox"));        return true;    };
4463	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4463/25e0886c59cf4e037f5271df49765ba8d4b93fe8/itsalltext.js/clean/chrome/content/itsalltext.js