var need_verify=1; var img_str='http://pinglun.zjol.com.cn:9001/m_comment/'; yzm_str='看不清?'; function reloadImg(){ var i = Math.random(); document.getElementById("imgCode").src=img_str+"imgCode?"+i; } function f_focus(){ if(need_verify==1){ if(document.getElementById('yzm').innerHTML==null || document.getElementById('yzm').innerHTML==''){ document.getElementById('yzm').innerHTML=yzm_str; } } } function commite() { if (document.form.news_content.value=="") { alert ("评论内容不能为空"); return false; } if (document.form.news_content.value.length>2000) { alert ("最长字符2000字"); return false; } document.form.action="http://pinglun.zjol.com.cn:9001/m_comment/commit_comment.jsp" document.form.submit(); } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i