This example is obsolete, since this functionality is already available out-of-the-box - see Navigation.
This example demonstrates how to change a control in a specific navigation group. It will show navigation items in the Data navigation group in a tree-like structure.