function confirmUnload(e) {
		// Prompt always shown in Mozilla Firefox
		// Prompt only show in Chrome if user interacted with the page

		// Cancel the default event
		e.preventDefault();

		// Chrome requires returnValue to be set
		e.returnValue = "";
	}
// Function for prompting unload confirmation dialog
Function for prompting unload confirmation dialog
Function for prompting unload confirmation dialog
function confirmUnload(e) {
		e.preventDefault();
		e.returnValue = "";
	}
function confirmUnload ( e ) { e . preventDefault ( ) ; e . returnValue = "" ; }
Function for prompting unload confirmation dialog
Function for prompting unload confirmation dialog
// Prompt always shown in Mozilla Firefox // Prompt only show in Chrome if user interacted with the page // Cancel the default event // Chrome requires returnValue to be set