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;
}

String.prototype.supplant = function (o) {
    return this.replace(/{([^{}]*)}/g,
        function (a, b) {
            var r = o[b];
            return typeof r === 'string' || typeof r === 'number' ? r : a;
        }
    );
};

var Azexis = Azexis || {};

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

// 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;


