	var delta=0.08
	var collection;
	function floaters() {
		this.items	= [];
		this.addItem	= function(id,x,y,openclose,content)
				  {
					document.write('<DIV id='+id+' style="visibility='+ openclose +'; Z-INDEX: 10; POSITION: absolute;  width:80px; height:160px;left:'+(typeof(x)=='string'?eval(x):x)+'px ;top:'+(typeof(y)=='string'?eval(y):y)+'px">'+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;
				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	= '';
			}
		}	
		
	var theFloaters		= new floaters();
	//右面
	theFloaters.addItem('leftqqopen','document.body.clientWidth-120',40,'','<table width=114px border=0 cellspacing=0 cellpadding=0><tr><td><img src=images/qqonline_01.gif width=114px height=58px onClick=javascript:FSCommandClose(); style=cursor:hand></td></tr><tr><td height=50px valign=top background=images/qqonline_02.gif><table width=108px border=0 cellspacing=0 cellpadding=0><tr><td width=108 height=20px align=center class=index_bottom>客　服</td></tr><tr><td align=center><a target=blank href=tencent://message/?uin=314936601&Site=mqkids.cn&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:314936601:1 alt=点击这里给我发消息></a></td></tr><tr><td height=10px align=center><img src=images/qqonline_06.gif width=81px height=1px></td></tr><tr><td width=108 height=20px align=center class=index_bottom>客　服</td></tr><tr><td align=center><a target=blank href=tencent://message/?uin=13282208&Site=mqkids.cn&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:13282208:1 alt=点击这里给我发消息></a></td></tr><tr><td height=10px align=center><img src=images/qqonline_06.gif width=81px height=1px></td></tr></table></td></tr><tr><td><img src=images/qqonline_04.gif width=56px height=24px><img src=images/qqonline_05.gif width=58px height=24px onClick=javascript:FSCommandClose(); style=cursor:hand></td></tr></table>');
	theFloaters.addItem('leftqqclose','document.body.clientWidth-120',40,'hidden','<table width=116px border=0 cellspacing=0 cellpadding=0><tr><td width=36px><img src=images/qqonline_07.gif width=116px height=66px onClick=javascript:FSCommandOpen(); style=cursor:hand></td></tr></table>');
	theFloaters.play();
	
//图片格式调用方法
//<a href=http://www.makewing.com/lanren/ target=_blank><img src=images/ad_100x300.jpg border=0></a>
	