<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<title>Online Chinese Input Method Editor (IME) 在线中文输入系统+繁简转换</title>
<script type="text/javascript" language="javascript" src="loading.js"></script>
<script type="text/javascript" language="javascript" src="data.js"></script>
<script type="text/javascript" language="javascript" src="ime.js"></script>
<script type="text/javascript" language="javascript" src="fjzh.js"></script>
<script type="text/javascript">
function replacetext() {
txt1 = prompt("请输入要替换的字符:","");
if (txt1 != null) {
if (txt1 != "") {
txt2 = prompt("把字符替换为:",txt1);
}
else {
replacetext();
}
var text1 = txt1;
var text2 = txt2;
document.IMEFORM.InputArea.value = eval('document.IMEFORM.InputArea.value.replace(/'+text1+'/'+'g'+',"'+text2+'")');
}
}
function deletespace() {
document.IMEFORM.InputArea.value = eval('document.IMEFORM.InputArea.value.replace(/ /g,"")');
}
</script>
</head>
<body OnLoad="BodyOnLoad();">
<form name="IMEFORM" action="">
<table width="715" border="0" cellpadding="5" cellspacing="0" bgcolor="#9999FF" class="body16px">
<tr><td>
<table WIDTH="100%" cellpadding="5" cellspacing="0" bgcolor="#ccccff">
<tr>
<td align="left" valign="bottom" colspan="2"> 智能繁简转换: <input onclick='fjzh("InputArea",true)' value="简转繁" type="button" class="body16px"> <input onclick='fjzh("InputArea",false)' value="繁转简" type="button" class="body16px"> <input onclick="replacetext()" value="替换文本" type="button" class="body16px"> <input onclick="deletespace()" value="删除空格" type="button" class="body16px"></td>
</tr>
<tr>
<td ROWSPAN="2" align="center" valign="top">
<!-- 这个是输出文字的文字框 -->
<textarea OnKeyDown="return ImeKeyDown(event)" OnKeyPress="return ImeKeyPress(event)" OnKeyUp="return ImeKeyUp(event)" Rows="15" Cols="54" class="body16px" ID="InputArea" name="InputArea"></textarea>
</td>
<td align="center">
<!-- 在此处输入英文编码 -->
<input OnFocus="IME.InputArea.focus();" Name="Comp" ID="Comp" Size="19" class="body16pxBold">
</td>
</tr>
<tr>
<td align="center" valign="top">
<!-- 这个是显示中文字串的文字框 -->
<textarea OnFocus="IME.InputArea.focus();" Name="Cand" ID="Cand" Rows="13" Cols="20" class="body16px"></textarea>
</td>
</tr>
<tr>
<td colspan=2 align="left"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><input name="EnglishMode" ID="EnglishMode" type="checkbox" OnFocus="IME.InputArea.focus()">英文(Ctrl)
<input name="FullShape" ID="FullShape" type="checkbox" OnFocus="IME.InputArea.focus()">全角字符(F12)
<input name="AutoUp" type="checkbox" ID="AutoUp" OnFocus="IME.InputArea.focus()" checked>自动上字(F2)</td>
<td align="right">翻页 PageUp(-)/PageDown(+)</td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr>
</table>
<table width="715" border="0" cellspacing="2" cellpadding="2">
<tr>
<td height="5"></td>
</tr>
</table>
</form>
</body>
</html>