Some basic jQuery for 'tree' view