document.writeln('
读完这篇文章后,您心情如何?已有 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.dahecc.com/Include/Mood.asp?action=hits&itemid='+itemid+'&id=1&channelid=1&infoid=32568','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: document.getElementById('xinqing').innerHTML=obj; alert('恭喜,您已成功表态!'); break; } }