rem: doSetOKCancel(onOK, onCancel); 
context: function onLoad(){  var arguments = window.arguments[0];  dialog = {};  dialog.OKButton = document.getElementById("ok");  dialog.nameField = document.getElementById("name");  dialog.nameField.focus();  // call this when OK is pressed  dialog.okCallback = arguments.okCallback;  // pre select the folderPicker, based on what they selected in the folder pane  dialog.picker = document.getElementById("msgNewFolderPicker");  MsgFolderPickerOnLoad("msgNewFolderPicker");  // can folders contain both folders and messages?  if (arguments.dualUseFolders) {    dialog.folderType = FOLDERS | MESSAGES;    // hide the section when folder contain both folders and messages.    var newFolderTypeBox = document.getElementById("newFolderTypeBox");    newFolderTypeBox.setAttribute("hidden", "true");  } else {    // set our folder type by calling the default selected type's oncommand    var selectedFolderType = document.getElementById("folderGroup").selectedItem;    eval(selectedFolderType.getAttribute("oncommand"));  }  moveToAlertPosition();  doEnabling();  doSetOKCancel(onOK, onCancel);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/efe3abeb0b7182ee226d63cf1880835259712168/newFolderDialog.js/clean/mailnews/base/resources/content/newFolderDialog.js