if (typeof Object.beget !== 'function') {
    Object.beget = function (o) {
        function F() {}
        F.prototype = o;
        return new F();
    };
}

Function.prototype.method = function(fname, f){
    this.prototype[fname] = f;
    return this;
}

var Azexis = Azexis || {};

// Configure the base URL. Useful for making Ajax requests to the right place.
// Do not include trailing slash.
Azexis.baseUrl = '';

// Set developer mode. True during development and false on a deployed site.
// Since this is client-side script, it might still be worthwhile to actually
// remove developer code from the deployed site, but this variable will still
// help identify that code.
Azexis.developer = true;
