document.writeln('
Your feeling:

\"0%\"
\"Kick-ass\"
Kick-ass

\"0%\"
\"Agree\"
Agree

\"0%\"
\"Great\"
Great

\"0%\"
\"Bullshit\"
Bullshit

\"0%\"
\"Funny\"
Funny

\"0%\"
\"Ad.\"
Ad.

\"0%\"
\"Confused\"
Confused

\"0%\"
\"Suprised\"
Suprised
'); CreateAjax=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 = CreateAjax(); xmlObj.onreadystatechange = function(){ if(xmlObj.readyState == 4){ if (xmlObj.status ==200){ obj = xmlObj.responseText; eval(fun); } else{ alert("读取文件出错,错误号为 [" + xmlObj.status + "]"); } } } xmlObj.open ('GET', file, true); xmlObj.send (null); } Position=function(itemid){ ajaxReadText('/plus/Mood.asp?action=hits&itemid='+itemid+'&id=6&m_ID=1&c_id=241','PositionBack(obj)'); } PositionBack=function(obj){ switch(obj){ case "nologin": alert('Sorry,you are not logged in!'); break; case "standoff": alert('You have already submit your opinion!'); break; case "lock": alert('Closed!'); break; case "errstartdate": alert('It is not time to submit!'); break; case "errexpireddate": alert('Time out!'); break; case "errgroupid": alert('You do not have permission!'); break; case "noinfo": alert('No information is found!'); break; default: alert('Congratulations,you have successfully submit your opinion!'); document.getElementById('xinqing').innerHTML=obj; break; } }