 /*!
 * tabsjs javascript library 1.0.0
 * Copyright 2010 TABS4CE All Rights Reserved.
 *
 * Author: Bob Matlin bmatlin@matlinsoftwareservices.com
 * http://matlinsoftwareservices.com/
 *
 * Created: 5/9/2010
 *
 * A barebones javascript container library that provides a private namespace
 * for TABS js.
 * 
 */

var tabsjs;

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

    var
        window = this,
        //spec: see _initialize()
        TABSJS = window.TABSJS = 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;
    };

    tabsjs = TABSJS();
})();
