We would like you to create 6 javascript functions -
1. A function that triggers if you click forward in the browser
2. A function that triggers if you click back in the browser
3. A function that triggers if you refresh the page
4. A function that triggers if you close the page
5. A function that only triggers if you leave the desired website to go to another website via going back forward, typing in a new url or clicking a link to another website
6. A function that triggers if you click a hyperlink, submit a web form, areamap or image button.
All functions need to be independent of each other and work across firefox, safari & ie 6, 6.5,7,8