rem: SetTextfieldFocus(dialog.TitleInput); 
add: SetTextboxFocus(dialog.TitleInput); 
context: function Startup(){  if (!InitEditorShell())    return;  doSetOKCancel(onOK, onCancel);  // Create dialog object to store controls for easy access  dialog = new Object;  dialog.TitleInput    = document.getElementById("TitleInput");  dialog.charsetTree   = document.getElementById('CharsetTree');   //dialog.charsetRoot = document.getElementById('CharsetRoot');   contenttypeElement = GetHTTPEquivMetaElement("content-type");  if(! contenttypeElement )  {    contenttypeElement = CreateHTTPEquivMetaElement("content-type");    if( ! contenttypeElement )      window.close();    insertNewContentType = true;  }  InitDialog();  // Use the same text as the messagebox for getting title by regular "Save"  document.getElementById("EnterTitleLabel").setAttribute("value",GetString("NeedDocTitle"));  // This is an <HTML> element so it wraps -- append a child textnode  var helpTextParent = document.getElementById("TitleHelp");  var helpText = document.createTextNode(GetString("DocTitleHelp"));  if (helpTextParent)    helpTextParent.appendChild(helpText);    // SET FOCUS TO FIRST CONTROL  SetTextfieldFocus(dialog.TitleInput);  LoadAvailableCharSets();  initDone = true;  SetWindowLocation();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cf7a9d0f5652617834ad8a030c662e1cc105f2c5/EditorSaveAsCharset.js/clean/editor/ui/dialogs/content/EditorSaveAsCharset.js