Implements all callbacks.
Use the Firebug plugin in Firefox to see the event log.
The 'links' folders contain nodes with an custom data.url option. This is used to open the URL in the onActivate event.
Note: the lazy reading is not implemented in this example.
A focused node will automatically be activated after 2 seconds (use the keyboard to try this out).