rem: var datasources = panels.getAttribute('datasources'); 
context: function SidebarCustomize() {  // Use a single sidebar customize dialog  var cwindowManager = Components.classes['component://netscape/rdf/datasource?name=window-mediator'].getService();  var iwindowManager = Components.interfaces.nsIWindowMediator;  var windowManager  = cwindowManager.QueryInterface(iwindowManager);  var customizeWindow = windowManager.getMostRecentWindow('sidebar:customize');  if (customizeWindow) {    debug("Reuse existing customize dialog");    customizeWindow.focus();  } else {    debug("Open a new customize dialog");    if (false == gDisableCustomize) {      gDisableCustomize = true;      var panels = document.getElementById('sidebar-panels');      var datasources = panels.getAttribute('datasources');            customizeWindow = window.openDialog(                          'chrome://sidebar/content/customize.xul',                          '_blank','chrome,resizable',                          datasources, sidebar.master_resource,                          sidebar.datasource_uri, sidebar.resource);      setTimeout(enableCustomize, 2000);    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e02485c89cc0f2dc3b17b01e6425584692fce99c/sidebarOverlay.js/buggy/xpfe/components/sidebar/resources/sidebarOverlay.js