﻿$(document).ready(function () {
    $('#global-mid').scrollTo('50%', 0, { axis: 'x' });

    $('#blackout').fadeOut(3000, function () {
        $('#global-bottom').scrollTo('50%', 0, { axis: 'x' });
    })
    $('#global-bottom').scrollTo('50%', 0, { axis: 'x' });
    $.timer(3000, function (timer) {
        //Determine the current location, and transition to next panel
        $('#global-mid').fadeOut(3000, function () {
            $('#global-bottom').scrollTo('50%', 0, { axis: 'x' });
        });
        timer.stop();

        $.timer(3000, function (timer) {
            //Determine the current location, and transition to next panel
            $('#global-bottom').fadeOut(3000, function () {
                $('#global').scrollTo('50%', 0, { axis: 'x' });
            });
            timer.stop();
        });
    });
}); 
