/***********************************************
*       LANG module
*       colect LANG and let all get them
***********************************************/

function Lang(){
        var langStorage = [];
        var debug = false;
        this.add = function LAdd(key,value,force)
        {
                if (langStorage[key])
                {
                        if (debug) alert('double setting of '+key);
                        if (force) langStorage[key] = value;
                }
                else langStorage[key] = value;
        }
        this.get = function LGet(key){return langStorage[key]}
}
// GLOBAL VARIABLE
lang = new Lang();
// LANG module
