Well....
I guess now I understand what Gardener.
The script on one page can't close another window? Right?
In other words... in threads I'm trying to call this:
$privatespopup = "<script language="javascript" type="text/javascript"> window.close('messagepopup');</script>";
To close my popup window named 'messagepopup'.... but it closes the current (threads) window instead.
I guess I would need to make my little message popup window query to see if there are private messages.... and close if there are none.
Unless I'm missing something with my javascript.