if (!Array.prototype.indexOf)
{
	Array.prototype.indexOf = function(what)
	{
		for(var i=0; i<this.length; i++)
			if (this[i] == what)
				return i;
		return -1;
	};
}
