rem: if (!gColorObj) gColorObj = new Object;  
context: function GetBackgroundElementWithColor(){  if (!gColorObj)   gColorObj = new Object;  gColorObj.Type = "";  gColorObj.PageColor = "";  gColorObj.TableColor = "";  gColorObj.CellColor = "";  gColorObj.BackgroundColor = "";  var tagNameObj = new Object;  var countObj = new Object;  var element = window.editorShell.GetSelectedOrParentTableElement(tagNameObj, countObj);  if (element && tagNameObj && tagNameObj.value)  {    gColorObj.BackgroundColor = element.getAttribute("bgcolor");    if (tagNameObj.value.toLowerCase() == "td")    {      gColorObj.Type = "Cell";      gColorObj.CellColor = gColorObj.BackgroundColor;            // Get any color that might be on parent table      var table = GetParentTable(element);      gColorObj.TableColor = table.getAttribute("bgcolor");    }    else    {      gColorObj.Type = "Table";      gColorObj.TableColor = gColorObj.BackgroundColor;    }  }  else  {    element = GetBodyElement();    if (element)    {      gColorObj.Type = "Page";      gColorObj.BackgroundColor = element.getAttribute("bgcolor");      gColorObj.PageColor = gColorObj.BackgroundColor;    }  }  return element;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5986ab59396a3071965154ed4499fa5a734750cd/editor.js/clean/editor/ui/composer/content/editor.js