Add a call to event onchange of the element with sz=tab that will pass the number of the selected tab.
Added an initial tree browser that uses the event described above.