function Cache()
{
	function put(key,value)
	{
		if (!this.disabled)
		{
			this.data[key] = value;
		}
	}

	function get(key)
	{
		var result = null;
		if (!this.disabled)
		{
			result = this.data[key];
		}
		return result;
	}

	function remove(key)
	{
		this.data[key] = null;
	}

	//Properties
	this.data = new Array();
	this.disabled = false;

	//Methods
	this.put = put;
	this.get = get;
	this.remove = remove;
}