var left_img2='<a href="http://www.leaderpower.com.cn/"  target="_blank"><img src="http://www.job36.com/2007Ad/leaderpower/90-90.gif"  border="0"  /></a>';

var right_img2='<a href="/jiurw/index.jsp"  target="_blank"><img src="/logo/duilian/90X90/jiurw.gif"  border="0"  /></a>';

function hiden_left2(){
    document.getElementById("followDiv22").style.visibility='hidden';
}
function hiden_right2(){
	 document.getElementById("followDiv12").style.visibility='hidden';
}

	var delta2=0.05
	var collection2;
	function floaters2() {
		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 newItem2				= {};
					newItem2.object			= document.getElementById(id);
					newItem2.x				= x;
					newItem2.y				= y;

					this.items[this.items.length]		= newItem2;
				  }
		this.play2	= function()
				  {
					collection2				= this.items
					setInterval('play2()',10);
				  }
		}
		function play2()
		{

			for(var i=0;i<collection2.length;i++)
			{
				var followObj2		= collection2[i].object;
				var followObj2_x2		= (typeof(collection2[i].x)=='string'?eval(collection2[i].x):collection2[i].x);
				var followObj2_y2		= (typeof(collection2[i].y)=='string'?eval(collection2[i].y):collection2[i].y);

				if(followObj2.offsetLeft!=(document.body.scrollLeft+followObj2_x2)) {
					var dx=(document.body.scrollLeft+followObj2_x2-followObj2.offsetLeft)*delta2;
					dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
					followObj2.style.left=followObj2.offsetLeft+dx;
					}

				if(followObj2.offsetTop!=(document.body.scrollTop+followObj2_y2)) {
					var dy=(document.body.scrollTop+followObj2_y2-followObj2.offsetTop)*delta2;
					dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
					followObj2.style.top=followObj2.offsetTop+dy;
					}
				followObj2.style.display	= '';
			}
		}	
		
	var thefloaters2		= new floaters2();
	thefloaters2.addItem('followDiv12','document.body.clientWidth-105',450,''+right_img2+'');
	thefloaters2.addItem('followDiv22',14,450,''+left_img2+'');
	thefloaters2.play2();
