            
		clientService=function (id,_top,_right){
		var me=id.charAt?document.getElementById(id):id, d1=document.body, d2=document.documentElement;
		d1.style.height=d2.style.height='100%';me.style.top=_top?_top+'px':0;me.style.right=_right+"px";//[(_left>0?'left':'left')]=_left?Math.abs(_left)+'px':0;
		me.style.position='absolute';
		setInterval(function (){me.style.top=parseInt(me.style.top)+(Math.max(d1.scrollTop,d2.scrollTop)+_top-parseInt(me.style.top))*0.1+'px';},10+parseInt(Math.random()*20));
		return arguments.callee;
		};
		window.onload=function (){
		clientService('services_qq', 175, -160);
		}
			
			var InterTime = 1;
			var maxWidth=-2;
			var minWidth = -160;
			var numInter =10;//速度，越大越快
			var BigInter ;
			var SmallInter ;
			var o = document.getElementById("services_qq");
				var i = parseInt(o.style.right);
				function Big()
				{
					if(parseInt(o.style.right)<maxWidth)
					{
						i = parseInt(o.style.right);
						i += numInter;	
						o.style.right=i+"px";	
						if(i==maxWidth)
						clearInterval(BigInter);
		                $(".services_btn").css("background", "url(/images/service_close.gif) no-repeat");
					}
				}
				function toBig()
				{
					clearInterval(SmallInter);
					clearInterval(BigInter);
					BigInter = setInterval(Big, InterTime);
					
				}
				function Small()
				{
					if(parseInt(o.style.right)>minWidth)
					{
						i = parseInt(o.style.right);
						i -= numInter;
						o.style.right=i+"px";
						
						if(i==minWidth)
						    clearInterval(SmallInter);
						$(".services_btn").css("background", "url(/images/service_open.gif) no-repeat");
					}
				}
				function toSmall()
				{
					clearInterval(SmallInter);
					clearInterval(BigInter);
					SmallInter = setInterval(Small, InterTime);
				}
