$('<a />')
.attr('class', 'mceButton mceButtonEnabled bbCodeEditorButton')
.append(
$('<span />')
.attr({
title: ed.settings.xenforo_bbcode_switch_text[0],
'class': 'mceIcon'
})
.click($.context(t, 'wysiwygToBbCode'))
)
.prependTo('#' + ed.id + '_tbl td.mceToolbar');