Navigate Component

The Navigate component determines what the next or previous document is, according to TOC order, and then redirects to that location. The current document is determined by the path info of the request URL, or if no path is specified, by looking at the doc cookie.