Links and javascript

Adding functionality to the link bar and added javascript to cycle
through the images on the main page