Javascript Question

Hi Everybody

I know enough JavaScript to know I don’t know a lot.

In Flash, I programmed a directions html page to close when a link is selected.
However, it asks if you are sure if you want to close the page.

Well, my audience will probably hyperventilate if they see that pop-up.

Is there a way just to hard close a html window without the pop-up message?

Also, are there any good tutorials out there combining Flash and Javascript?

As always, thanks for the help.

Sean