var jsString;
function insertFace() {
document.all.content.value = document.all.content.value + event.srcElement.word;
}
function changeBorder(actiontype) {
if (actiontype == 1) {
event.srcElement.style.borderColor="blue";
}else{
event.srcElement.style.borderColor="white";
}
}
function RefreshLoadComment() {
document.all.jsDOC.src = "/perweb/ShowComments.asp?CommentType=articles&lanmuid=8508106&contentID=2062871&uname=jiaolixia";
document.location = '#anchorComment';
}
function ChangePage(pageno)
{
document.all.jsDOC.src = "/perweb/ShowComments.asp?CommentType=articles&lanmuid=8508106&contentID=2062871&uname=jiaolixia&pageno=" + pageno;
document.location = '#anchorComment';
}
function doSubmit() {
if (document.CommentForm.author.value=='') {
alert('请留下您的大名!');
}
else if(document.CommentForm.checkcode.value.length != 4) {
alert('请输入正确的验证码!');
}
else if (document.CommentForm.content.value.length<4 || document.CommentForm.content.value.length > 1000){
alert('评论字符不能少于4个或多于1000个!');
}else{
document.CommentForm.submit();
document.CommentForm.SubmitButton.disabled = true;
document.CommentForm.ResetButton.disabled = true;
document.CommentForm.content.value = "请稍候,正在发布评论......";
setTimeout('RefreshLoadComment();',500);
// document.location = '#anchorComment';
}
}
function doDelete(thiscid) {
document.all.SubmitComment.src = "/perweb/DeleteComment.asp?uname=jiaolixia&lanmuid=8508106&contentid=2062871&commenttype=articles&cid="+thiscid;
setTimeout('RefreshLoadComment();',500);
}
document.write("\n");
document.write("
欢迎发表您的意见和建议(无需注册) |