context: function Startup(){  if (!InitEditorShell())    return;  doSetOKCancel(onOK, null);  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 1 row, 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 = 1;  dialog.columnsInput.value = 2;  dialog.rowsInput.focus();  // Resize window  window.sizeToContent();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c0a534c8efb9e6703626cacd6d61cb6ad8eb6680/EdInsertTable.js/clean/editor/ui/dialogs/content/EdInsertTable.js