	var delta=0.8;
	var collection;
	var closeB1=false;
	var closeB2=false;
	var closeB3=false;
	var closeB4=false;
	function floaters() {
		this.items	= [];
		this.addItem	= function(id,x,y,content)
				  {
					document.write('<DIV id='+id+' style="background-color:#FFFFFF;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()',30);
				  }
		}
		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;
				if(followObj.style.display == 'none')
         			continue;
				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	= '';
			}
/*
			if(closeB1){
				collection[0].object.style.display	= 'none';
			}
			if(closeB2){
				collection[1].object.style.display	= 'none';
			}
			if(closeB3){
				collection[2].object.style.display	= 'none';
			}*/
		}	
		function closeBanner(banner_id)
		{
			if(banner_id==1){ closeB1 = true; collection[0].object.style.display = 'none';}
			if(banner_id==2){ closeB2 = true; collection[1].object.style.display = 'none';}
			if(banner_id==3){ closeB3 = true; collection[2].object.style.display = 'none';}
			if(banner_id==4){ closeB4 = true; collection[3].object.style.display = 'none';}
			//closeB=true;
			return;
		}

	var theFloaters = new floaters();

	//theFloaters.addItem('followDiv1','document.body.clientWidth-106',20,'<a href="http://www.js.chinamobile.com/whatsnew/activity/t_whatsnew.jsp?cityCode=qs&h=/whatsnew/activity/html/Activity_20071229165258961.html" target="_blank"><img src="/img/left.gif" style="border:0;"></a><div style="text-align:left;width:100px;"><img src="/img/close.gif" onClick="closeBanner(1);" style="cursor:pointer;"></div>');
	theFloaters.addItem('followDiv1','3',20,'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="" width="90" height="300"><param name="movie" value="left.swf"><param name="quality" value="high"><embed src="left.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="90" height="300"></embed></object><div style="text-align:right;width:90px; bgcolor=ffffff"><img src=images/close.gif onClick="closeBanner(1);" style="cursor:pointer;"></div>');
	theFloaters.addItem('followDiv2','document.body.clientWidth-96',20,'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="" width="90" height="300"><param name="movie" value="right.swf"><param name="quality" value="high"><embed src="right.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="90" height="300"></embed></object><div style="text-align:left;width:90px; bgcolor=ffffff"><img src="images/close.gif" onClick="closeBanner(2);" style="cursor:pointer;"></div>');
	//theFloaters.addItem('followDiv2',6,20,'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="" width="100" height="290"><param name="movie" value="/img/left_a1_zsyyt.swf"><param name="quality" value="high"><embed src="/img/left_a1_zsyyt.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100" height="290"></embed></object><div style="text-align:right;width:100px;"><img src=/img/close.gif onClick="closeBanner(2);" style="cursor:pointer;"></div>');
	//theFloaters.addItem('followDiv3',5,340,'<a href="/daypush/20071109/job.html" target="_blank"><img src=/img/career_stu.jpg style="border:0;"></a><div style="text-align:right;width:100px;"><img src=/img/close.gif onClick="closeBanner(3);" style="cursor:pointer;"></div>');
	//theFloaters.addItem('followDiv3',5,340,'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="" width="100" height="100"><param name="movie" value="/flash/career_mzhi.swf"><param name="quality" value="high"><embed src="/flash/career_mzhi.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100" height="100"></embed></object><div style="text-align:right;width:100px;"><img src=/img/close.gif onClick="closeBanner(3);" style="cursor:pointer;"></div>');
	//theFloaters.addItem('followDiv4','document.body.clientWidth-106',340,'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="" width="100" height="100"><param name="movie" value="/flash/suzhou_jiang.swf"><param name="quality" value="high"><embed src="/flash/suzhou_jiang.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100" height="100"></embed></object><div style="text-align:left;width:100px;"><img src=/img/close.gif onClick="closeBanner(4);" style="cursor:pointer;"></div>');
	theFloaters.play();


