rem: doSetOKCancel(doOK, doCancel, null, null);  
context: function onLoad(){  dialogParams = window.arguments[0].QueryInterface(nsIDialogParamBlock);  var selectElement = document.getElementById("nicknames");  itemCount = dialogParams.GetInt(0);  var selIndex = dialogParams.GetInt(1);  if (selIndex < 0)    selIndex = 0;    for (var i=0; i < itemCount; i++) {      var menuItemNode = document.createElement("menuitem");      var nick = dialogParams.GetString(i);      menuItemNode.setAttribute("value", i);      menuItemNode.setAttribute("label", nick); // this is displayed      selectElement.firstChild.appendChild(menuItemNode);            if (selIndex == i) {        selectElement.selectedItem = menuItemNode;      }  }  doSetOKCancel(doOK, doCancel, null, null);  dialogParams.SetInt(0,0); // set cancel return value  setDetails();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5936aeb292ee5ffa0db2ed904fb351b438822196/certpicker.js/buggy/security/manager/pki/resources/content/certpicker.js