Thanks again for the help.
Turns out that if I have <body onblur="window.close()">, it works sometimes, but not always. However, if I have
<body onblur="CloseWindow()"> and then do a window.close() inside the CloseWindow() function, it works every time. Wierd. The scenario where it is sporatic is this: Have a button that does a window.open(...). That window has the onblur event to fire window.close(). Just keep clicking the button without moving the mouse... sometimes the window.close() works in the child window and sometimes it doesn't. But with CloseWindow() as the onblur function, it seems to work every time. Maybe it's some kind of strange timing issue with the events.
Thanks again for all the input!
Ben Anderson