rem: } 
context: function Startup(){  dump("Doing Startup...\n");    // get the editor shell from the parent window  editorShell = window.opener.editorShell;  editorShell = editorShell.QueryInterface(Components.interfaces.nsIEditorShell);  if(!editorShell) {    dump("EditoreditorShell not found!!!\n");    window.close();    return;  }  dump("EditoreditorShell found for Image Properties dialog\n");  // Create dialog object to store controls for easy access  dialog = new Object;  // This is the "combined" widget:  dialog.srcInput = document.getElementById("image.srcInput");  dialog.altTextInput = document.getElementById("image.altTextInput");  dialog.AdvancedButton = document.getElementById("AdvancedButton");  dialog.AdvancedRow = document.getElementById("AdvancedRow");  dialog.customsizeRadio = document.getElementById( "customsizeRadio" );  dialog.imagewidthInput = document.getElementById( "imagewidthInput" );  dialog.imageheightInput = document.getElementById( "imageheightInput" );    dialog.imagelrInput = document.getElementById( "imageleftrightInput" );  dialog.imagetbInput = document.getElementById( "imagetopbottomInput" );  dialog.imageborderInput = document.getElementById( "imageborderInput" );  // Start in the mode initialized in the "advanced" var above  // THIS IS NOT WORKING NOW - After switching to "basic" mode,  // then back to   if (advanced) {    dialog.AdvancedRow.style.visibility = "inherit"; // visible  } else {    dialog.AdvancedRow.style.visibility = "hidden"; // collapse  }  if (null == dialog.srcInput ||       null == dialog.altTextInput )  {    dump("Not all dialog controls were found!!!\n");  }        initDialog();    dialog.srcInput.focus();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/8f1b0f0e2f48f83a0ca1fc5b895d4b1c08312577/EdImageProps.js/clean/editor/ui/dialogs/content/EdImageProps.js