Hi everyone!
I need to know how to perform some JavaScript code when a window is closed. Does anyone know how do I do that??

I tried using unUnload on the bosy, but this execute the javascript everytime the page is unloaded (link is clicked, back button is pressed, fwd button is clicked... etc) and it doesnt helped me out. Is there anything as onClose??

Please I need some help!!

Thanks
Jesy