<page id="messageBoxExit" source="levels/menu/menu.nml" groupName="messageBoxExit">
	<label object="exitGame_title" font="Otari-Bold_simple" colorR=0.235294 colorG=0.094118 colorB=0.007843 align="middle">Exit Game</label>
	<label object="exitGame_question" font="Otari-Bold_simple" colorR=0.235294 colorG=0.094118 colorB=0.007843 align="middle">Are you sure you want to exit?</label>
	
	<item id="exit_yes" object="exitGame_yes" onClick="runSequence('exitSeq');" onMouseEnter="runFunction('mouseEnter');" onMouseLeave="setUvOffset(0.0, 0.0);" />
	<item id="exit_no" initItem backItem object="exitGame_no" onClick="runFunction('mouseClickNo');" onMouseEnter="runFunction('mouseEnter');" onMouseLeave="setUvOffset(0.0, 0.0);" />

	<script>
		sequence exitSeq()
		{
			playSound('menu_select');
			setPage('main_menu');
			fadeOut(1.0, true);
			killMenu();
			exit();
		}
		function mouseEnter()
		{
			playSound('menu_move');
			setUvOffset(0.125, 0.0);
		}
		function mouseClickNo()
		{
			playSound('menu_select');
			setPage('main_menu');
		}
	</script>
</page>
