to <body onunload ="popup()">.
This will popup a small window when the user closes or moves from
the current page.
Unfortunately this popup is being generated even when I click on Submit
button onthe current page.
Is there any way can we make this function not to work on
Subumit button click.
Any help will be appreciated.