		var myqq=new Array()
		myqq.push('896539421');
		myqq.push('779290623');
		
		
function CloseDiv()
{
  document.getElementById("backi").style.visibility="hidden";
}

function CloseDiv2()
{
  document.getElementById("backi1").style.visibility="hidden";
}

  var delta=0.15
	var collection;
	function floaters() {
		this.items	= [];
		this.addItem	= function(id,x,y,content)
				  {
					document.write('<DIV id='+id+' style="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()',10);
				  }
		}
		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;
				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 QQStr;
		QQStr='';
		for(i=0;i<myqq.length;i++){
		QQStr=QQStr+"<tr><td width=25 height=22 valign=middle align=left><img src=/jqqonline/images/qqface/"+Math.round(Math.random()*100)+"_m.gif border=0></td><td width=55 height=22 valign=middle align=left><a href=http://wpa.qq.com/msgrd?V=1&amp;Uin="+myqq[i]+"&amp;Site=初教网&amp;Menu=yes target=blank><font style=font-size:12px;TEXT-DECORATION:none;color:#0;>客服人员"+(i+1)+"</font></a><br></td></tr><tr><td height=10></td></tr> "
		}
		
		
	var theFloaters		= new floaters();
	theFloaters.addItem('backi',10,80,'<table cellSpacing=0 cellPadding=0 width=110 border=0 id=qqtab><tr height=18><td onclick=CloseDiv(); style=cursor:hand; align=left ><img src=images/close.gif></td></tr><tr><td width=110><img src=/jqqonline/images/qq/skin/7/top.gif border=0></td></tr><tr id=qqstab><td valign=middle align=center background=/jqqonline/images/qq/skin/7/middle.gif><table border=0 width=80 cellSpacing=0 cellPadding=0> <tr><td colspan=2 width=80 valign=top>    <a href=list.asp?class=13 target=_blank style=line-height:20px>需要专家解除您心中的疑惑吗,点击此处,咨询专家</a></td></tr>     <tr><td width=80 height=5 border=0 colspan=2></td></tr><tr><td width=25 height=22 valign=middle align=center><img src=/jqqonline/images/qqface/79_m.gif border=0></td><td width=55 height=22 valign=middle align=left><a href=question.asp target=blank><font style=font-size:12px;TEXT-DECORATION:none;color:#0;>咨询专家</font></a><br></td></tr> </table></td></tr><tr><td width=110 ><img src=/jqqonline/images/qq/skin/7/bottom.gif border=0></td></tr>   </table>     </table>');	
	
	theFloaters.addItem('backi1',document.body.clientWidth-110,80,'<table cellSpacing=0 cellPadding=0 width=110 border=0 id=qqtab><tr height=18><td onclick=CloseDiv2(); style=cursor:hand; align=right ><img src=images/close.gif></td></tr><tr><td width=110><img src=/jqqonline/images/qq/skin/1/top.gif border=0></td></tr><tr id=qqstab><td valign=middle align=center background=/jqqonline/images/qq/skin/1/middle.gif><table border=0 width=80 cellSpacing=0 cellPadding=0>       <tr><td width=80 height=5 border=0 colspan=2></td></tr>    '+QQStr+'   </table></td></tr><tr><td width=110 ><img src=/jqqonline/images/qq/skin/1/bottom.gif border=0></td></tr></table>');	
	theFloaters.play();
	
	
	
	
