So I have managed to get this working ok but the problem I have is I can't get back to the home page. I have tried to solve it for a while but can't seem to come up with a solution.
Has anybody got any ideas? http://tinyurl.com/39exv6 Link to javascript file: http://tinyurl.com/64zdw5