rem: CellTab.setAttribute("selected", "true"); TableTab.removeAttribute("selected"); 
add: gDialog.CellTab.selected = "true"; gDialog.TableTab.selected = null; 
context: function SwitchToValidatePanel(){  if (currentPanel != validatePanel)  {    //Set index for starting panel on the <tabpanels> element    TabPanels.setAttribute("selectedIndex", validatePanel);    if (validatePanel == CellPanel)    {      // Trigger setting of style for the tab widgets      CellTab.setAttribute("selected", "true");      TableTab.removeAttribute("selected");    } else {      TableTab.setAttribute("selected", "true");      CellTab.removeAttribute("selected");    }    currentPanel = validatePanel;  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/30e4db28ced4996c2a5c609b374b1fc75f175370/EdTableProps.js/clean/editor/ui/dialogs/content/EdTableProps.js