/*
* List data object
* @date: February 8, 2006
* @author: Brian Willy (a348146), Fidelity Investments
*/

function List() {
	this.a = new Array();
	this.size = 0;
	this.add = function(o) {
		this.a[this.size++]=o;
		return true;
	}
	
	this.getList = function() {
		return this.a;
	}
	
	this.remove = function(o) {
		for(x in a) {
			if(a[x]==o) {
				a[x]=null;
                return o;
            }
		}
	}
	
}