I'm using OnUnLoad in my asp web pages body tag because I want to set some\nvalues if someone exits the page by means other than using the built in menu\nor close button. Probem is it is also being triggered by a refresh. Is it\npossible for the function that it calls to get the nature of the event that\nhas caused it to be called? Last mouse click location or something. Then I\ncan just ignore all events other than clicking the top right X or using\nFile/Close. Thanks!