Read View Links

Added a function that will read the view and determine the document that
is shown there.