$(function(){
	
	$.easing.custom = function (x, t, b, c, d) {
		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
	}
	
	// Gallery horizontal slider
	$(".slides").scrollable({
		mousewheel: true,
		// easing: 'custom',
		speed: 1000,
		next: ".gallery_next",
		prev: ".gallery_prev",
		items: ".items",
		circular: true
	}).autoscroll({
			interval: 7000
	});

	
});
