rem: TabPanels.setAttribute("selectedIndex", validatePanel); 
add: gDialog.TabPanels.selectedIndex = validatePanel; 
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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1c8672d4f4c756485ea32dc9669b2abe3cbc47eb/EdTableProps.js/clean/editor/ui/dialogs/content/EdTableProps.js