rem: { 
add: { 
context: function ClickOnOtherPanels(event){   debug("ClickOnOtherPanels(...)");  var t = event.originalTarget;  var treeitem = null;  var force_open = true;  if (t.getAttribute('twisty') == 'true') {    // The twisty is nested three below the treeitem:    // <treeitem>    //   <treerow>    //     <treecell>    //         <image class="tree-cell-twisty"> <!-- anonymous -->    treeitem = t.parentNode.parentNode.parentNode;    force_open = false;  } else {    if (t.localName != "treecell" &&        t.localName != "treeitem")    return;    treeitem = t;    while (treeitem && treeitem.nodeName != 'treeitem') {      treeitem = treeitem.parentNode;    }  }    // Remove the selection in the "current" panels list  var current_panels = document.getElementById('current-panels');  current_panels.clearItemSelection();  enable_buttons_for_current_panels();  if (treeitem.getAttribute('container') == 'true') {    if (treeitem.getAttribute('open') == 'true') {      if (force_open) {        debug("close the container");        treeitem.removeAttribute('open');      }    } else {      if (force_open) {        debug("open the container");        treeitem.setAttribute('open','true');      }      link = treeitem.getAttribute('link');      loaded_link = treeitem.getAttribute('loaded_link');      if (link != '' && !loaded_link) {        debug("Has remote datasource: "+link);        add_datasource_to_other_panels(link);        treeitem.setAttribute('loaded_link', 'true');      } else {        setTimeout('fixup_children("'+ treeitem.getAttribute('id') +'")', 100);      }    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eaa6754a0a946375badf1165b3e4af3999e4b03c/customize.js/clean/xpfe/components/sidebar/resources/customize.js