var delta=1;
var collection;
var closeB=false;
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function floaters() {
  this.items = [];
  this.addItem = function(id,x,y,content)
      {
     document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute;  width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>');
     
     var newItem    = {};
     newItem.object   = document.getElementById(id);
     newItem.x    = x;
     newItem.y    = 140;

     this.items[this.items.length]  = newItem;
      }
  this.play = function()
      {
     collection    = this.items
     setInterval('play()',30);
      }
  }
  function play()
  {
   if(screen.width<=800 || closeB)
   {
    for(var i=0;i<collection.length;i++)
    {
     collection[i].object.style.display = 'none';
    }
    return;
   }
   for(var i=0;i<collection.length;i++)
   {
    var followObj  = collection[i].object;
    var followObj_x  = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
    var followObj_y  = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);

    if(followObj.offsetLeft!=(iecompattest().scrollLeft+followObj_x)) {
     var dx=(iecompattest().scrollLeft+followObj_x-followObj.offsetLeft)*delta;
     dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
     followObj.style.left=followObj.offsetLeft+dx+"px";
     }

    if(followObj.offsetTop!=(iecompattest().scrollTop+followObj_y)) {
     var dy=(iecompattest().scrollTop+followObj_y-followObj.offsetTop)*delta;
     dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
     followObj.style.top=followObj.offsetTop+dy+"px";
     }
    followObj.style.display = '';
   }
  } 
  function closeBanner()
  {
   closeB=true;
   return;
  }

var theFloaters  = new floaters();
var strabc="<table width=109 border=0 cellspacing=0 cellpadding=0><tr><td height=25><img src=http://www.pl3.org/images/guanggao_01.gif width=109 height=25 /></td></tr><tr><td height=389 align=center valign=top background=http://www.pl3.org/images/guanggao_02.gif><table width=100% border=0 cellspacing=0 cellpadding=0><tr><td height=75 align=center><img src=http://www.pl3.org/images/guanggao_05.gif width=78 height=59 /></td></tr><tr><td height=24 align=center><a href=http://www.pl3.org target=_blank><img src=http://www.pl3.org/images/guanggao_09.gif width=87 height=13 border=0 /></a></td></tr><tr><td height=27 align=center><a href=http://www.pl3.org/help/yuce.shtml target=_blank><img src=http://www.pl3.org/images/guanggao_13.gif width=95 height=16 border=0 /></a></td></tr><tr><td align=center><img src=http://www.pl3.org/images/guanggao_16.gif width=95 height=44 /></td></tr><tr><td height=34 align=center>010-66455580</td></tr><tr><td height=35 align=center>010-66455586</td></tr><tr><td height=18 align=center><img src=http://www.pl3.org/images/guanggao_19.gif width=38 height=6 /></td></tr><tr><td height=52 align=center><img src=http://www.pl3.org/images/guanggao_22.gif width=92 height=52 /></td></tr><tr><td height=31 align=center>QQ:<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=443978831>443978831</a></td></tr><tr><td height=31 align=center>QQ:<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=771777419>771777419</a></td></tr><tr><td height=18 align=center><img src=http://www.pl3.org/images/guanggao_26.gif width=60 height=18 border=0 onclick=javascript:closeBanner() style=cursor:hand /></td></tr><tr></tr><tr></tr><tr></tr><tr></tr></table></td></tr><tr><td height=11><img src=http://www.pl3.org/images/guanggao_28.gif width=109 height=11 /></td></tr></table>"
theFloaters.addItem('followDiv1','iecompattest().clientWidth-110',0,strabc);

theFloaters.addItem('followDiv2',0,0,strabc);
theFloaters.play();