rem: dialog.heightPixelOrPercentMenulist = document.getElementById("heightPixelOrPercentMenulist"); 
context: function Startup(){  if (!InitEditorShell())    return;  doSetOKCancel(onOK, onCancel);  tableElement = editorShell.CreateElementWithDefaults(tagName);  if(!tableElement)  {    dump("Failed to create a new table!\n");    window.close();  }  // Create dialog object to store controls for easy access  dialog = new Object;  dialog.rowsInput    = document.getElementById("rowsInput");  dialog.columnsInput = document.getElementById("columnsInput");  dialog.widthInput = document.getElementById("widthInput");  dialog.heightInput = document.getElementById("heightInput");  dialog.borderInput = document.getElementById("borderInput");  dialog.widthPixelOrPercentMenulist = document.getElementById("widthPixelOrPercentMenulist");  dialog.heightPixelOrPercentMenulist = document.getElementById("heightPixelOrPercentMenulist");  // Make a copy to use for AdvancedEdit  globalElement = tableElement.cloneNode(false);    // Initialize all widgets with image attributes  InitDialog();  // Set initial number to 2 rows, 2 columns:  // Note, these are not attributes on the table,  //  so don't put them in InitDialog(),  //  else the user's values will be trashed when they use   //  the Advanced Edit dialog  dialog.rowsInput.value = 2;  dialog.columnsInput.value = 2;  // If no default value on the width, set to 100%  if (dialog.widthInput.value.length == 0)  {    dialog.widthInput.value = "100";    dialog.widthPixelOrPercentMenulist.selectedIndex = 1;  }  // Resize window  window.sizeToContent();  SetTextfieldFocus(dialog.rowsInput);  SetWindowLocation();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6ba1558722748df9820dc1048cc3ba862a3dd07e/EdInsertTable.js/clean/editor/ui/dialogs/content/EdInsertTable.js