﻿function Hashtable(){
	this.hash = new Array();
	this.keys = new Array();
}
	
Hashtable.prototype.get = function (key){
	return this.hash[key];
}
Hashtable.prototype.clear = function (){
	this.hash = new Array();
	this.keys.clear();
}

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;
} 