<%
Function Editor( objID, pValue )
%>
<div id="editor">
<div>
【 <a href="ubb.htm" target="_blank">UBB 帮助</a> 】
</div>
<div>
<%
Dim a,i
For i=1 to 59
  If len(i)=1 Then a="0" & i Else a=i
  response.write "<img src=""images/faces/"&a&".gif"" width=20 height=20 border=0 onclick=""insertFace('"&objID&"','[face"&a&"]')"" style=""cursor:pointer"">"
Next
%>
</div>
<div style="display:inline;">
<input name="链" type="button" value="链接" class="nsbtn" onClick="insertUBB('<%=objID%>','link');"><input name="大小" type="button" value="大小" class="nsbtn" onClick="insertUBB('<%=objID%>','size');"><input name="粗体" type="button" value="加粗" class="nsbtn" onClick="insertUBB('<%=objID%>','bold');"><input name="斜体" type="button" value="倾斜" class="nsbtn" onClick="insertUBB('<%=objID%>','ital');"><input name="斜体" type="button" value="下划" class="nsbtn" onClick="insertUBB('<%=objID%>','underline');"><input name="颜色" type="button" value="颜色" class="nsbtn" onClick="insertUBB('<%=objID%>','color');"><input name="字体" type="button" value="字体" class="nsbtn" onClick="insertUBB('<%=objID%>','font');"><input name="色" type="button" value="插图" class="nsbtn" onClick="insertUBB('<%=objID%>','images');"><input name="引用" type="button" value="引用" class="nsbtn" onClick="insertUBB('<%=objID%>','quote');"><input name="上标" type="button" value="上标" class="nsbtn" onClick="insertUBB('<%=objID%>','sup');"><input name="下标" type="button" value="下标" class="nsbtn" onClick="insertUBB('<%=objID%>','sub');">
</div>
<div><textarea id="<%=objID%>" name="<%=objID%>" class="input_common" style="width:100%;height:100px;"><%=pValue%></textarea></div>
</div>
<%
End Function
%>