rem: doSetOKCancel( onStart, onExit, null, null ); var okButton = document.getElementById("ok"); var cancelButton = document.getElementById("cancel"); 
add: var okButton = document.documentElement.getButton("accept"); var cancelButton = document.documentElement.getButton("cancel"); 
context: function SetUpOKCancelButtons(){  doSetOKCancel( onStart, onExit, null, null );  var okButton = document.getElementById("ok");  var cancelButton = document.getElementById("cancel");  var okButtonString;  var cancelButtonString;    try {        if (gStartupMode) {      okButtonString = gProfileManagerBundle.getFormattedString("startButton",                                    [gBrandBundle.getString("brandShortName")]);      cancelButtonString = gProfileManagerBundle.getString("exitButton");    }    else {      okButtonString = gProfileManagerBundle.getString("selectButton");      cancelButtonString = gProfileManagerBundle.getString("cancel");    }  } catch (e) {    okButtonString = "Start Yah";    cancelButtonString = "Exit Yah";  }  okButton.setAttribute( "label", okButtonString );  okButton.setAttribute( "class", ( okButton.getAttribute("class") + " padded" ) );  cancelButton.setAttribute( "label", cancelButtonString );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0bb9645b84910f8df2f85df6cf47f8dc1da6181b/profileSelection.js/buggy/profile/resources/content/profileSelection.js