$(document).ready(function()
{
	$('#ac .sph div').css({opacity:0});
	$('#ac .acTxt1,#ac .acTxt2').each(
		function()
		{ 
		}
	).mouseover(
		function()
		{	var x0=$(this).data("x0");
			if( !x0)
			{	x0=parseInt($(this).css('left'));

				$(this).data("x0",x0);
			}
			$(this).stop().animate({left:x0+12},{duration:300,queue:false});
			var t=$(this).parents('.acBg');
			t.sudSphereOver(true);
		}
	).mouseout(
		function()
		{	$(this).stop().animate({left:$(this).data("x0")},{duration:100,queue:false},"linear");
			var t=$(this).parents('.acBg');
			var n=t.attr('id');
			var to;if( to=t.data('to')) self.clearTimeout(to)
			t.data('to',self.setTimeout("sudSphereOver('"+n+"',false);",100) );
		}
	);

});
function sudSphereOver(n,m)
{	$('#'+n).sudSphereOver(m);
}
jQuery.fn.sudSphereOver = function(m)
{	return this.each( function()
	{	if(m)
		{	var to;if( to=$(this).data('to')){self.clearTimeout(to);$(this).data('to',0);}	
			$(this).find('.sph div').stop().animate({opacity:1},{duration:150,queue:false});
		}else
		{	$(this).find('.sph div').animate({opacity:0.02},{duration:1000,queue:false});
			$(this).removeData('to');
		}		

	}
	);

}
