Here is what I'm doing,

1. Someone comes to my site, it says click her to lauch site

2. Site launches in a new window (600 x 400), centered on the screen

3. When the user clicked 'launch site' it also contained JavaScript to close that window.

Now the problem is when the window is being closed I get a prompt saying somthing like the web page is trying to close the window, do you want to close the window.

I want to close the window without the prompt comming up, I have seen other sites do it and it works, but when I write the same line I get a prompt ?

Is it due to some setting in my browser or somthing ?

Can some one show me (with JS code) how I can close the window without the prompt appearing.

!!! Thank You In Advance !!!