Remembering information across different pages with JavaScript Cookies - Page 3

Remember 1 cookie across 3 pages: Remember several pages later if you have clicked an image on the first page - 20 second cookie expiry

Cookie name is "pg2pgtouch"

The cookie is checked when the page loads.
The page alerts "You touched it on that other page, and now you are here!" if it is all working successfully.
The page alerts "ERROR" if the image has not been touched (or if the cookie has expired).