A friend of mine is developing a web site, and at the moment he is using the usual window.close() me-larky to close a pop up window... But in Internet Explorer it comes up with a warning about 'this is trying to close the window' or something like that... Is there anyway around this, so this IE error message doesn't appear?

Many thanks for any input.