rem: var textNode = document.createTextNode ( string ); div.appendChild ( textNode ); 
add: statusbar.setAttribute( "progress", string ); 
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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/72d67fd1735524a11b03e69c7e6e155d6f47fbdd/wizardManager.js/clean/xpfe/global/resources/content/wizardManager.js