add:  document.getElementById('ok-button').focus(); 
context: function onLoad(){  pkiParams    = window.arguments[0].QueryInterface(nsIPKIParamBlock);  dialogParams = pkiParams.QueryInterface(nsIDialogParamBlock);  var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");  var message1 = dialogParams.GetString(1);    var currDate = new Date();   var message2 = bundle.formatStringFromName("serverCertExpiredMsg2",                                              [ currDate.toLocaleString() ],                                              1);  setText("message1", message1);  setText("message2", message2);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/230bb2c8f607de1bdc0b0c7c6a5db5f8b783b707/serverCertExpired.js/buggy/security/manager/pki/resources/content/serverCertExpired.js