Hashtable.prototype.hash = null;
Hashtable.prototype.keys = null;
Hashtable.prototype.location = null;

function Hashtable(){
    this.hash = new Array();
    this.keys = new Array();
    this.location = 0;
}

Hashtable.prototype.get = function (key) {
    return this.hash[key];
}

Hashtable.prototype.put = function (key, value) {
    if (value == null)
        return null;

    if (this.hash[key] == null)
        this.keys[this.keys.length] = key;

    this.hash[key] = value;
}
