Before starting to write code for this, think about the way you are going to solve this problem. How would you do this? You first need to have an idea of how it should work exactly, then you can start thinking about putting it down in code.
So, did you think about the problem yourself? Tell us how you think you could solve this, then we'll discuss if you're on the right way.
Also: Please check your private messages. You can see them by clicking "My Profile" at the top right of the page. [ August 07, 2007: Message edited by: Jesper Young ]