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',-82,-100,'<a href="http://wpa.qq.com/msgrd?V=1&V=1&Uin=113327209&Site=九网客服&Menu=yes" target="_blank"><img src="http://www.ninenet.net/images/l003.gif" border=0  alt="九网客服中心"></a>');

theFloaters.addItem('followDiv33',1,219,'<a href="http://china9y.com" target="_blank"><img src="http://www.ninenet.net/images/l02.gif" border=0  alt="九域设计网"></a>');	

theFloaters.addItem('followDiv1',1,15,'<a href="http://www.ninenet.net/us/team02.htm" target="_blank"><img src="http://www.ninenet.net/images/l01.gif" border=0 alt="九网金牌设计师"></a>');

theFloaters.addItem('followDiv61',-82,-148,'<a href="http://www.ninenet.net/us/cont.htm" target="_blank"><img src="http://www.ninenet.net/images/l005.gif" border=0 alt="联系九网"></a>');

//theFloaters.addItem('followDiv49',1,219,'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="40" height="40"><param name="movie" value="http://www.ninenet.net/images/gogo.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent"><embed src="http://www.ninenet.net/images/gogo.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="40" height="40"></embed></object>');

theFloaters.addItem('followDiv21',1,266,'<a href="http://www.nineworld.cn" target="_blank"><img src="http://www.ninenet.net/images/l03.gif" border=0 alt="到九域天地文化传播公司"></a>');
	theFloaters.play();
