I am having a specific issue.

Here is what I need.

I have the main page with an image and I have image maps on it.

When a user hovers / clicks on the specific area, I need to open a popup on the page with another image with image maps.

Again when a user hovers / clicks on the specific area within the new popup another popup opens.

The issue I am having is this.

If I hover / click on the first image map I am able to open a new popup. But the issue comes up when I use the script to open the popup on the new popup. Here sometimes it opens / sometimes it doesnot.
Also once a popup opens the script fails to work for other popups on the page. Only after I refresh the page I can open popups again.

Any jquery script / function that I could use for the issue I am facing?

Thanks in advance for the help