nestedToc is a light jQuery plugin that will automatically generate a table of contents for your page.