rem: var sidebar          = document.getElementById('sidebar-box'); 
add: var sidebar = document.getElementById('sidebar-box'); 
context: function SidebarExpandCollapse() {  var sidebar          = document.getElementById('sidebar-box');  var sidebar_splitter = document.getElementById('sidebar-splitter');  sidebar.setAttribute('hackforbug20546-applied','true');  // Get the current open/collapsed state  // The value of state is the "preclick" state  var state = sidebar_splitter.getAttribute('state');  if (state && state == 'collapsed') {    // Going from collapsed to open.    sidebar.removeAttribute('hackforbug20546');    // Reset the iframe's src to get the content to display.    // This might be bug #22214.    var panels = document.getElementById('sidebar-panels');    var target = panels.getAttribute('open-panel-src');    var iframe = document.getElementById('sidebar-content');    iframe.setAttribute('src', target);    // XXX Partial hack workaround for bug #22214.    bumpWidth(+1);    setTimeout("bumpWidth(-1)",10);  } else {    // Going from open to collapsed.    sidebar.setAttribute('hackforbug20546','true');  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/7d88edd487e67f598d9abc9d2d290e7b1af25d09/sidebarOverlay.js/buggy/suite/common/sidebar/sidebarOverlay.js