var tips; 
var theTop = 500/*这是默认高度*/; 
var old = theTop;
var imgleft
window.screen.width>800 ? imgheight=120:imgheight=120
window.screen.width>800 ? imgleft=15:imgleft=122
function cc_fbload() {
  tips1 = document.getElementById('fload1');
  tips2 = document.getElementById('fload2');
  if(tips1 != null){
	moveTips1();
  }
  if(tips2 != null){
	tips2.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
    tips2.style.left=document.body.scrollLeft+document.body.offsetWidth-90;
	moveTips2();
  }
}
function moveTips1() {
  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-tips1.offsetTop+theTop;
  pos=tips1.offsetTop+pos/10;
  if (pos < theTop) pos = theTop;
  if (pos != old) {
    tips1.style.top = pos+"px";
    tt=10;
  }
  old = pos;
  setTimeout(moveTips1,tt);
}
function moveTips2() {
  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-tips2.offsetTop+theTop;
  pos=tips2.offsetTop+pos/10;
  if (pos < theTop) pos = theTop;
  if (pos != old) {
    tips2.style.top = pos+"px";
    tt=10;
  }
  old = pos;
  setTimeout(moveTips2,tt);
}
