rem: var div = document.getElementById ( "progress" ); if ( div ) { if ( div.hasChildNodes() ) { for ( var i = 0; i < div.childNodes.length; i++ ) { div.removeChild ( div.childNodes[i] ); } } 
add: var statusbar = document.getElementById ( "status" ); if ( statusbar ) { 
context: function WM_ProgressUpdate( currentPageNumber ){  var div = document.getElementById ( "progress" );  if ( div ) {    if ( div.hasChildNodes() ) {      for ( var i = 0; i < div.childNodes.length; i++ ) {        div.removeChild ( div.childNodes[i] );  // kill old childnodes      }    }    var string = "";    string += (currentPageNumber + 1);    try {      string += ( " " + this.bundle.GetStringFromName("oflabel") + " " );    } catch (e) {      // mac string bundle hack      string += " of ";    }    string += this.GetMapLength();    var textNode = document.createTextNode ( string );    div.appendChild ( textNode );  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/54958006d1c908c856adabbdc8bc658d1385f3f6/wizardManager.js/buggy/xpfe/global/resources/content/wizardManager.js