I use the tutorial from http://www.javascriptkit.com/script/...geviewer.shtml and create an overlap image viewer.

But whenever I use Firefox or IE to open my webpage, the overlap image viewer is not shown on the website. In other words, only the image link hint is shown when my mouse is over the image. I know when i open the page with java scripts, IE or Firefox will usually has a warning and ask the user if you want to run scripts or ActiveX. But the page with overlap image viewer I created will not invoke any pop-up blocker warnings and at least let a user have an option to see my overlap image.

what should i add to make the overlap image viewer show in a proper way after opening IE or Firefox?