function insertface(Val) { if (Val!=''){ document.getElementById('Content').focus(); var str = document.selection.createRange(); str.text = Val; } } function success() { var loading_msg='\n\n\t请稍等,正在提交评论...'; var content=document.getElementById('Content'); if (loader.readyState==1) { content.value=loading_msg; } if (loader.readyState==4) { var s=loader.responseText; if (s=='ok') { alert('恭喜,你的评论已成功提交!'); location.reload(); } else {alert(s); } } } function checkform() { if (document.getElementById('AnounName').value=='') { alert('请输入昵称!'); document.getElementById('AnounName').focus(); return false; } if (document.getElementById('Content').value=='') { alert('请输入评论内容!'); document.getElementById('Content').focus(); return false; } ksblog.ajaxFormSubmit(document.form1,'success') } function ShowLogin() { new KesionPopup().popupIframe('会员登录','/user/userlogin.asp?Action=Poplogin',397,184,'no'); } document.write('
发表评论:
昵称:
主页:
标题:
     
     
     
     
');