var delta=0.015;
var collection;
var closeB=false;
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:80px;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    = y;

     this.items[this.items.length]  = newItem;
      }
  this.play = function()
      {
     collection    = this.items
     setInterval('play()',10);
      }
  }
  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!=(document.body.scrollLeft+followObj_x)) {
     var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
     dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
     followObj.style.left=followObj.offsetLeft+dx;
     }

    if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
     var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
     dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
     followObj.style.top=followObj.offsetTop+dy;
     }
    followObj.style.display = '';
   }
  }
  function closeBanner()
  {
   closeB=true;
   return;
  }

var theFloaters  = new floaters();
//
theFloaters.addItem('followDiv2',5,80,'<img src=images/GMIF2008/28.GIF align="centre" width=90 height=30 border=0></a><br>');
theFloaters.play();
theFloaters.addItem('followDiv1','document.body.clientWidth-95',80,'<img src=images/GMIF2008/28.GIF align="centre" width=90 height=30 border=0></a><br>');
theFloaters.play();

theFloaters.addItem('followDiv22',5,115,'<a href=http://www.gdtel.com.cn/ target=_blank><img src=images/GMIF2008/gdtel.GIF alt="中国电信股份有限公司广东分公司" align="centre" width=90 height=74 border=0></a><br>');
theFloaters.play();
theFloaters.addItem('followDiv12','document.body.clientWidth-95',115,'<a href=http://www.kingdee.com/ target=_blank><img src=images/GMIF2008/kingdee.jpg alt="金蝶软件(中国)有限公司" align="centre" width=90 height=43 border=0></a><br>');
theFloaters.play();

theFloaters.addItem('followDiv23',5,194,'<a href=http://www.lenovo.com.cn/ target=_blank><img src=images/GMIF2008/lenovo.jpg alt="联想集团大中华区" align="centre" width=90 height=32 border=0></a><br>');
theFloaters.play();
theFloaters.addItem('followDiv13','document.body.clientWidth-95',163,'<a href=http://www.epicor.com/ target=_blank><img src=images/GMIF2008/epicor.GIF alt="恩柏科软件(北亚)有限公司" align="centre" width=90 height=32 border=0></a><br>');
theFloaters.play();

theFloaters.addItem('followDiv24',5,231,'<a href=http://www.peraglobal.com/ target=_blank><img src=images/GMIF2008/peraglobal.jpg alt="安世亚太科技北京有限公司" align="centre" width=90 height=39 border=0></a><br>');
theFloaters.play();
theFloaters.addItem('followDiv14','document.body.clientWidth-95',200,'<a href=http://www.businessmatrix.com.cn/ target=_blank><img src=images/GMIF2008/businessmatrix.gif alt="广州安正软件科技有限公司" align="centre" width=90 height=29 border=0></a><br>');
theFloaters.play();

theFloaters.addItem('followDiv25',5,275,'<a href=http://www.frensworkz.com/ target=_blank><img src=images/GMIF2008/frenzworks.JPG alt="上海怡海软件技术有限公司" align="centre" width=90 height=35 border=0></a><br>');
theFloaters.play();
theFloaters.addItem('followDiv15','document.body.clientWidth-95',234,'<a href=http://www.ugs.com.cn/ target=_blank><img src=images/GMIF2008/Siemens.jpg alt="西门子UGS PLM Software" align="centre" width=90 height=25 border=0></a><br>');
theFloaters.play();

theFloaters.addItem('followDiv26',5,315,'<a href=http://www.tianjian.com.cn/ target=_blank><img src=images/GMIF2008/tianjian.jpg alt="广州市天剑计算机系统工程有限公司" align="centre" width=90 height=50 border=0></a><br>');
theFloaters.play();
theFloaters.addItem('followDiv16','document.body.clientWidth-95',264,'<a href=http://www.gmi.org.cn/ target=_blank><img src=images/GMIF2008/gmi.jpg alt="广东省机械研究所" align="centre" width=90 height=44 border=0></a><br>');
theFloaters.play();

theFloaters.addItem('followDiv27',5,370,'<a href=http://www.corpease.net/ target=_blank><img src=images/GMIF2008/corpease.jpg alt="广州市尚易计算机技术有限公司" align="centre" width=90 height=29 border=0></a><br>');
theFloaters.play();
theFloaters.addItem('followDiv17','document.body.clientWidth-95',313,'<a href=http://www.vccn.com.cn/ target=_blank><img src=images/GMIF2008/qzj.jpg alt="广州市驱逐舰软件有限公司" align="centre" width=90 height=35 border=0></a><br>');
theFloaters.play();

theFloaters.addItem('followDiv28',5,404,'<a href=http://www.gdami.org.cn/company/junda/about_1.html/ target=_blank><img src=images/GMIF2008/junda.jpg alt="广州市润毅服饰有限公司(骏达制服)" align="centre" width=90 height=33 border=0></a><br>');
theFloaters.play();
theFloaters.addItem('followDiv18','document.body.clientWidth-95',353,'<a href=http://www.autotoll.com.hk/ target=_blank><img src=images/GMIF2008/autotoll.jpg alt="快易通有限公司" align="centre" width=90 height=35 border=0></a><br>');
theFloaters.play();

theFloaters.addItem('followDiv19','document.body.clientWidth-95',393,'<a href=http://caxa.com.cn/ target=_blank><img src=images/GMIF2008/CAXA.jpg alt="北京数码大方科技有限公司" align="centre" width=90 height=44 border=0></a><br>');
theFloaters.play();