Array.prototype.foreach = function(predicate)
{
	for(var i=0;i<this.length;i++)
		predicate(this[i]);
};