<?php
!defined('IN_PBDIGG') && exit('Access Denied!');

$content = <<<EOT
<script type="text/javascript">
function checklength() {
	var message = PB("posteditor_textarea").value;
	alert('当前长度: ' + message.length + ' 字节');
}
var editorid = "posteditor";
var wysiwyg = 0;
function clearcontent() {
	textobj.value = '';
}
var lang = new Array();
lang["enter_tag_option"]= "请输入 %1 标签的选项:";
lang["enter_link_url"]= "请输入链接的地址:";
lang["enter_image_url"]= "请输入图片链接地址:";
lang["enter_email_link"]= "请输入此链接的邮箱地址:";
lang['fontname']= "字体";
lang['fontsize']= "大小";
var custombbcodes = new Array();
custombbcodes["flash"] = "[flash=400,400]http://[/flash]";
custombbcodes["media"] = "[media=400,400]http://[/media]";
var fontoptions = new Array("仿宋_GB2312", "黑体", "楷体_GB2312", "宋体", "新宋体", "Tahoma", "Arial", "Impact", "Verdana", "Times New Roman");
</script>
<div class="spaceborder">
  	<div id="posteditor">
      <table width="100%" cellpadding="0" cellspacing="0" class="editor">
        <tr>
        <td id="posteditor_controls" class="editor_controlbar">
        <!--1-->
		<table cellpadding="0" cellspacing="0" border="0">
          <tr>
		  
            <td><div class="editor_buttonnormal" id="posteditor_cmd_bold" onclick="ubbcode('bold')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_bold.gif" class="icon" title="粗体" alt="粗体" /></div></td>
			
            <td><div class="editor_buttonnormal" id="posteditor_cmd_italic" onclick="ubbcode('italic')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_italic.gif" class="icon" title="斜体" alt="斜体" /></div></td>
			
            <td><div class="editor_buttonnormal" id="posteditor_cmd_underline" onclick="ubbcode('underline')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_underline.gif" class="icon" title="下划线" alt="下划线" /></div></td>
			
            <td><img src="include/editor/ubb/images/bb_separator.gif" class="separator" alt="" /></td>
			
            <td id="posteditor_popup_fontname" title="字体"><div class="editor_buttonnormal" onmouseover="menuContext(this, 'mouseover')" onmouseout="menuContext(this, 'mouseout')">
                <table cellpadding="0" cellspacing="0" border="0" unselectable="on">
                  <tr>
                    <td class="editor_menunormal" unselectable="on" id="posteditor_menu"><div id="posteditor_font_out" style="width:91px" unselectable="on">字体</div></td>
                    <td unselectable="on"><img src="include/editor/ubb/images/bb_menupop.gif" width="7" height="4" alt="" /></td>
                  </tr>
                </table>
                <script type="text/javascript">menuregister(true, "posteditor_popup_fontname")</script>
              </div>
            </td>
			
            <td id="posteditor_popup_fontsize" title="大小"><div class="editor_buttonnormal" onmouseover="menuContext(this, 'mouseover')" onmouseout="menuContext(this, 'mouseout')">
                <table cellpadding="0" cellspacing="0" border="0" unselectable="on">
                  <tr>
                    <td class="editor_menunormal" unselectable="on" id="posteditor_menu"><div id="posteditor_size_out" style="width:25px" unselectable="on">大小</div></td>
                    <td unselectable="on"><img src="include/editor/ubb/images/bb_menupop.gif" width="7" height="4" alt="" /></td>
                  </tr>
                </table>
                <script type="text/javascript">menuregister(true, "posteditor_popup_fontsize")</script>
              </div></td>
			  
            <td id="posteditor_popup_forecolor" title="颜色"><div class="editor_buttonnormal" onmouseover="menuContext(this, 'mouseover')" onmouseout="menuContext(this, 'mouseout')">
                <table cellpadding="0" cellspacing="0" border="0" unselectable="on">
                  <tr>
                    <td class="editor_colormenunormal" unselectable="on" id="posteditor_colormenu"><img src="include/editor/ubb/images/bb_color.gif" width="21" height="16" alt="" /><br>
                      <img src="include/editor/ubb/images/bb_clear.gif" id="posteditor_color_bar" alt="" style="background:#333" width="21" height="4" /></td>
                    <td unselectable="on"><img src="include/editor/ubb/images/bb_menupop.gif" width="7" height="4" alt="" /></td>
                  </tr>
                </table>
                <script type="text/javascript">menuregister(true, "posteditor_popup_forecolor")</script>
              </div>
            </td>

            <td><img src="include/editor/ubb/images/bb_separator.gif" class="separator" alt="" /></td>
			
            <td><div class="editor_buttonnormal" id="posteditor_cmd_justifyleft" onclick="ubbcode('justifyleft')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_left.gif" class="icon" title="居左" alt="居左" /></div></td>
			
            <td><div class="editor_buttonnormal" id="posteditor_cmd_justifycenter" onclick="ubbcode('justifycenter')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_center.gif" class="icon" title="居中" alt="居中" /></div></td>
			
            <td><div class="editor_buttonnormal" id="posteditor_cmd_justifyright" onclick="ubbcode('justifyright')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_right.gif" class="icon" title="居右" alt="居右" /></div></td>
			
          </tr>
        </table>
        <!--1-->

        <!--2-->
        <table cellpadding="0" cellspacing="0" border="0">
          <tr>
		  
            <td><div class="editor_buttonnormal" id="posteditor_cmd_createlink" onclick="ubbcode('createlink')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_url.gif" class="icon" title="插入链接" alt="插入链接" /></div></td>
			
            <td><div class="editor_buttonnormal" id="posteditor_cmd_unlink" onclick="ubbcode('unlink')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_unlink.gif" class="icon" title="移除链接" alt="移除链接" /></div></td>
			
            <td><div class="editor_buttonnormal" id="posteditor_cmd_email" onclick="ubbcode('email')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_email.gif" class="icon" title="插入邮箱链接" alt="插入邮箱链接" /></div></td>
			
            <td><img src="include/editor/ubb/images/bb_separator.gif" class="separator" alt="" /></td>
            <td><div class="editor_buttonnormal" id="posteditor_cmd_insertimage" onclick="ubbcode('insertimage')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_image.gif" class="icon" title="插入图片" alt="插入图片" /></div></td>
			
            <td><div class="editor_buttonnormal" id="posteditor_cmd_wrap0_quote" onclick="ubbcode('quote')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_quote.gif" class="icon" title="插入引用" alt="插入引用" /></div></td>
			
            <td><div class="editor_buttonnormal" id="posteditor_cmd_wrap0_code" onclick="ubbcode('code')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_code.gif" class="icon" title="插入代码" alt="插入代码" /></div></td>
			
            <td><img src="include/editor/ubb/images/bb_separator.gif" class="separator" alt="" /></td>
            <td><div class="editor_buttonnormal" id="posteditor_cmd_custom1_flash" onclick="ubbcode('custom1_flash')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_flash.gif" class="icon" title="嵌入 Flash 动画" alt="flash" /></div></td>
			
            <td><div class="editor_buttonnormal" id="posteditor_cmd_custom1_media" onclick="ubbcode('custom1_media')" onmouseover="buttonContext(this, 'mouseover')" onmouseout="buttonContext(this, 'mouseout')"><img src="include/editor/ubb/images/bb_media.gif" class="icon" title="嵌入音频或视频" alt="media" /></div></td>
			
          </tr>
        </table>
        <!--2-->
        
        <!--3-->
		<div class="popupmenu_popup" id="posteditor_popup_fontname_menu" style="display: none">
          <table cellpadding="4" cellspacing="0" border="0" unselectable="on">
            <tr>
              <td class="popupmenu_option" onclick="ubbcode('fontname', '仿宋_GB2312')" unselectable="on"><font face="仿宋_GB2312" unselectable="on">仿宋_GB2312</font></td>
            </tr>
			
            <tr>
              <td class="popupmenu_option" onclick="ubbcode('fontname', '黑体')" unselectable="on"><font face="黑体" unselectable="on">黑体</font></td>
            </tr>
            <tr>
              <td class="popupmenu_option" onclick="ubbcode('fontname', '楷体_GB2312')" unselectable="on"><font face="楷体_GB2312" unselectable="on">楷体_GB2312</font></td>
            </tr>
            <tr>
              <td class="popupmenu_option" onclick="ubbcode('fontname', '宋体')" unselectable="on"><font face="宋体" unselectable="on">宋体</font></td>
            </tr>
            <tr>
              <td class="popupmenu_option" onclick="ubbcode('fontname', '新宋体')" unselectable="on"><font face="新宋体" unselectable="on">新宋体</font></td>
            </tr>
            <tr>
              <td class="popupmenu_option" onclick="ubbcode('fontname', 'Tahoma')" unselectable="on"><font face="Tahoma" unselectable="on">Tahoma</font></td>
            </tr>
            <tr>
              <td class="popupmenu_option" onclick="ubbcode('fontname', 'Arial')" unselectable="on"><font face="Arial" unselectable="on">Arial</font></td>
            </tr>
            <tr>
              <td class="popupmenu_option" onclick="ubbcode('fontname', 'Impact')" unselectable="on"><font face="Impact" unselectable="on">Impact</font></td>
            </tr>
            <tr>
              <td class="popupmenu_option" onclick="ubbcode('fontname', 'Verdana')" unselectable="on"><font face="Verdana" unselectable="on">Verdana</font></td>
            </tr>
            <tr>
              <td class="popupmenu_option" onclick="ubbcode('fontname', 'Times New Roman')" unselectable="on"><font face="Times New Roman" unselectable="on">Times New Roman</font></td>
            </tr>
          </table>
        </div>
        <div class="popupmenu_popup" id="posteditor_popup_fontsize_menu" style="display: none">
          <table cellpadding="4" cellspacing="0" border="0" unselectable="on">
            <tr align="center">
              <td class="popupmenu_option" onclick="ubbcode('fontsize', 1)" unselectable="on"><font size="1" unselectable="on">1</font></td>
            </tr>
            <tr align="center">
              <td class="popupmenu_option" onclick="ubbcode('fontsize', 2)" unselectable="on"><font size="2" unselectable="on">2</font></td>
            </tr>
            <tr align="center">
              <td class="popupmenu_option" onclick="ubbcode('fontsize', 3)" unselectable="on"><font size="3" unselectable="on">3</font></td>
            </tr>
            <tr align="center">
              <td class="popupmenu_option" onclick="ubbcode('fontsize', 4)" unselectable="on"><font size="4" unselectable="on">4</font></td>
            </tr>
            <tr align="center">
              <td class="popupmenu_option" onclick="ubbcode('fontsize', 5)" unselectable="on"><font size="5" unselectable="on">5</font></td>
            </tr>
            <tr align="center">
              <td class="popupmenu_option" onclick="ubbcode('fontsize', 6)" unselectable="on"><font size="6" unselectable="on">6</font></td>
            </tr>
            <tr align="center">
              <td class="popupmenu_option" onclick="ubbcode('fontsize', 7)" unselectable="on"><font size="7" unselectable="on">7</font></td>
            </tr>
          </table>
        </div>
        <div class="popupmenu_popup" id="posteditor_popup_forecolor_menu" style="display: none">
          <table cellpadding="4" cellspacing="0" border="0" unselectable="on">
            <tr>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Black')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Black" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Sienna')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Sienna" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'DarkOliveGreen')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: DarkOliveGreen" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'DarkGreen')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: DarkGreen" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'DarkSlateBlue')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: DarkSlateBlue" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Navy')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Navy" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Indigo')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Indigo" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'DarkSlateGray')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: DarkSlateGray" unselectable="on"></div></td>
            </tr>
            <tr>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'DarkRed')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: DarkRed" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'DarkOrange')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: DarkOrange" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Olive')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Olive" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Green')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Green" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Teal')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Teal" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Blue')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Blue" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'SlateGray')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: SlateGray" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'DimGray')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: DimGray" unselectable="on"></div></td>
            </tr>
            <tr>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Red')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Red" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'SandyBrown')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: SandyBrown" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'YellowGreen')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: YellowGreen" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'SeaGreen')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: SeaGreen" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'MediumTurquoise')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: MediumTurquoise" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'RoyalBlue')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: RoyalBlue" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Purple')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Purple" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Gray')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Gray" unselectable="on"></div></td>
            </tr>
            <tr>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Magenta')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Magenta" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Orange')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Orange" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Yellow')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Yellow" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Lime')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Lime" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Cyan')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Cyan" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'DeepSkyBlue')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: DeepSkyBlue" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'DarkOrchid')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: DarkOrchid" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Silver')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Silver" unselectable="on"></div></td>
            </tr>
            <tr>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Pink')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Pink" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Wheat')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Wheat" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'LemonChiffon')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: LemonChiffon" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'PaleGreen')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: PaleGreen" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'PaleTurquoise')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: PaleTurquoise" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'LightBlue')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: LightBlue" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'Plum')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: Plum" unselectable="on"></div></td>
              <td class="editor_colornormal" onclick="ubbcode('forecolor', 'White')" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: White" unselectable="on"></div></td>
            </tr>
          </table>
        </div>
        <!--3-->
		
        </td>
        </tr>
      </table>
      <div class="editor_text">
        <textarea name="content" rows="10" cols="60" tabindex="100" id="posteditor_textarea" onselect="javascript: storeCaret(this);" onclick="javascript: storeCaret(this);" onkeyup="javascript:storeCaret(this);"  onKeyDown="javascript:keysubmit(event, 'post');">{$text}</textarea>
      </div>
      <table width="100%" cellpadding="0" cellspacing="5" class="editor_button">
        <tr>
          <td>
          <div class="editor_textexpand"></div></td>
          <td align="right"><input type="button" class="lightbutton" value="字数检查" onclick="checklength()">
            <input type="button" class="lightbutton" value=" 清空内容 " tabindex="103" onclick="clearcontent()">
          </td>
        </tr>
      </table>
      <input type="hidden" name="wysiwyg" id="posteditor_mode" value="1">
    </div>
</div>
<script type="text/javascript">
var textobj = PB(editorid + '_textarea');
newEditor(0);
</script>
EOT;
?>