Adding tidy commands
Change load-order
Adding path to cookies-handling
Use of removecookie-function
Correct redirect-function - use querystring
Move script to body
Adding return false to click event
Correct minor error in deleteallcookies
Rearrange functions
Minor changes in text