How to exit the window

i created a movie in that i had a exit button .
in that exit button i had written an action script “quit” to exit the swf.

it works on running the swf file. but when i runn the same swf file in an IE5 the exit button is not working

i want to close the ie5 window to be closed when we click that button in the ie5.

for this what should i do

help me out

from
aris