<script src="edithtml/edit.js"></script>
<script src="edithtml/getmenu.js"></script>
<link href="edithtml/style.css" rel="stylesheet">

  <object id=dlgHelper classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" width="0px" height="0px">
    <embed width="0px" height="0px"> </embed> 
</object> 

<table width="100%" height="100" border="0" cellpadding="0" cellspacing="0">
  <tr> 
      
    <td> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" id="editbar">
<tr> 
            <td >
            <table height="20" border="0" cellpadding="0" cellspacing="0">
              <tr align="center"> 

                <td width="55" onMouseOver="this.className='overBorder'" onMouseOut="this.className='outBorder'" onClick="this.className='donwBorder';getmenu('edit');"><img src="edithtml/images/edit.gif"></td>
              
<?php

if($_GET["w"]>=350){


?>                
  				<td width="55" onMouseOver="this.className='overBorder'" onMouseOut="this.className='outBorder'" onClick="this.className='donwBorder';getmenu('view');"><img src="edithtml/images/view.gif"></td>  
 <?php
}
?>
               <td width="55" onMouseOver="this.className='overBorder'" onMouseOut="this.className='outBorder'" onClick="this.className='donwBorder';getmenu('input');"><img src="edithtml/images/input.gif"></td>
				<td width="55" onMouseOver="this.className='overBorder'" onMouseOut="this.className='outBorder'" onClick="this.className='donwBorder';getmenu('modify');"><img src="edithtml/images/modify.gif"></td>
<?php

if($_GET["w"]>=350){


?>
  
              <td width="55" onMouseOver="this.className='overBorder'" onMouseOut="this.className='outBorder'" onClick="this.className='donwBorder';getmenu('text');"><img src="edithtml/images/text.gif"></td>
  <?php
}
?> 
              </tr>
            </table>
          </td>
          </tr>
          <tr> 
            <td bgcolor="#999999"><img src="dot.gif" width="1" height="1"></td>
          </tr>
          <tr> 
            <td bgcolor="#FFFFFF"><img src="dot.gif" width="1" height="1"></td>
          </tr>
     
          <tr> 
            <td height="24"> 
            <table height="22" border="0" cellpadding="0" cellspacing="0">
              <tr> 


   <td width="22" align="center" onClick="this.className='tooldonwBorder';format ('bold');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="粗体"><img src="edithtml/images/bold.gif" width="20" height="20"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';format ('italic');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="斜体"><img src="edithtml/images/italic.gif" width="20" height="20"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';format ('underline');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="下划线"><img src="edithtml/images/underline.gif" width="20" height="20"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';format ('strikethrough');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="删除线"><img src="edithtml/images/del.gif" width="20" height="20"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';Font();" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="字体"><img src="edithtml/images/font.gif" width="20" height="20"></td>
                
                

 <td width="8" align="center"><img src="edithtml/images/separator.gif" width="2" height="18"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';format ('justifyleft');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="左对齐"><img src="edithtml/images/justifyleft.gif" width="20" height="20"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';format ('justifycenter');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="居中对齐"><img src="edithtml/images/justifycenter.gif" width="20" height="20"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';format ('justifyright');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="右对齐"><img src="edithtml/images/justifyright.gif" width="20" height="20"></td>
<?php
$Eheight=182;
if($_GET["w"]<350){
$Eheight=162;

?>
              </tr>
            </table><table height="22" border="0" cellpadding="0" cellspacing="0">
              <tr> 
<?php
}
?>
             <td width="22" align="center" onClick="this.className='tooldonwBorder';InsertTable()" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="插入表格"><img src="edithtml/images/tablemenu.gif" width="17" height="17"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';InsertImg()" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="插入图片"><img src="edithtml/images/image.gif" width="17" height="17"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';InsertFlash()" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="插入Flash"><img src="edithtml/images/flash1.gif" width="17" height="17"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';format ('CreateLink');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="创建链接"><img src="edithtml/images/link.gif" width="16" height="16"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';InsertMarquee()" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="插入移动字幕"><img src="edithtml/images/marquee.gif" width="16" height="13"></td>
<?php

if($_GET["w"]>438){


?>             
					<td width="8" align="center"><img src="edithtml/images/separator.gif" width="2" height="18"></td>
                    <td width="22" align="center" onClick="this.className='tooldonwBorder';format ('insertorderedlist');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="数字编号"><img src="edithtml/images/insertorderedlist.gif" width="14" height="14"></td>
                    <td width="22" align="center" onClick="this.className='tooldonwBorder';format ('insertunorderedlist');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="项目编号"><img src="edithtml/images/insertunorderedlist.gif" width="14" height="13"></td>
                    <td width="22" align="center" onClick="this.className='tooldonwBorder';format ('indent');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="凹进"><img src="edithtml/images/indent.gif" width="16" height="15"></td>
                    <td width="22" align="center" onClick="this.className='tooldonwBorder';format ('outdent');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="凸出"><img src="edithtml/images/outdent.gif" width="16" height="15"></td>
<?php
}
?>                       

<td width="8" align="center"><img src="edithtml/images/separator.gif" width="2" height="18"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';ViewFormat('design');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="设计视图"><img src="edithtml/images/modeeditbtn.gif" width="17" height="16"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';ViewFormat('code');" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="代码视图"><img src="edithtml/images/code.gif" width="20" height="20"></td>
                <td width="22" align="center" onClick="this.className='tooldonwBorder';ShowBorder();" onMouseOver="this.className='tooloverBorder'" onMouseOut="this.className='outBorder'" title="辅助线"><img src="edithtml/images/guide.gif" width="15" height="15"></td>
             
</tr>
            </table>
          </td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
              <td align="center"><iframe ID="EditorID" MARGINHEIGHT="5" MARGINWIDTH="5" width="100%" height="<? echo $Eheight; ?>" scrolling="auto">edit_main</iframe></td>
            </tr>
            
          </table>
          <?php
			$oldbody=Path2Url($oldbody);
		?>
      <input type="hidden" name="content" value="<?php echo $oldbody; ?>">
      <input name="modeedit" type="hidden" value="design">
      <input type="hidden" name="showborder">
    </td>
    </tr>
  </table>
