rem: setTimeout('sidebarOpenDefaultPanel('+(wait*2+1)+','+(tries+1)+')',wait); 
add: setTimeout('sidebarOpenDefaultPanel('+(wait*2)+','+(tries+1)+')',wait); 
context: function sidebarOpenDefaultPanel(wait, tries) {  var parent = document.getElementById('sidebar-panels');  var target = parent.getAttribute('open-panel-src');  var children = parent.childNodes;  debug("~~~~~~~~~~~opening default panel\n");  if (children.length < 3) {  debug("~~~~~~~~~~~not enough kids yet\n");	if (tries < 5) {      // No children yet, try again later      setTimeout('sidebarOpenDefaultPanel('+(wait*2+1)+','+(tries+1)+')',wait);	}    return;  }    for (var ii=0; ii < children.length; ii++) {      debug("~~ child " + ii + "\n");	  dumpAttributes(children.item(ii));	}  if (target && target != '') {    for (var ii=0; ii < children.length; ii++) {	  if (children.item(ii).getAttribute('src') == target) {		children.item(ii).removeAttribute('collapsed');		return;	  }	}  }  // Pick the first one  debug("~~~~~~~~~~~picking first one\n");  var first_iframe = children.item(2);  if (first_iframe) {    first_iframe.removeAttribute('collapsed');    parent.setAttribute('open-panel-src',first_iframe.getAttribute('src'));  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7f90a7c67a5b26be83d9ed2aa32bb69a78f78b36/sidebarOverlay.js/clean/suite/common/sidebar/sidebarOverlay.js