<!--//
var delta=0.15
 var collection;
 function floaters() {
  this.items = [];
  this.addItem = function(id,dir,x,y,x2,y2,content)
      {
	 document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute;  width:80px; height:60px;left:'+((dir==1) ? bdy.clientWidth-125-(typeof(x2)=='string'?eval(x2):x2) : (typeof(x2)=='string'?eval(x2):x2))+';top:'+(typeof(y2)=='string'?eval(y2):y2)+'">'+content+'</DIV>');    
     var newItem    = {};
     newItem.object   = document.getElementById(id);
     newItem.d    = dir;
	 newItem.x    = x;
     newItem.y    = y; 
     newItem.x2    = x2;
     newItem.y2    = y2; 

     this.items[this.items.length]  = newItem;
      }
  this.floaters_play = function()
      {
     collection    = this.items
     setInterval('floaters_play()',10);
      }
  }
  function floaters_play()
  { 

   for(var i=0;i<collection.length;i++)
   {
	var followObj_d = collection[i].d;
    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(0 && followObj.offsetLeft!=(bdy.scrollLeft+followObj_x)) {
     var dx=(bdy.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
     dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx)*1.1);
     followObj.style.left=followObj.offsetLeft+dx;
     } 
	 else if(followObj.offsetLeft!=(bdy.clientWidth-followObj_x))
	 {
		followObj.style.left= (followObj_d==1) ? bdy.clientWidth-125-followObj_x : followObj_x;
	 }

    if(followObj.offsetTop!=(bdy.scrollTop+followObj_y)) {
     var dy=(bdy.scrollTop+followObj_y-followObj.offsetTop)*delta;
     dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy)*1.1);
     followObj.style.top=followObj.offsetTop+dy;
     }
    followObj.style.display = '';
   }
  } 

 var bdy = (document.documentElement && document.documentElement.clientWidth)?document.documentElement:document.body; 
 var theFloaters  = new floaters();
 var positionSet = new Array(
	new Array(1,-15,430-50,-10,430-200-50,'http://www.gaogao8.com/hotave.php','http://www.igogo8.com/baoxiao.gif','')
	//new Array(1,12,300,12,300-200,'','http://eiv.baidu.com/uapimg/91qianming/60x240.gif','SignListMap')
 );

 for (i=0; i<positionSet.length; i++)
 {
	 if (positionSet[i][7].length>0)
	 {
		 theFloaters.addItem('followDiv'+i ,positionSet[i][0],positionSet[i][1],positionSet[i][2],positionSet[i][3],positionSet[i][4],'<img src="'+positionSet[i][6]+'" border=0 usemap="#'+positionSet[i][7]+'"><BR>');
	 }
	 else
	 {
		theFloaters.addItem('followDiv'+i ,positionSet[i][0],positionSet[i][1],positionSet[i][2],positionSet[i][3],positionSet[i][4],'<a href="'+positionSet[i][5]+'" target=_blank><img src="'+positionSet[i][6]+'" border=0></a><BR>');
	 }
 }
 theFloaters.floaters_play();
//-->
