rem: LoadAvailableCharSets(); 
context: function Startup(){  if (!InitEditorShell())    return;  var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);  observerService.notifyObservers(null, "charsetmenu-selected", "other");  gDialog.TitleInput    = document.getElementById("TitleInput");  gDialog.charsetTree   = document.getElementById('CharsetTree');   gDialog.exportToText  = document.getElementById('ExportToText');  contenttypeElement = GetHTTPEquivMetaElement("content-type");  if(!contenttypeElement && (editorShell.contentsMIMEType != 'text/plain'))   {    contenttypeElement = CreateHTTPEquivMetaElement("content-type");    if( ! contenttypeElement ) 	{      window.close();      return;    }    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  SetTextboxFocus(gDialog.TitleInput);    LoadAvailableCharSets();  initDone = true;    SetWindowLocation();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fa180dfaba4df0a6e9eaf20189d68488dc69653d/EditorSaveAsCharset.js/clean/editor/ui/dialogs/content/EditorSaveAsCharset.js