Popup Window Closer - Click Anywhere
A not so common method to close windows is using a 'click anywhere' method. The code specifies that if the popup loses focus or is clicked the popup closes. Basically anywhere you click will close the window.
4813 CGI, PHP, and JavaScript resources listed ...and growing!