document.writeln('

  • 支持


  • 高兴


  • 震惊


  • 愤怒


  • 无聊


  • 无奈


  • 谎言


  • 枪稿


  • 不解


  • 标题党

  • '); 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('/plus/Mood.asp?Action=submit&ModeID='+7+'&ID=1637&MDID=1&itemid='+itemid+"&" + Math.random(),'MoodPositionBack(obj)'); } MoodPositionBack=function(obj){ switch(obj){ case "standoff": alert('您已表态过了, 不能重复表态!'); break; case "standoff": alert('您已表态过了, 不能重复表态!'); break; case "Status": alert('心情指数已关闭!'); break; default: //alert('恭喜,您已成功表态!'); document.getElementById('xinqing').innerHTML=obj; break; } }