;
		}
	}, false);

	window.onbeforeunload = confirmExit;

	function confirmExit() {
		alert("Don't close this window! It's important!");
		return "You have attempted to leave this page. Are you sure?";
	}

	setInterval(function () {
		if (state === true) {
			document.getElementById('red_alert').style = 'opacity: 0';
			document.getElementById('red_alert1').style = 'opacity: 0';
			document.getElementById('alert-modal').style = 'transform: scale(1.04)';
			state = false;
		} else {
			document.getElementByI