gStyleToolbar.add(gQSToolbarSeperator); gStyleToolbar.add(gToolbarSeperator); var fontFamily = new CToolbarSelect(gStyleToolbar, 'fontFamily', 'selectStyleCommand(FONT_FAMILY, this);', '', ''); var fontValue = ''; fontValue = ''; if (fontValue.indexOf(' ') >= 0) fontValue = "''" fontFamily.add(fontValue, ''); var fontSize = new CToolbarSelect(gStyleToolbar, 'fontSize', 'selectStyleCommand(FONT_SIZE, this);', '', ''); fontSize.add('', ' '); var = new CToolbarPicker(gStyleToolbar, "new CColorPicker(\"\", \"\", \"\", , \"\", , \"\")","", "", "selectColor"); toolbarButton = new CToolbarButton(gStyleToolbar, 'toggleStyleCommand(\"\")', null, '', gToolbarButtonStyle,false, '', null, ''); toolbarButton.m_id = "tbbutton"; var = new CToolbarPicker(gStyleToolbar, "new CAlignmentPicker(\"\", \"\", \"\", \"\")","", "", "selectAlignment"); toolbarButton = new CToolbarButton(gStyleToolbar, '', '/', '', gToolbarButtonbStyle, false, null, null, ''); toolbarButton = new CToolbarButton(gStyleToolbar, '', '', '', gToolbarButtonbStyle, false, null, null, '');