var delta=0.15
	var collection;
	function floaters() {
		this.items	= [];
		this.addItem	= function(id,x,y,content)
				  {
					
					if (x > 0)
					{
							x += 5;
							{document.write('<DIV align="left" id='+id+' style="Z-INDEX: 10; POSITION: absolute;  width:100px; height:100px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>');}
					}
					else
					{
						x -= 25;
						if(y<0)
							{document.write('<DIV align="right" id='+id+' style="Z-INDEX: 10; POSITION: absolute;  width:100px; height:100px;left:'+(typeof(x)=='string'?eval(document.body.clientWidth+x):document.body.clientWidth+x)+';top:'+(typeof(y)=='string'?eval(document.body.clientHeight+y):document.body.clientHeight+y)+'">'+content+'</DIV>');}
						else
							{document.write('<DIV align="right" id='+id+' style="Z-INDEX: 10; POSITION: absolute;  width:100px; height:100px;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()
		{

			for(var i=0;i<collection.length;i++)
			{
				var followObj		= collection[i].object;
				if (collection[i].x>=0)
				 {
					var followObj_x		= (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
				  }
				 else 
				 {
				 	var followObj_x		= (typeof(collection[i].x)=='string'?eval(document.body.clientWidth+collection[i].x):document.body.clientWidth+collection[i].x);
				  
				  };
				if (collection[i].y>=0)
				{
					var followObj_y		= (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);
				 }
				  else 
				 {
				 	var followObj_y		= (typeof(collection[i].y)=='string'?eval(document.body.clientHeight+collection[i].y):document.body.clientHeight+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	= '';
			}
		}	
		
	var theFloaters		= new floaters();
 
theFloaters.addItem('followDiv2',1,10,'<a href="http://wpa.qq.com/msgrd?V=1&V=1&Uin=18287084&Site=九域取名网&Menu=yes" target="_blank"><img src="http://www.9yname.com/images/l003.gif" border=0  alt="【九域取名文化网】客服经理"></a>');	

theFloaters.addItem('followDiv1',1,58,'<a href="http://www.nineworld.cn" target="_blank"><img src="http://www.9yname.com/images/l002.gif" border=0 alt="查看九域天地文化传播公司"></a>');

theFloaters.addItem('followDiv21',1,106,'<a href="http://www.ninename.com" target="_blank"><img src="http://www.9yname.com/images/l001.gif" border=0 alt="企业命名服务-久名远扬品牌策划"></a>');
	theFloaters.play();
  theFloaters.addItem('followDiv9',-79,-210,'<a href="http://www.9yname.com/apply/index.asp" target="_blank"><img src=http://www.9yname.com/images/l00a.gif border=0 alt="点击进入婴儿起名申请系统!!!"></a>');
	theFloaters.play();
  //theFloaters.addItem('followDiv22',-77,-315,'<a href="http://www.9yname.com/us/charge.htm" target="_blank"><img src=http://www.9yname.com/images/m001.gif border=0 alt="九域取名网起名收费明细!"></a>');
	theFloaters.play();
  theFloaters.addItem('followDiv28',-79,-365,'<a href="http://www.9yname.com/sm" target="_blank"><img src=http://www.9yname.com/images/m002.gif border=0 alt="在线免费测名服务!"></a>');
	theFloaters.play();
  theFloaters.addItem('followDiv68',1,154,'<a href="http://www.9yname.com/aoyun" target="_blank"><img src=http://www.9yname.com/images/l00b.gif border=0 alt="进入2010年虎宝宝起名服务中心!"></a>');
	theFloaters.play();	
  //theFloaters.addItem('followDiv88',-77,-644,'<a href="http://www.9yname.com/aoyun" target="_blank"><img src=http://www.9yname.com/images/huo.gif border=0 alt="进入奥运宝宝取名专栏!"></a>');
	theFloaters.play();
  //theFloaters.addItem('followDiv84',1,440,'<a href="http://www.9yname.com/aoyun/4y.htm" target="_blank"><img src=http://www.9yname.com/images/huo2.gif border=0 alt="奥运宝宝取名专栏!"></a>');
	theFloaters.play();