function insertObject(parent, object)
	{
		var element = parent.addObject(object);

		for (var k = 0; k < object.children.length; k++)
		{
			insertObject(element, object.children[k]);
		}
	}
Add new object to a parent in a specific position.

@method addObject
@param {Object3D} object New object to add to the tree.
@param {Object3D} parent Parent to insert the object.
@param {number} index Index to insert the object.