$(document).ready(function(){
	$('#clients_body .box').each(function(){
		var $this = $(this);
		var $width = $this.innerWidth();
		var $contentWidth =0;
		$this.find('a').each(function(){ $contentWidth+=$(this).outerWidth(); });
		
		$this.mousemove(function(e){
			$this.scrollLeft( (e.pageX-$this.offset().left-100)/$width*($contentWidth+200) );
			//console.log((e.pageX-$this.offset().left)/$width);
			//console.log((e.layerX-100)/$width*($contentWidth+200));
		});
		
	});
});
