document.writeln('');
ajaxReadText=function(file,fun){
var head = document.getElementsByTagName("head")[0];
var js = document.createElement("script");
js.src = file+"&printout=js";
head.appendChild(js);
}
MoodPosition=function(itemid){
ajaxReadText('http://sx.qsjly.com.cn/plus/digmood/mood.asp?action=hits&itemid='+itemid+'&id=6&m_ID=1&c_id=35264','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('恭喜,您已成功表态!');
$("#xinqing").animate({opacity:0}, 5).html(obj).animate({opacity:0.2},200).animate({opacity:0.5},200).animate({opacity:0.7},300).animate({opacity:1},800);
break;
}
}