anet.array = new function() {
	this.remove = function(list, element) {
		var result = false;
		var array = [];
		for (var index in list) {
			if (list[index] == element)
				result = true;
			else
				array.push(list[index]);
		}
		list.length = 0;
		for (var index in array)
			list.push(array[index]);
		array = null;
		return (result);
	};
};
