rem: if (state == "" || state == "open") { splitter.setAttribute("state", "collapsed") } else { splitter.setAttribute("state", "") 
add:  for (var ii=0; ii < children.length; ii++) { var src = children.item(ii).getAttribute('src')  if (src == target) { children.item(ii).removeAttribute('collapsed'); titledbutton.parentNode.setAttribute('open-panel-src',target); } if (src == last_src) { children.item(ii).setAttribute('collapsed','true'); } 
context: function sidebarOpenClosePanel(splitter) {  var state = splitter.getAttribute("state")  var resizeafter = splitter.getAttribute("resizeafter")  var hasOlderSibling = splitter.previousSibling  if (!hasOlderSibling && resizeafter != 'grow') {    return  }  if (state == "" || state == "open") {    splitter.setAttribute("state", "collapsed")  } else {    splitter.setAttribute("state", "")  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/19f083ad28be6e943ecced629750bea778d6a9c8/sidebarOverlay.js/clean/xpfe/components/sidebar/resources/sidebarOverlay.js