Split out documents to a separate link

The tabs works as before with the help of some onload Javascript, but
now the documents tab takes you to a separate page.