try {

    jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
        return -c * ((t=t/d-1)*t*t*t - 1) + b;
    };


    jQuery(function( $ ){
        /**
         * Most jQuery.serialScroll's settings, actually belong to jQuery.ScrollTo, check it's demo for an example of each option.
         * @see http://flesler.demos.com/jquery/scrollTo/
         * You can use EVERY single setting of jQuery.ScrollTo, in the settings hash you send to jQuery.serialScroll.
         */
            $('#calendar').serialScroll({
                items:'li', // Selector to the items ( relative to the matched elements, '#sections' in this case )
                prev:'a.prev',// Selector to the 'prev' button (absolute!, meaning it's relative to the document)
                next:'a.next',// Selector to the 'next' button (absolute too)
                axis:'x',// The default is 'y' scroll on both ways
                duration:500,// Length of the animation (if you scroll 2 axes and use queue, then each axis take half this time)
                force:true, // Force a scroll to the element specified by 'start' (some browsers don't reset on refreshes)
                //start: calendar_start,

                onBefore:function( e, elem, $pane, $items, pos ){
                    e.preventDefault();
                    if( this.blur )
                        this.blur();
                },
                onAfter:function( elem ){
                }
            });


    });

} catch (err) {

}
