
 //Simple BTree.  This would probably need to get expanded at some point, but
 //for the time it serves its purpose

function BTreeNode(anObject)
	{
		//properties
		this.NodeObject=anObject;
		this.NodesArray=new Array();

		//Assigned Methods
		this.AddNode	 = BTREE_AddNode;
		this.hasChildren = BTREE_hasChildren;
	}

function BTREE_AddNode(anObject)
	{
		this.NodesArray[this.NodesArray.length]=new BTreeNode(anObject);
		return this.NodesArray[this.NodesArray.length-1];
	}

function BTREE_hasChildren()
	{
		if(this.NodesArray.length==0)
			return false;
		return true;
	}
