By using this code, You can display a dialogue/message/alert on closing the web page window or browser window. Useful when u want to say something to the user on closing the web browser/document/page window.
Add or set your favourite icon image(.ico) for your website urls, displayed at the begining of url in the address bar/field, when your web application is accessed from a browser.