config.ButtonDir = "blue";
config.StyleUploadDir = "uploadfile/";
config.InitMode = "EDIT";
config.AutoDetectPasteFromWord = "1";
config.BaseUrl = "0"; // 路径模式：[0=相对路径，1=绝对路径，2=绝对根路径]
config.BaseHref = ""; // 显示路径，必须以"/"开头
config.AutoRemote = "1";
config.ShowBorder = "0";
config.StateFlag = "1";
config.CssDir = "coolblue";
config.AutoDetectLanguage = "1";
config.DefaultLanguage = "en";

function showToolbar(){

document.write ("<table border=0 cellpadding=0 cellspacing=0 width='100%' class='Toolbar' id='eWebEditor_Toolbar'><tr><td><div class=yToolbar><DIV CLASS=TBHandle></DIV><SELECT CLASS=TBGen onchange=\"format('FormatBlock',this[this.selectedIndex].value);this.selectedIndex=0\">"+lang["FormatBlock"]+"</SELECT><SELECT CLASS=TBGen onchange=\"format('fontname',this[this.selectedIndex].value);this.selectedIndex=0\">"+lang["FontName"]+"</SELECT><SELECT CLASS=TBGen onchange=\"format('fontsize',this[this.selectedIndex].value);this.selectedIndex=0\">"+lang["FontSize"]+"</SELECT><SELECT CLASS=TBGen onchange=\"doZoom(this[this.selectedIndex].value)\"><option value='10'>10%</option><option value='25'>25%</option><option value='50'>50%</option><option value='75'>75%</option><option value='100' selected>100%</option><option value='150'>150%</option><option value='200'>200%</option><option value='500'>500%</option></SELECT><DIV CLASS=TBSep></DIV><DIV CLASS=Btn TITLE='"+lang["EditMenu"]+"' onclick=\"showToolMenu('edit')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/editmenu.gif'></DIV><DIV CLASS=Btn TITLE='"+lang["FontMenu"]+"' onclick=\"showToolMenu('font')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/fontmenu.gif'></DIV><DIV CLASS=Btn TITLE='"+lang["ParagraphMenu"]+"' onclick=\"showToolMenu('paragraph')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/paragraphmenu.gif'></DIV><DIV CLASS=Btn TITLE='"+lang["ComponentMenu"]+"' onclick=\"showToolMenu('component')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/componentmenu.gif'></DIV><DIV CLASS=Btn TITLE='"+lang["ObjectMenu"]+"' onclick=\"showToolMenu('object')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/objectmenu.gif'></DIV><DIV CLASS=Btn TITLE='"+lang["ToolMenu"]+"' onclick=\"showToolMenu('tool')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/toolmenu.gif'></DIV><DIV CLASS=Btn TITLE='"+lang["FormMenu"]+"' onclick=\"showToolMenu('form')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/formmenu.gif'></DIV><DIV CLASS=Btn TITLE='"+lang["TableMenu"]+"' onclick=\"showToolMenu('table')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/tablemenu.gif'></DIV><DIV CLASS=Btn TITLE='"+lang["FileMenu"]+"' onclick=\"showToolMenu('file')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/filemenu.gif'></DIV>");

document.write ("<DIV CLASS=TBSep></DIV><DIV CLASS=Btn TITLE='"+lang["Title"]+"' onclick=\"Indexing('title')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/indexing_title.gif'></DIV><DIV CLASS=TBSep></DIV>");
document.write ("<DIV CLASS=Btn TITLE='"+lang["Author"]+"' onclick=\"Indexing('author')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/indexing_author.gif'></DIV><DIV CLASS=TBSep></DIV>");
document.write ("<DIV CLASS=Btn TITLE='"+lang["Keywords"]+"' onclick=\"Indexing('keywords')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/indexing_keywords.gif'></DIV><DIV CLASS=TBSep></DIV>");
document.write ("<DIV CLASS=Btn TITLE='"+lang["Others"]+"' onclick=\"Indexing('others')\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/indexing_abstract.gif'></DIV><DIV CLASS=TBSep></DIV>");
document.write ("<DIV CLASS=Btn TITLE='"+lang["Save"]+"' onclick=\"location.href='%SAVE%'\"><IMG CLASS=Ico SRC='buttonimage/" + config.ButtonDir + "/save.gif'></DIV>");
document.write ("<DIV CLASS=TBHandle></DIV></div></td></tr></table>");

}
