rem: target = panels.childNodes.item(select_index).getAttribute('iframe-src'); 
add: target = panels.childNodes.item(select_index).getAttribute('id'); 
context: function select_panel(target) {  var panels = document.getElementById('sidebar-panels');  var iframe = document.getElementById('sidebar-content');  debug("select_panel("+target+")");    var select_index = find_panel(panels, target);  if (!select_index) {    // Target not found. Pick the last panel by default.    // It is at index 1 because the template is at index 0.    select_index = pick_default_panel(panels);    debug("select_panel: target not found, choosing last panel, index "+select_index+"\n");    target = panels.childNodes.item(select_index).getAttribute('iframe-src');  }  if (panels.getAttribute('open-panel-src') != target) {    panels.setAttribute('open-panel-src', target);  }  update_iframes(select_index);  dump_tree(panels);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/fac5daefc78d7a659d5602b52d4717bd8738cb19/sidebarOverlay.js/clean/suite/common/sidebar/sidebarOverlay.js