rem: SetTextfieldFocus(dialog.widthInput); 
add: SetTextboxFocus(dialog.widthInput); 
context: function Startup(){  dump("HLine Properties startup...\n");  if (!InitEditorShell())    return;  doSetOKCancel(onOK, onCancel);  // Get the selected horizontal line  hLineElement = editorShell.GetSelectedElement(tagName);  if (!hLineElement) {    // We should never be here if not editing an existing HLine    dump("HLine is not selected! Shouldn't be here!\n");    window.close();    return;  }  // Create dialog object to store controls for easy access  dialog = new Object;  dialog.heightInput = document.getElementById("height");  dialog.widthInput = document.getElementById("width");  dialog.leftAlign = document.getElementById("leftAlign");  dialog.centerAlign = document.getElementById("centerAlign");  dialog.rightAlign = document.getElementById("rightAlign");  dialog.shading = document.getElementById("3dShading");  dialog.pixelOrPercentMenulist = document.getElementById("pixelOrPercentMenulist");  // Make a copy to use for AdvancedEdit and onSaveDefault  globalElement = hLineElement.cloneNode(false);  // Initialize control values based on existing attributes  InitDialog()  // SET FOCUS TO FIRST CONTROL  SetTextfieldFocus(dialog.widthInput);  // Resize window  window.sizeToContent();  SetWindowLocation();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/1e7ee6f0f96dbc0326edd55283ca67952efda4df/EdHLineProps.js/clean/editor/ui/dialogs/content/EdHLineProps.js