rem: 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); 
add: debug("sidebar = "                + sidebar); debug("sidebar.resource = "       + 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') {    sidebar_element.setAttribute('style', 'display:none')    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: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/e580dec93f051a8fb27b761eb78ff2c5d264a2ec/sidebarOverlay.js/clean/suite/common/sidebar/sidebarOverlay.js