//-------------other var tipsaaa; var theTopaaa = 250; var oldaaa = theTopaaa; function thisinitFloatTips() { tipsaaa = document.getElementById('floatTips'); thismoveTips(); }; function thismoveTips() { var tt = 50; 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 - tipsaaa.offsetTop + theTopaaa; pos = tipsaaa.offsetTop + pos / 10; if (pos < theTopaaa) pos = theTopaaa; if (pos != oldaaa) { tipsaaa.style.top = pos + "px"; tt = 10; } oldaaa = pos; setTimeout(thismoveTips, tt); } thisinitFloatTips();