    var delta=0.15
    var collection;
    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                = y; 
                    this.items[this.items.length]        = newItem;
                  }
        this.play    = function()
                  {
                    collection                = this.items
                    setInterval('play()',10);
                  }
        }
        function play()
        {            if(screen.width<=800)
            {
                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 QueryString()
{
 var name,value,i;
 var str=location.href;
 var num=str.indexOf("?")
 str=str.substr(num+1);
 var arrtmp=str.split("&");
 for(i=0;i < arrtmp.length;i++){
  num=arrtmp[i].indexOf("=");
  if(num>0){
   name=arrtmp[i].substring(0,num);
   value=arrtmp[i].substr(num+1);
   this[name]=value;
  }
 }
}

    var theFloaters  = new floaters();
//×ó²à
     theFloaters.addItem('followDiv1',0,-20,'<br><a href=\"http://www.pulsetech.com.cn/" target=\"_blank\"><img src=adimages/L1.gif  border=0></a>'); 
	 
	theFloaters.addItem('followDiv2',0,40,'<br><a href=\"http://lahee.cn/show.asp?uver=cn" target=\"_blank\"><img src=adimages/L2.gif  border=0></a>');
	
   	theFloaters.addItem('followDiv3',0,100,'<br><a href=\"http://www.chinesevacuum.com/" target=\"_blank\"><img src=adimages/L3.gif  border=0></a>'); 

   	theFloaters.addItem('followDiv4',0,160,'<br><a href=\"http://www.chinesevacuum.com/" target=\"_blank\"><img src=adimages/L4.gif  border=0></a>'); 

	theFloaters.addItem('followDiv5',0,220,'<br><a href=\"http://www.chinesevacuum.com" target=\"_blank\"><img src=adimages/L5.gif  border=0></a>'); 

	theFloaters.addItem('followDiv6',0,280,'<br><a href=\"http://www.chinesevacuum.com" target=\"_blank\"><img src=adimages/L6.gif  border=0></a>');

   //	theFloaters.addItem('followDiv7',0,340,'<br><a href=\"http://www.chinesevacuum.com" target=\"_blank\"><img src=piaofugg/L7.gif  border=0></a>'); 

	//theFloaters.addItem('followDiv8',0,400,'<br><a href=\"http://www.chinesevacuum.com" target=\"_blank\"><img src=adimages/L8.gif  border=0></a>'); 

	//theFloaters.addItem('followDiv9',0,460,'<br><a href=\"http://www.chinesevacuum.com" target=\"_blank\"><img src=adimages/L9.gif  border=0></a>');

 //  	theFloaters.addItem('followDiv10',0,520,'<br><a href=\"http://www.chinesevacuum.com" target=\"_blank\"><img src=piaofugg/L10.gif  border=0></a>'); 

//ÓÒ²à

    theFloaters.addItem('followDiv11','document.body.clientWidth-110',-20,'<br><a href="http://www.zhshengpu.com/" target=\"_blank\"><img src=adimages/R1.gif  border=0></a>');  
   
    theFloaters.addItem('followDiv12','document.body.clientWidth-110',40,'<br><a href=\"http://www.zzvic.com.cn/main.asp" target=\"_blank\"><img src=adimages/R2.gif  border=0></a>'); 

   theFloaters.addItem('followDiv613','document.body.clientWidth-110',100,'<br><a href=\"http://www.chinesevacuum.com" target=\"_blank\"><img src=adimages/R3.gif  border=0></a>');
 
    theFloaters.addItem('followDiv14','document.body.clientWidth-110',160,'<br><a href="http://www.chinesevacuum.com/" target=\"_blank\"><img src=adimages/R4.gif  border=0></a>');     
    theFloaters.addItem('followDiv15','document.body.clientWidth-110',220,'<br><a href=\"http://www.chinesevacuum.com" target=\"_blank\"><img src=adimages/R5.gif  border=0></a>'); 

   theFloaters.addItem('followDiv616','document.body.clientWidth-110',280,'<br><a href=\"http://www..chinesevacuum.com" target=\"_blank\"><img src=adimages/R6.gif  border=0></a>');   
 //theFloaters.addItem('followDiv17','document.body.clientWidth-110',340,'<br><a href="http://www.chinesevacuum.com" target=\"_blank\"><img src=adimages/R7.gif  border=0></a>');    
 
   // theFloaters.addItem('followDiv18','document.body.clientWidth-110',400,'<br><a href=\"http://www.chinesevacuum.com" target=\"_blank\"><img src=adimages/R8.gif  border=0></a>'); 

 //  theFloaters.addItem('followDiv619','document.body.clientWidth-110',460,'<br><a href=\"http://www.chinesevacuum.com" target=\"_blank\"><img src=adimages/R9.gif  border=0></a>');

 //   theFloaters.addItem('followDiv20','document.body.clientWidth-110',520,'<br><a href="http://www.chinesevacuum.com" target=\"_blank\"><img src=adimages/R10.gif  border=0></a>'); 

theFloaters.play();    
