Closing a pop up window

Time for my yearly post.

Basically I want to use a button within my fla to close the pop up window it appears within.

Anyone got any ideas?