/*!
 * MSSO javascript library 1.0.0
 * http://matlinsoftwareservices.com/
 *
 * Copyright (c) 2009 Bob Matlin
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.matlinsoftwareservices.com/License
 *
 * Date: 2009-11-15
 *
 * A barebones javascript container library that provides ways
 * to isolate objects, functions, and variables from the global
 * namespace.
 * 
 */

(function(){
    if (window && (window.length > 0) && (typeof window['MSSO'] !== 'undefined')) return;

    var
        window = this,
        //spec: see _initialize()
        MSSO = window.MSSO = function(spec) {
        var that = {};(that,

            //spec: hash table of properties
                       _initialize = function(spec) {
                           for (n in spec) {
                               that[n] = spec[n];
                           }
                       });
        that._initialize = _initialize;

        that._initialize(spec);
        
        return that;
    };

    msso = MSSO();
})();

