document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
用户名:<\/p>
<\/li>"); document.writeln("
密 码:<\/p>
<\/li>"); document.writeln("
<\/li>"); document.writeln("
注册新用户<\/a><\/li>"); document.writeln(" <\/ul>"); document.writeln(" <\/div>"); document.writeln(" <\/form>"); document.writeln(" "); document.writeln("
"); document.writeln("
<\/textarea>"); document.writeln(" <input name=\"ctype\" type=\"hidden\" value=\"news\">"); document.writeln(" <input name=\"id\" type=\"hidden\" value=\"6258\">"); document.writeln(" <input name=\"action\" type=\"hidden\" value=\"repost\">"); document.writeln(" <span>登录后即可评论,登录后可勾选匿名发表评论。<\/span>"); document.writeln(" <p>"); document.writeln(" <input type=\"button\" name=\"Submit\" value=\"发表评论\" class=\"submit3\"\ onclick=\"alert('评论升级中,暂时关闭')\"/><\/p>"); document.writeln(" <\/div>"); document.writeln(" <\/form>") function chklogfrm(obj) { if(obj.UserName.value=="") { alert("请输入用户名!"); obj.UserName.focus(); return false; } if(obj.UserPassword.value == "") { alert("请输入密码!"); obj.UserPassword.focus(); return false; } return true; } function chkpostfrm(obj) { if(obj.content.value==""||obj.content.value=="我来说两句!") { alert("请输入评论内容!"); obj.content.focus(); return false; } else { if (obj.content.value.length<2) { alert("评论内容长度太短,至少要2个字符!"); obj.content.focus(); return false; } } return true; }