In that case this doesn't solve my problem. Of course I could popup another window using document.onUnload() which in turn will execute the form.send() as a result of document.onload() function, but I wanted to stay away from pop-up browser windows. Anyone have other ideas?