function ArrayList(){
    this.items = new Object();
    this.add = function(key, value){
        this.items[key] = value;
    };
    this.remove = function(key){
        delete this.items[key];
    };
    this.getValue = function(key){
        return this.items[key];
    };
    this.getEnumerable = function(){
        return this.items;
    };
    this.size = function(){
        var count = 0;
        for(key in this.items)
            count++;
        return count;
    };
}

function InputFieldError(fieldIndex, fieldID, fieldMessage){
    this.fieldIndex = fieldIndex;
    this.fieldID = fieldID;
    this.fieldMessage = fieldMessage;
}
