StyleClasses classes = (StyleClasses) component.getAttributes().get(ATTR_STYLE_CLASS);
writer.writeClassAttribute(classes);
renderTabGroupView(facesContext, writer, component, virtualTab,
(HtmlStyleMap) component.getAttributes().get(ATTR_STYLE),
switchType, image1x1, navigationBarWidth, currentWidth, tabList);
writer.endElement(HtmlConstants.DIV);
if (TobagoConfig.getInstance(facesContext).isAjaxEnabled()
&& SWITCH_TYPE_RELOAD_TAB.equals(switchType)) {
final String[] cmds = {
"new Tobago.TabGroup(",