/* easing */

jQuery.easing['jswing'] = jQuery.easing['swing'];

jQuery.extend( jQuery.easing,
{
	def: 'easeOutQuad',
	swing: function (x, t, b, c, d) {
		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
	},
	easeInOutQuad: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t + b;
		return -c/2 * ((--t)*(t-2) - 1) + b;
	}
});


/* scroll */

$(document).ready(function(){

	$(".menu, .menu-main").localScroll({
		axis: "y",
		duration: 800,
		easing: "easeInOutQuad",
		queue: false
	}).click(function(){
		return false;
	});

});	

