On my exit button I have been using...

getURL("javascript:window.close()");

which works fine in Explorer but doesn't work in Safari. Doeds anyone have a better option? Thanks.