<%@ page language="C#" autoeventwireup="true" inherits="Editor_Editor, mallz" enableEventValidation="false" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title></title>
<style type="text/css">
html{
	width:100%;
	height:100%;
}
body{
	width:100%;
	height:100%;
}
.login_0{background:url(images/1.gif) repeat-x center center;width:80px;height:25px;border:1px outset #c4dae3;font-size:14px;cursor:pointer!important;cursor:hand;}
.login_1{background:url(images/2.gif) repeat-x center center;width:80px;height:25px;border:1px inset #c4dae3;font-size:14px;cursor:pointer!important;cursor:hand;}
.Btn{
	float:left;
}
</style>
<script language="javascript" charset="gb2312" type="text/javascript">
var sLinkFieldName = "<%=ID%>";
</script>
<script src="editor.js" charset="gb2312"></script>
<script src="table.js" charset="gb2312"></script>
<script src="menu.js" charset="gb2312"></script>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" onConTextMenu="event.returnValue=false;">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="border:1px #c9ddf0 solid; ">
  <tr>
    <td height="50" bgcolor="#F3F9FE">
	
	<table border=0 cellpadding=0 cellspacing=0 width='100%' class='Toolbar' id='LinziWebEditor_Toolbar'>
    <tr><td>
    <SELECT CLASS="TBGen" onchange="format('fontname',this[this.selectedIndex].value);this.selectedIndex=0">
	    <option selected>字体</option>
	    <option value="宋体">宋体</option>
	    <option value="黑体">黑体</option>
	    <option value="楷体_GB2312">楷体</option>
	    <option value="仿宋_GB2312">仿宋</option>
	    <option value="隶书">隶书</option>
	    <option value="幼圆">幼圆</option>
	    <option value="Arial">Arial</option>
    </select>
    <SELECT CLASS="TBGen" onchange="format('fontsize',this[this.selectedIndex].value);this.selectedIndex=0">
	    <option selected>字号</option>
	    <option value="7">一号</option>
	    <option value="6">二号</option>
	    <option value="5">三号</option>
	    <option value="4">四号</option>
	    <option value="3">五号</option>
	    <option value="2">六号</option>
	    <option value="1">七号</option>
    </SELECT>
    <DIV CLASS="Btn" TITLE="粗体" onclick="format('bold')"><IMG CLASS="Ico" SRC="buttonimage/standard/bold.gif"></DIV>
    <DIV CLASS="Btn" TITLE="斜体" onclick="format('italic')"><IMG CLASS="Ico" SRC="buttonimage/standard/italic.gif"></DIV>
    <DIV CLASS="Btn" TITLE="左对齐" onclick="format('justifyleft')"><IMG CLASS="Ico" SRC="buttonimage/standard/JustifyLeft.gif"></DIV>
    <DIV CLASS="Btn" TITLE="居中对齐" onclick="format('justifycenter')"><IMG CLASS="Ico" SRC="buttonimage/standard/JustifyCenter.gif"></DIV>
    <DIV CLASS="Btn" TITLE="右对齐" onclick="format('justifyright')"><IMG CLASS="Ico" SRC="buttonimage/standard/JustifyRight.gif"></DIV>
    <DIV CLASS="Btn" TITLE="两端对齐" onclick="format('JustifyFull')"><IMG CLASS="Ico" SRC="buttonimage/standard/JustifyFull.gif"></DIV>
    <DIV CLASS="Btn" TITLE="字体颜色" onclick="ShowDialog('dialog/selcolor.htm?action=forecolor', 280, 250, true)"><IMG CLASS="Ico" SRC="buttonimage/standard/forecolor.gif"></DIV>
    <DIV CLASS="Btn" TITLE="对象背景颜色" onclick="ShowDialog('dialog/selcolor.htm?action=bgcolor', 280, 250, true)"><IMG CLASS="Ico" SRC="buttonimage/standard/bgcolor.gif"></DIV>
    <DIV CLASS="Btn" TITLE="字体背景颜色" onclick="ShowDialog('dialog/selcolor.htm?action=backcolor', 280, 250, true)"><IMG CLASS="Ico" SRC="buttonimage/standard/backcolor.gif"></DIV>
    <DIV CLASS="Btn" TITLE="背景图片" onclick="ShowDialog('dialog/backimage.htm', 350, 210, true)"><IMG CLASS="Ico" SRC="buttonimage/standard/bgpic.gif"></DIV>
    <DIV CLASS="Btn" TITLE="插入或修改图片" onclick="ShowDialog('dialog/img.htm', 350, 315, true)"><IMG CLASS="Ico" SRC="buttonimage/standard/img.gif"></DIV>
    <DIV CLASS="Btn" TITLE="插入表格" onclick="TableInsert()"><IMG CLASS="Ico" SRC="buttonimage/standard/tablemenu.gif"></DIV>
    </td></tr>
    </table>
	
	</td>
  </tr>
  <tr>
    <td style="border:1px #c9ddf0 solid;">
	
	<table border=0 cellpadding=0 cellspacing=0 width='100%' height='100%'>
	<tr><td height='100%'>
	<input name="Content" type="hidden">
		<iframe ID="LinziWebEditor" MARGINHEIGHT="0" MARGINWIDTH="0" frameborder="0" width="100%" height="100%" scrolling="yes"></iframe>
	</td></tr>
	</table>
	
	</td>
  </tr>
  <tr>
    <td height="35" bgcolor="#F3F9FE">
	<div style="float:right; width:150px;">
		<img onClick="sizeChange(200)" style="cursor:pointer; " src="ButtonImage/standard/sizeplus.gif" width="20" height="20">
		<img onClick="sizeChange(-200)" style="cursor:pointer; " src="ButtonImage/standard/sizeminus.gif" width="20" height="20">
	</div>
    <div>
		&nbsp;<input type="button" name="EDIT_button" value="编辑模式" class="login_1" onClick="javascript:{return SetMode('EDIT')}">
    	<input type="button" name="CODE_button" value="代码模式"  class="login_0" onClick="javascript:{return SetMode('CODE')}">
	</div>
	</td>
  </tr>
</table>

</body>
</html>

