when user press on X close button to close the current browser window, then pop up a msgbox. but how to capture the close event? i try unload in HTML, but is wrong... please help me...thanks........