document.writeln('
您看到此篇文章时的感受(已有 1 人表态)
1
\"100%\"
\"欠扁\"
欠扁
0
\"0%\"
\"同意\"
同意
0
\"0%\"
\"很好\"
很好
0
\"0%\"
\"胡扯\"
胡扯
0
\"0%\"
\"搞笑\"
搞笑
0
\"0%\"
\"软文\"
软文
0
\"0%\"
\"糊涂\"
糊涂
0
\"0%\"
\"惊讶\"
惊讶
'); CreateMoodAjax=function(){ if(window.XMLHttpRequest){ return new XMLHttpRequest(); } else if(window.ActiveXObject){ return new ActiveXObject("Microsoft.XMLHTTP"); } throw new Error("XMLHttp object could be created."); } ajaxReadText=function(file,fun){ var xmlObj = CreateMoodAjax(); xmlObj.onreadystatechange = function(){ if(xmlObj.readyState == 4){ if (xmlObj.status ==200){ obj = xmlObj.responseText; eval(fun); } else{ alert("读取文件出错,错误号为 [" + xmlObj.status + "]"); } } } try{ xmlObj.open ('GET', file, true); xmlObj.send (null); } catch(e){ var head = document.getElementsByTagName("head")[0]; var js = document.createElement("script"); js.src = file+"&printout=js"; head.appendChild(js); } } MoodPosition=function(itemid){ ajaxReadText('http://www.zhongguogongyi.com/plus/Mood.asp?action=hits&itemid='+itemid+'&id=6&m_ID=1&c_id=3340','MoodPositionBack(obj)'); } MoodPositionBack=function(obj){ switch(obj){ case "nologin": alert('对不起,您还没登录不能表态!'); break; case "standoff": alert('您已表态过了, 不能重复表态!'); break; case "lock": alert('心情指数已关闭!'); break; case "errstartdate": alert('未到表态时间!'); break; case "errexpireddate": alert('表态时间已过!'); break; case "errgroupid": alert('您没有表态的权限!'); break; case "noinfo": alert('找不到您要表态的信息!'); break; default: alert('恭喜,您已成功表态!'); document.getElementById('xinqing').innerHTML=obj; break; } }