rem: } 
add: } 
context: function getContainer (){  tagName = "img";  selImage = editorShell.GetSelectedElement(tagName);  if (selImage)  // existing image  {    dump("Is an image element\n");    oneup = selImage.parentNode;    dump("Parent = " + oneup.nodeName + "\n");    //twoup = oneup.parentNode;    //dump("Grand Parent is " + twoup.nodeName + "\n");    return oneup;  }  else if (!selImage)  // new image insertion  {    dump("Not an image element\n");    dump("Trying for caret selection\n");    var selection = window.editorShell.editorSelection;    if (selection)      {        dump("Got selection\n");        //dump("Selection is " + selection.nodeName + "\n");        var focusN = selection.focusNode;        dump("FOCUS is now on " + focusN.nodeName + "\n");        if (focusN.nodeName == "TD")          return focusN                else        {          oneup = focusN.parentNode;          dump("PARENT is " + oneup.nodeName + "\n");          return oneup;                }          }    else      return null;     }   else     return null;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/711c0f72c9655c2558d43bb716847f1a294b8372/EdDialogCommon.js/clean/editor/ui/dialogs/content/EdDialogCommon.js