// -=Globals=- //
    var a;

// -=Shortcuts=- //
    // -=Settings=- //
    var s = settings;
    // -=Elements=- //
    var e; // e = ui.elements;






//////////////////////////////////////////////////////////
// -=Onload, init, bootstrap... call me what you will=- //
//////////////////////////////////////////////////////////
$('document').ready( function() {
    init();
});



// -=In The Beginning There Was...=- //
init = function() {
console.group("bootstrap");

    // -=Carefully initialize google maps=- //
    if (s.gm) {
        if (typeof(google) != 'undefined') {
            map_init();
        }
    }

    // -=Global settings for ajax requests=- //
	jQuery.ajaxSetup (
	   { ajaxTimeout: 5000 }
    );

    // -=Page=- //
    page = s.page || null;
    if (page) {
        // -=Airline page=- //
        if (page.indexOf('airline.view.') != -1) {
            ui.page.airline();
        }
        // -=Home page=- //
        else if (page.indexOf('home') != -1)
        {
            ui.page.home();
        }
        // -=Other=- //
        else
        {
            ui.page.standard();
        }
    } else {
        ui.page.standard();
    }


console.groupEnd("bootstrap");
}

