rem: var caption = document.getElementById( "caption" ); while( caption.hasChildNodes() ) { caption.removeChild( caption.firstChild ); } newCaption = document.createTextNode( aCaption ); caption.appendChild( newCaption ); 
add: var caption = document.getElementById( "header" ); caption.setAttribute( "value", aCaption ); 
context: function ChangeCaption( aCaption ){  var caption = document.getElementById( "caption" );  while( caption.hasChildNodes() )  {    caption.removeChild( caption.firstChild );  }  newCaption = document.createTextNode( aCaption );  caption.appendChild( newCaption );}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/54958006d1c908c856adabbdc8bc658d1385f3f6/profileManager.js/clean/profile/resources/content/profileManager.js