public int getIndexOfChild(Object parent, Object child) {
		walker.setCurrentNode((Node) parent); // Set current node
		int index = 0;
		Node c = walker.firstChild(); // Start with first child
		while ((c != child) && (c != null)) { // Loop 'till we find a match
			index++;
			c = walker.nextSibling(); // Get the next child
		}
		return index; // Return matching position
	}