rem: GetAttention(); 
add: getAttention(); 
context: function commonDialogOnLoad(){  // set the window title  window.title = gCommonDialogParam.GetString(12);  // set the number of command buttons  var nButtons = gCommonDialogParam.GetInt(2);  var dialog = document.documentElement;  switch (nButtons) {    case 1:      dialog.getButton("cancel").hidden = true;      break;    case 4:      dialog.getButton("extra2").hidden = false;    case 3:      dialog.getButton("extra1").hidden = false;  }  // display the main text  var messageText = gCommonDialogParam.GetString(0);  var messageParent = document.getElementById("info.box");  var messageParagraphs = messageText.split("\n");  for (var i = 0; i < messageParagraphs.length; i++) {    var descriptionNode = document.createElement("description");    var text = document.createTextNode(messageParagraphs[i]);    descriptionNode.appendChild(text);    messageParent.appendChild(descriptionNode);  }  setElementText("info.header", gCommonDialogParam.GetString(3), true);  // set the icon  var iconElement = document.getElementById("info.icon");  var iconClass = gCommonDialogParam.GetString(2);  if (!iconClass)    iconClass = "message-icon";  iconElement.setAttribute("class", iconElement.getAttribute("class") + " " + iconClass);  // set the number of command buttons  nButtons = gCommonDialogParam.GetInt(2);  switch (nButtons) {    case 4:      document.documentElement.getButton("extra2").label = gCommonDialogParam.GetString(11);      // fall through    case 3:      document.documentElement.getButton("extra1").label = gCommonDialogParam.GetString(10);      // fall through    default:    case 2:      var string = gCommonDialogParam.GetString(8);      if (string)        document.documentElement.getButton("accept").label = string;      // fall through    case 1:      string = gCommonDialogParam.GetString(9);      if (string)        document.documentElement.getButton("cancel").label = string;      break;  }  // set default result to cancelled  gCommonDialogParam.SetInt(0, 1);   // initialize the checkbox  setCheckbox(gCommonDialogParam.GetString(1), gCommonDialogParam.GetInt(1));  GetAttention();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f8e111bab093c79dad9c89a1cffa31462a57b2ed/commonDialog.js/buggy/xpfe/global/resources/content/commonDialog.js