// config for editor
var config = new HTMLArea.Config();
config.pageStyle = '.cffake {cursor:pointer;;border:solid 1px #5050FF; background-color:#EEEEFF;padding:3px;}';
//config.registerButton( 'wbDialog.Example', 'Example popup', 'ed_custom.gif', false, wbDialogStart );
//config.registerButton( 'wbDialog.Date', 'Server Time', 'ed_custom.gif', false, wbDialogStart );
config.registerButton( 'wbDialog.Link', 'Create Link', 'admin/xinha/images/ed_link.gif', false, wbDialogStart );
config.toolbar = [
[
'formatblock','bold', 'italic', 'underline', 'strikethrough', 'separator',
'insertorderedlist', 'insertunorderedlist', 'outdent', 'indent', 'separator',
//'wbDialog.Link', 'wbDialog.Example', 'wbDialog.Date', 'separator',
'wbDialog.Link', 'separator',
'undo','redo','separator',
'htmlmode'
]
];