
$(document).ready(function () {

    if ($('#isScrollable').val() == 'True') {
        $("#ei_rotator").scrollable({ circular: true, mousewheel: true, easing: 'custom', speed: 1000 }).navigator().autoscroll({
            interval: $('#hdnDuration').val()
        });


        // custom easing called "custom"
        $.easing.custom = function (x, t, b, c, d) {
            return c * ((t = t / d - 1) * t * t * t * t + 1) + b;
        }


    }
    else {
        $('#prev').hide();
        $('#next').hide();
    }
});

