function config() {};

config.prototype.current = {};  

config.prototype.get = function(path, extraOptions) {
    if(extraOptions != undefined)
    {
        var empty = {};
        var settings = $.extend(empty, this.current, extraOptions);
        return eval("settings." + path);
    }
    else
    {
	return eval("this.current." + path);
    }
}

config.prototype.override = function(options) {
    jQuery.extend(true, this.current, options);
}

jQuery.config = new config();



