add:  panels_bottom.setAttribute('ref', sidebar.resource);  
context: function sidebarOverlayInit() {  sidebar.datasource_uri  = getSidebarDatasourceURI(PANELS_RDF_FILE);  sidebar.resource        = 'urn:sidebar:current-panel-list';  sidebar.master_resource = 'urn:sidebar:master-panel-list';  // Initialize the display  var sidebar_element  = document.getElementById('sidebar-box')  var sidebar_menuitem = document.getElementById('menu_sidebar')  if (sidebar_element.getAttribute('hidden') == 'true') {    if (sidebar_menuitem) {      sidebar_menuitem.setAttribute('checked', 'false')    }  } else {    if (sidebar_menuitem) {      sidebar_menuitem.setAttribute('checked', 'true');    }    debug("sidebar = "                + sidebar);    debug("sidebar.resource = "       + sidebar.resource);    debug("sidebar.datasource_uri = " + sidebar.datasource_uri);    // Add the user's current panel choices to the template builder,    // which will aggregate it with the other datasources that describe    // the individual panel's title, customize URL, and content URL.    var panels = document.getElementById('sidebar-panels');    panels.database.AddDataSource(RDF.GetDataSource(sidebar.datasource_uri));    debug("Adding observer to database.");    panels.database.AddObserver(panel_observer);    // XXX This is a hack to force re-display    panels.setAttribute('ref', sidebar.resource);    sidebarOpenDefaultPanel(100, 0);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d07fccf5486cdbf1fc55ffeea3092ceaf0bc030e/sidebarOverlay.js/clean/suite/common/sidebar/sidebarOverlay.js