<!--
//上下滚动的层
var tips; 
var theTop = 148; /*这是默认高度,越大越往下*/
var old = theTop;

function moveTips() {
    var tt = 0;
    if (window.innerHeight) {
        pos = window.pageYOffset
    } else if (document.documentElement && document.documentElement.scrollTop) {
        pos = document.documentElement.scrollTop
    } else if (document.body) {
        pos = document.body.scrollTop;
    }

    pos = pos - tips.offsetTop + theTop;
    pos=tips.offsetTop+pos/10;
    if (pos < theTop) pos = theTop;
    if (pos != old) {
        tips.style.top = pos+"px";
        tt = 0;
    }
    old = pos;
    setTimeout(moveTips,tt);
}

onload = function initFloatTips() {
    tips = document.getElementById('reply');
    moveTips();
};
//显示隐藏的层
function show()
{
   var hideobj=document.getElementById("hidediv");
   hideobj.style.display="block";
   hideobj.style.height=document.body.clientHeight+"px";
   document.getElementById("reply").style.display="block";
}
function hide()
{
   document.getElementById("hidediv").style.display="none";
   document.getElementById("reply").style.display="none";
}

//检测评论内容
function checked(){
	var msg = document.feedback.getElementById("msg").value;
	if((msg == null) || msg ==""){
		alert("请发表您的看法！");
		return false;
	}
}
//-->
