rem: EnableDisableHierarchy(child,disable); 
add: EnableDisableHierarchy(child, disable); 
context: function EnableDisableHierarchy(item,disable){  // iterate all nodes on this particular level  for (var i = 0; i < item.childNodes.length; ++i) {      // retrieve the next node that needs to be processed    var child = item.childNodes[i];        // disable this node if flag indicates this case, enable otherwise    if (disable) {      // in case this node has already been disabled, we remember      // this fact in the 'itemdisabled' attribute in order      // to restore the original state at the end of the operation.      if (child.getAttribute("disabled") == "true") {        child.setAttribute("itemdisabled", "true");      }      child.setAttribute("disabled","true");          } else {          // restore the previous state, which means either enable      // the node or keep it disabled but remove the      // 'itemdisabled' attribute.      if(child.hasAttribute("itemdisabled")) {        child.removeAttribute("itemdisabled");      } else {        child.removeAttribute("disabled");      }    }    // recursively step down the hierarchy if this node    // exposes any further child nodes.    if (child.childNodes.length > 0) {      EnableDisableHierarchy(child,disable);    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/49d99658257e01d5bb14d94382a0b2604eb4fa45/messenger-overlay-toolbar.js/buggy/calendar/lightning/content/messenger-overlay-toolbar.js