Popup Closer - Click Anywhere
Description:
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.
Directions:
Below you will find the code required to create a "Click Anywhere". Use the 'Grab Text' buttons to select the code within the adjacent textarea. Then use Control-C or Edit -> Copy to buffer the text for pasting into your document.

Close Window - Click Anywhere: Insert the following code into your BODY tag of the popup window. Then all the user has to do is click anywhere on the screen to close the window.

Example: <body onBlur="self.close()" onClick="self.close()">

Then use Control-C to copy the text into your web page.