Greetings!! I had gone through the requirement of the script you are asking for. This can be done, no problem. This will be build in core php script, or java script. But alot of work need to be done on it, including the work of SEO, regarding the keyword you want to attract.
I case you need to discuss in detail. I am available to chat.
Thanks,
Megha