Access browser close button
<p>I am in  state that i need to detect browser close button where i have to show a popup , the problem is when a page is refreshed or you go back same event occurs  as it does for close button does any one have idea how  to accomplish this.is it possible to get co ordinates of close button of browser ?   </p>
