/*
 * Copyright 2007 Thomson Global Resources. All Rights Reserved.
 * Proprietary and Confidential information of TGR.
 * Disclosure, Use or Reproduction without the authorisation of TGR is prohibited.
 */
 
//Creates an instance of WLESMessages
var WLESMessages = {
    _messages: []
};

WLESMessages.addMessage = function (key, message) {
    // TODO check for nulls. etc
    this._messages[key] = message;
};

WLESMessages.getMessage = function (key) {
    // TODO check for existence, null, etc...0
    return this._messages[key];
};

