//<![CDATA[
var tips; var theTop = 120/*这是默认高度,越大越往下*/; 
var old = theTop;
function initFloatTips() {
  tips = document.getElementById('rightFloatdiv');
  moveTips();
};
function moveTips() {
  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-tips.offsetTop+theTop;
  pos=tips.offsetTop+pos/10;
	
  if (pos < theTop) pos = theTop;
  if (pos != old) {
    tips.style.top = pos+"px";
    tt=10;
		//alert(tips.style.top);
  }
	
  old = pos;
  setTimeout(moveTips,tt);
}
document.writeln('<div  id=\'rightFloatdiv\' style=\'Z-INDEX:20;LEFT:850px;VISIBILITY:visible;WIDTH:111px;POSITION:absolute;TOP:1500px;HEIGHT:300px;\'><iframe marginwidth=0 marginheight=0   allowTransparency=\'true\' frameborder=0 bordercolor=\'#000000\' scrolling=no src=\'./special.html\' width=146 height=456><\/iframe></div>')
//!]]>
initFloatTips();
