function Map() {
	var table = [[],[]];
	this.put = function(key, value) {
		if(!key) return;
		//alert(table[0].length);
		for(var i = 0; i < table[0].length; i++) {
			if(table[0][i] == key) {
				table[1][i] = value;
				return;
			}
		}
		table[0].push(key);
		table[1].push(value);
		return;
	}
	this.get = function(key) {
		for(var i = 0; i < table[0].length; i++) {
			if(table[0][i] == key) {
				return table[1][i];
			}
		}
		return null;
	}
	this.contains = function(key) {
		for(var i = 0; i < table[0].length; i++) {
			if(table[0][i] == key) {
				return true;
			}
		}
		return false;
	}
	this.size = function() {
		return table[0].length;
	}
	this.keySet = function() {
		return table[0];
	}
}