rem: if( delbutton.getAttribute( "disabled" ) == "true" ) delbutton.removeAttribute( "disabled", "true" ); 
context: function DoEnabling(){  var renbutton = document.getElementById( "renbutton" );  var delbutton = document.getElementById( "delbutton" );  var start     = document.getElementById( "ok" );    var profileList = document.getElementById( "profiles" );  var items = profileList.selectedItems;  if( items.length != 1 )  {    renbutton.setAttribute( "disabled", "true" );    delbutton.setAttribute( "disabled", "true" );    start.setAttribute( "disabled", "true" );  }  else {    if( renbutton.getAttribute( "disabled" ) == "true" )      renbutton.removeAttribute( "disabled", "true" );    if( delbutton.getAttribute( "disabled" ) == "true" )      delbutton.removeAttribute( "disabled", "true" );    if( start.getAttribute( "disabled" ) == "true" )      start.removeAttribute( "disabled", "true" );  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0fcd29efcbe72fbffe037b88271477e15bc628bb/profileManager.js/clean/profile/resources/content/profileManager.js