codice:
<body onUnLoad="funzione();">
ciao