IT can be done fully on php. I just checked on the links up there. If that is what he wanted, trust me php will do that. very easy script.
Read what he want to do very well. cookie redirection based on cookie set and active or not.
The best way to solve a problem is understanding.
Explore :)
This is session cookie with long life, On the top of the page . Read session file and if it exist, show a page or Image.
If it not, then a different IMAGE is displayed plus set the session cookie on the system. And then another image based on results etc...
cpappas can you confirm if this is what you wanted. I will write you this 20 lines script.