jQuery(function( $ ){

	$.localScroll.defaults.axis = 'x';
	
	$('#content').localScroll({
		target: '#content', // could be a selector or a jQuery object too.
		queue:false,
		duration:1000,
		hash:true,
		onBefore:function( e, anchor, $target ){
			$("#content .back a").css('visibility', 'visible');
			// The 'this' is the settings object, can be modified
		},
		onAfter:function( anchor, settings ){
			$("#content  .back a").css('visibility', 'visible');
			// The 'this' contains the scrolled element (#content)
		}
	});	$('#content_services').localScroll({
		target: '#content_services', // could be a selector or a jQuery object too.
		queue:false,
		duration:1000,
		hash:true,
		onBefore:function( e, anchor, $target ){
			$("#content_services .back a").css('visibility', 'visible');
			// The 'this' is the settings object, can be modified
		},
		onAfter:function( anchor, settings ){
			$("#content_services .back a").css('visibility', 'visible');
			// The 'this' contains the scrolled element (#content)
		}
	});	
	$('#content_clients').localScroll({
		target: '#content_clients', // could be a selector or a jQuery object too.
		queue:false,
		duration:1000,
		hash:true,
		onBefore:function( e, anchor, $target ){
			$("#content_clients .back a").css('visibility', 'visible');
			// The 'this' is the settings object, can be modified
		},
		onAfter:function( anchor, settings ){
			$("#content_clients .back a").css('visibility', 'visible');
			// The 'this' contains the scrolled element (#content)
		}
	});
});
