<?xml version="1.0"?>
<root>
	<styles>
		<!-- style name="mainMenuBtnStyle">
			<images multi_image="IMAGE_MAIN_MENU_BUTTON" />
			<font name="FONT_ARIAL_14" header_color="ffaaaaaa" lines_color="ffffffff" />
		</style -->
		<style name="mainMenuBtnStyle" ver_text_shift="-2" snd_over="SND_BTN_SEL_METAL" snd_click="SND_BTN_CLICK_METAL" >
			<images multi_image="IMAGE_MAIN_MENU_BUTTON" />
			<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" text_over_color="0xffffffff" />
		</style>
		<style name="mainMenuXBtnStyle" ver_text_shift="-2" snd_over="SND_BTN_SEL_METAL" snd_click="SND_BTN_CLICK_METAL">
			<images multi_image="IMAGE_MAIN_MENU_BUTTON_X" />
			<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" text_over_color="0xffffffff" />
		</style>
		<style name="startLikeBtnStyle" ver_text_shift="-5" snd_over="SND_BTN_SEL_METAL" snd_click="SND_BTN_CLICK_METAL" />
		
		<style name="submenuBtnStyle" ver_text_shift="-2" snd_over="SND_BTN_SEL_METAL" snd_click="SND_BTN_CLICK_METAL">
			<images multi_image="IMAGE_MAIN_BUTTON" />
			<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" text_over_color="0xffffffff" />
			<rect w="image" h="image" />
		</style>
		
		<style name="labelStatStyle"><font name="FONT_MENU_BROWN_14" text_color="0xffffffff" text_over_color="0xffffffff" /></style>
		<style name="valueStatStyle"><font name="FONT_MENU_BLUE_14" text_color="0xffffffff" text_over_color="0xffffffff" /></style>
		
		<style name="smallHeaderStyle" halign="0" >
			<rect x="center_parent" y="80" w="400" h="70" />
			<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" text_over_color="0xffffffff" />
		</style>
		<style name="bigHeaderStyle" halign="0" >
			<rect x="center_parent" y="88" w="300" h="50" />
			<font name="FONT_MENU_WHITE_14" text_color="0xffffffff" />
		</style>
		<style name="bigHeaderExtraStyle" halign="0" >
			<rect x="center_parent" w="250" h="50" />
			<font name="FONT_MENU_WHITE_14" text_color="0xffffffff" />
		</style>
		
		<style name="brownTextStyle" halign="0" >
			<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" text_over_color="0xffffffff" />
		</style>
		<style name="brownTextLeftStyle" halign="-1" valign="0" ver_text_shift="2" >
			<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" text_over_color="0xffffffff" />
		</style>
		<style name="brownTaskTextStyle" halign="0" >
			<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" text_over_color="0xffffffff" />
			<rect w="400" h="30" />
		</style>
		<style name="brownTasksTextStyle" halign="0" >
			<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" text_over_color="0xffffffff" />
			<rect w="400" h="180" />
		</style>
		
		<style name="profilesListStyle" halign="0" margin_x="7" margin_y="20" >
			<font name="FONT_MENU_WHITE_14" text_color="0xffd1a138" over_color="0xffffffff"
				selected_text_color="0xffffffff" />	<!-- bg_color="0x00ffffff" ouline_color="0xffffffff"  selected_bar_color="0xff000000" -->
		</style>
		<style name="itemInfoListStyle" halign="0" margin_x="7" margin_y="10" >
			<font name="FONT_MENU_WHITE_14" text_color="0xffd1a138" over_color="0xffffffff"
				selected_text_color="0xffffffff" />	<!-- bg_color="0x00ffffff" ouline_color="0xffffffff"  selected_bar_color="0xff000000" -->
		</style>
	</styles>

	<dialogs>

<!-- ÃËÀÂÍÎÅ ÌÅÍÞ -->	
		<dialog id="MainMenu" movable="false" >
			<rect x="0" y="0" w="screen" h="screen" />
			<!--images bg="IMAGE_MAIN_BG" /-->
			
			<controls>								<!-- ïîçæå ñäåëàòü òàê, ÷òîáû êîíòðîëû ïåðåñûëàëè ñâîè ñîîáùåíèÿ òîìó îáúåêòó, â ñåêöèè "controls" êîòîðîãî ÍÅ íàïèñàíî listener="false" (áëèæàéøåãî óðîâíÿ) -->
				<!--control type="image" id="idBtnRollShadow" >
					<images image="IMAGE_MAIN_BTN_ROLL_SHADOW" />
					<rect x="1012" y="288" w="image" h="image" anchor="top_right" />
				</control-->
				<control type="image" id="idLogo" >
					<images image="IMAGE_MAIN_MENU_LOGO" />
					<rect x="center_screen" y="420" w="image" h="image" />
				</control>
				<!-- control type="text" id="idHelloText" textid="HELLO_TEMP" halign="-1" >
					<rect x="55" y="75" w="400" h="30" />
					<font name="FONT_MENU_WHITE_14" text_color="0xffffffff" />
				</control -->
			
				<control type="button" id="idChangePlayer" textid="CHANGE_PLAYER" style="mainMenuBtnStyle" >
					<rect x="26" y="10" w="image" h="image" />
				</control>
				<control type="button" id="idSwitchMode" textid="CHANGE_MODE" style="mainMenuBtnStyle" >
					<rect x="273" y="10" w="image" h="image" />
				</control>
				<control type="button" id="idOptions" textid="OPTIONS" style="mainMenuBtnStyle" >
					<rect x="521" y="10" w="image" h="image" />
				</control>
				<control type="button" id="idExit" textid="EXIT_GAME" style="mainMenuXBtnStyle" >
					<rect x="768" y="10" w="image" h="image" />
				</control>
                
                <control type="button" id="idAppStore" textid="" >
					<images multi_image="BTN_APPSTORE" />
					<rect x="28" y="533" w="image" h="image" />
					<font name="FONT_MENU_FINAL_20" text_color="0xffffffff" text_over_color="0xffffffff" />
				</control>
				
				<control type="button" id="idStartGame" textid="START_GAME" nocrop_image="true" style="startLikeBtnStyle" >
					<images multi_image="IMAGE_MAIN_START_BTN" />
					<rect x="center_screen" y="695" w="image" h="image" />
					<!-- rect x="1024" y="280" w="image" h="73" anchor="top_right"/ -->
					<font name="FONT_MENU_FINAL_20" text_color="0xffffffff" text_over_color="0xffffffff" />
				</control>
				
			</controls>
		</dialog>
		

		<dialog id="MapMenu" movable="false" >
			<rect x="0" y="0" w="screen" h="screen" />
			<!--images bg="IMAGE_MAP_BG" /-->
			
			<controls>
				
				<!--control type="image" id="idUnderBottom" >
					<images image="IMAGE_MAIN_UNDER_DOWN" />
					<rect x="center_screen" y="768" w="image" h="image" anchor="bottom" />
				</control-->
				
				<control type="image" id="idLogo" >
					<images image="IMAGE_MAIN_MENU_LOGO" />
					<rect x="center_screen" y="420" w="image" h="image" />
				</control>
				<!--control type="image" id="idBtnRollShadow" >
					<images image="IMAGE_MAIN_BTN_ROLL_SHADOW" />
					<rect x="1012" y="288" w="image" h="image" anchor="top_right" />
				</control-->

				<control type="button" id="idValleys" textid="VALLEYS" style="mainMenuBtnStyle" >
					<rect x="26" y="10" w="image" h="image" />
				</control>
				<control type="button" id="idBack" textid="BACK" style="mainMenuBtnStyle" >
					<rect x="768" y="10" w="image" h="image" />
				</control>
				
				<control type="button" id="idStartGame" textid="START_GAME" nocrop_image="true" style="startLikeBtnStyle" >
					<images multi_image="IMAGE_MAIN_START_BTN" />
					<rect x="center_screen" y="695" w="image" h="image"/>
					<font name="FONT_MENU_FINAL_20" text_color="0xffffffff" text_over_color="0xffffffff" />
				</control>
				
				<!--control type="image" id="idBtnRoll" >
					<images image="IMAGE_MAIN_BTN_ROLL" />
					<rect x="1005" y="288" w="image" h="image" anchor="top_right" />
				</control-->
			</controls>
		</dialog>
		
		
		<dialog id="ValleysMenu" movable="false" >
			<rect x="0" y="0" w="screen" h="screen" />
			<!-- images bg="IMAGE_MAIN_VALLEY" /-->
			
			<controls>
			
				<!-- control type="image" id="idUnderTop" >
					<images image="IMAGE_MAIN_UNDER_UP_SINGLE" />
					<rect x="center_screen" y="0" w="image" h="image" />
				</control>
				
				<control type="image" id="idUnderBottom" >
					<images image="IMAGE_MAIN_UNDER_DOWN" />
					<rect x="center_screen" y="768" w="image" h="image" anchor="bottom" />
				</control -->
			
				<control type="image" id="idLogo" >
					<images image="IMAGE_MAIN_MENU_LOGO" />
					<rect x="center_screen" y="420" w="image" h="image" />
				</control>
			
				<control type="button" id="idBack" textid="BACK" style="mainMenuBtnStyle" >
					<rect x="center_screen" y="700" w="image" h="image" />
				</control>
				
				<control type="button" id="idNext" textid="NEXT_TEXT" nocrop_image="true" style="startLikeBtnStyle" >
					<images multi_image="IMAGE_MAIN_START_BTN" />
					<rect x="center_screen" y="695" w="image" h="image" />
					<font name="FONT_MENU_FINAL_20" text_color="0xffffffff" text_over_color="0xffffffff" />
				</control>
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ ÍÀÑÒÐÎÅÊ -->
		<dialog id="OptionsDlg" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_BIG_BG" />
			
			<controls>
				<!--control type="image" id="idRollTop" > <images image="IMAGE_MAIN_ROLL_BIG" /> <rect x="-21" y="-48" w="image" h="image" /></control>
				<control type="image" id="idRollSTop" > <images image="IMAGE_MAIN_ROLL_BIG_SHADOW" /> <rect x="-45" y="-48" w="image" h="image" /></control-->
				
				<control type="text" id="idHeaderText" textid="SETTINGS" style="bigHeaderStyle" />
				
				<control type="text" id="idMusicText" textid="MUSIC" halign="-1" >
					<rect x="157" y="245" w="200" h="50" />
					<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
				</control>
				<control type="text" id="idSoundText" textid="SOUNDS" halign="1" >
					<rect x="518" y="245" w="100" h="50" />
					<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
				</control>
				
				<control type="button" id="idHighscores" textid="HIGHSCORES" style="submenuBtnStyle" >
					<rect x="center_parent" y="140" />
				</control>
				
				<control type="button" id="idLanguage" textid="LANGUAGE" style="submenuBtnStyle" >
					<rect x="center_parent" y="190" />
				</control>
			
				<control type="vpanel" id="idVPanelTexts" gap="0" valign="-1" halign="-1" >
					<rect x="300" y="293" w="parent" h="500" />
					<controls>
						<control type="text" id="idCursotText" textid="CURSOR" halign="-1" >
							<rect w="250" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control>
						<control type="text" id="idMuteSoundText" textid="MUTE_SOUND" halign="-1" >
							<rect w="250" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control>
						<control type="text" id="idFullscreenText" textid="FULLSCREEN" halign="-1" >
							<rect w="250" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control>
                        
                        <control type="text" id="idEffectsText" textid="EFFECTS" halign="-1" >
							<rect w="270" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control>
						<!--control type="text" id="idWideText" textid="WIDESCREEN" halign="-1" >
							<rect w="200" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control-->
					</controls>
				</control>
				
				<control type="vpanel" id="idVPanelChecks" gap="0" valign="-1" halign="-1" >
					<rect x="243" y="279" w="parent" h="500" />
					<controls>
						<control type="checkbox" id="idCursorBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control>
						<control type="checkbox" id="idMuteSoundBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control>
						<control type="checkbox" id="idFullscreenBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control>
                        
                        <control type="checkbox" id="idEffectsBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control>
						<!--control type="checkbox" id="idWideBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control-->
					</controls>
				</control>
				
				<control type="slider" id="idSound" vertical="true" >
					<rect x="563" y="273" w="image" h="image" />
					<images track="IMAGE_MAIN_RIBBON" thumb="IMAGE_MAIN_DOT" />
				</control>
				
				<control type="slider" id="idMusic" vertical="true" >
					<rect x="153" y="273" w="image" h="image" />
					<images track="IMAGE_MAIN_RIBBON" thumb="IMAGE_MAIN_DOT" />
				</control>

				<control type="button" id="idOk" textid="OK_BTN" style="submenuBtnStyle" >
					<rect x="center_parent" y="482" />
				</control>

				<!--control type="image" id="idRollBottom" > <images image="IMAGE_MAIN_ROLL_BIG" /> <rect x="-21" y="490" w="image" h="image" /></control>
				<control type="image" id="idRollSBottom" > <images image="IMAGE_MAIN_ROLL_BIG_SHADOW" /> <rect x="-45" y="490" w="image" h="image" /></control-->
			</controls>
		</dialog>
		
<!-- ÂÍÓÒÐÈÈÃÐÎÂÎÅ ÌÅÍÞ -->
		<dialog id="GameMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_BIG_BG" />
			
			<controls>
				<control type="text" id="idHeaderText" textid="MENU_HEADER" style="bigHeaderStyle" />
			
				<control type="vpanel" id="idVPanel" gap="19" valign="-1" halign="0" >
					<rect x="0" y="180" w="parent" h="500" />
					<controls>
					
						<control type="button" id="idContinueBtn" textid="CONTINUE_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idReplayBtn" textid="REPLAY_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idBackToMapBtn" textid="BACK_TO_MAP_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idSettingsBtn" textid="SETTINGS_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idExitBtn" textid="EXIT_BTN" style="submenuBtnStyle"/>
						
					</controls>
				</control>
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ ÂÛÕÎÄÀ ÈÇ ÏÐÈËÎÆÅÍÈß -->
		<dialog id="ExitMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_SMALL_BG" />
			<controls>
				<control type="text" id="idHeaderText" textid="SURE_EXIT" style="smallHeaderStyle" />
			
				<control type="vpanel" id="idVPanel" gap="19" valign="-1" halign="0" >
					<rect x="0" y="180" w="parent" h="500" />
					<controls>
						<control type="button" id="idYesBtn" textid="YES_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idNoBtn" textid="NO_BTN" style="submenuBtnStyle"/>
					</controls>
				</control>
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ YesNo - âîïðîñ çàäàåòñÿ â êîäå -->
		<dialog id="YesNoMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_SMALL_BG" />
			<controls>
				<control type="text" id="idHeaderText" textid="SURE_EXIT" style="smallHeaderStyle" />
			
				<control type="vpanel" id="idVPanel" gap="19" valign="-1" halign="0" >
					<rect x="0" y="180" w="parent" h="500" />
					<controls>
						<control type="button" id="idYesBtn" textid="YES_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idNoBtn" textid="NO_BTN" style="submenuBtnStyle"/>
					</controls>
				</control>
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ ChangeMode - âîïðîñ çàäàåòñÿ â êîäå -->
		<dialog id="ChangeModeMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_BIG_BG" />
			<controls>
                <control type="text" id="idHeaderText" textid="SELECT_MODE_HEADER" style="bigHeaderStyle" />
                
                <control type="vpanel" id="idVPanelTexts" gap="0" valign="-1" halign="-1" >
					<rect x="297" y="197" w="parent" h="500" />
					<controls>
						<control type="text" id="idHardText" textid="HARD_MODE" halign="-1" >
							<rect w="300" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control>
						<control type="text" id="idNormalText" textid="NORMAL_MODE" halign="-1" >
							<rect w="300" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control>
						<control type="text" id="idEasyText" textid="EASY_MODE" halign="-1" >
							<rect w="300" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control>
                        <control type="text" id="idRelaxText" textid="RELAX_MODE" halign="-1" >
							<rect w="300" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control>
					</controls>
				</control>
				
				<control type="vpanel" id="idVPanelChecks" gap="0" valign="-1" halign="-1" >
					<rect x="243" y="183" w="parent" h="500" />
					<controls>
						<control type="checkbox" id="idHardBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control>
						<control type="checkbox" id="idNormalBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control>
						<control type="checkbox" id="idEasyBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control>
                        <control type="checkbox" id="idRelaxBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control>
					</controls>
				</control>

				<control type="vpanel" id="idVPanel" gap="19" valign="-1" halign="0" >
					<rect x="0" y="430" w="parent" h="500" />
					<controls>
						<control type="button" id="idYesBtn" textid="OK_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idCancelBtn" textid="CANCEL_BTN" style="submenuBtnStyle"/>
					</controls>
				</control>
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ òóòîðèàëà -->
		<dialog id="TutorialMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="TUT_TUTORIAL_BG" />
			<controls>
				<control type="image" id="idTutorialImage" >
					<images image="TUT_01_1" />
					<rect x="center_parent" y="118" w="image" h="image" />
				</control>
				<control type="text" textid="" id="idTutorialText" style="brownTextStyle" valign="0" >
					<rect x="center_parent" y="264" w="320" h="192" />
				</control>
				<control type="button" id="idContinueBtn" textid="CONTINUE_BTN" style="submenuBtnStyle" >
					<rect x="center_parent" y="457" />
				</control>
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ òóòîðèàëà -->
		<dialog id="ValleyTutorialMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="TUT_TUTORIAL_BG" />
			<controls>
				<!--control type="image" id="idTutorialImage" >
					<images image="TUT_01_1" />
					<rect x="center_parent" y="118" w="image" h="image" />
				</control-->
				<control type="text" textid="VALLEY_TUT_TEXT" id="idText" style="brownTextStyle" valign="0" >
					<rect x="center_parent" y="264" w="320" h="192" />
				</control>
				<control type="button" id="idContinueBtn" textid="CONTINUE_BTN" style="submenuBtnStyle" >
					<rect x="center_parent" y="457" />
				</control>
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ ÏÐÎÈÃÐÛØÀ "ÂÛ ÍÅ ÓÑÏÅËÈ" -->
		<dialog id="TimeOutMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_SMALL_BG" />
			<controls>
				<control type="text" id="idHeaderText" textid="TIME_OUT" style="smallHeaderStyle" />
			
				<control type="vpanel" id="idVPanel" gap="19" valign="-1" halign="0" >
					<rect x="0" y="180" w="parent" h="500" />
					<controls>
						<control type="button" id="idReplayBtn" textid="REPLAY_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idExitBtn" textid="BACK_TO_MAP_BTN" style="submenuBtnStyle"/>
					</controls>
				</control>
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ ÏÐÎÈÃÐÛØÀ "ÂÛ ÍÅ ÓÑÏÅËÈ" äëÿ ìèíèèãðû -->
		<dialog id="TimeOutMiniMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_SMALL_BG" />
			<controls>
				<control type="text" id="idHeaderText" textid="TIME_OUT" style="smallHeaderStyle" />
			
				<control type="vpanel" id="idVPanel" gap="10" valign="-1" halign="0" >
					<rect x="0" y="139" w="parent" h="500" />
					<controls>
						<control type="button" id="idReplayBtn" textid="REPLAY_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idSkipBtn" textid="SKIP_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idExitBtn" textid="BACK_TO_MAP_BTN" style="submenuBtnStyle"/>
					</controls>
				</control>
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ ÑÒÀÒÈÑÒÈÊÈ -->
		<dialog id="StatisticsMenu" movable="true" modal="true" > <!-- don't know how movable works... -->
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_BIG_BG_HACK" />
			<controls>
				<control type="text" id="idHeaderText" textid="STATISTICS" halign="0" >
					<rect x="center_parent" y="148" w="200" h="50" />
					<font name="FONT_MENU_WHITE_14" text_color="0xffffffff" />
				</control>
				
				<!-- control type="image" id="idStampImage">
					<images image="IMAGE_II_STAMP" />
					<rect x="535" y="404" w="image" h="image"/>
				</control -->
			
				<control type="vpanel" id="idVPanel" gap="19" valign="-1" halign="0" >
					<rect x="0" y="200" w="parent" h="500" />
					<controls>
						<control type="image" id="idStatisticsImage">
							<images image="IMAGE_II_TABLES" />
							<rect w="image" h="image"/>
						</control>
					</controls>
				</control>
				
				<control type="button" id="idContinueBtn" textid="OK_BTN" style="submenuBtnStyle">
					<rect x="center_parent" y="522" />
				</control>
				
				<control type="vpanel" id="idVTextPanel" gap="7" valign="-1" halign="-1" >
					<rect x="center_parent" y="216" w="400" h="300" />
					<controls>
						<control type="text" id="idResLabel" textid="RESOURCES" halign="-1" style="labelStatStyle"> <rect w="parent" h="30"/> </control>
						<control type="text" id="idTasksLabel" textid="BUILDINGS" halign="-1" style="labelStatStyle"> <rect w="parent" h="30"/> </control>
						<control type="text" id="idTimeBonusLabel" textid="TIME_BONUS" halign="-1" style="labelStatStyle"> <rect w="parent" h="30"/> </control>
					</controls>
				</control>
				<control type="vpanel" id="idValuesPanel" gap="7" valign="-1" halign="-1" >
					<rect x="center_parent" y="216" w="400" h="300" />
					<controls>
						<control type="text" id="idResValue" textid="" halign="1" style="valueStatStyle"> <rect w="400" h="30"/> </control>
						<control type="text" id="idBuildingsValue" textid="" halign="1" style="valueStatStyle"> <rect w="400" h="30"/> </control>
						<control type="text" id="idTimeBonusValue" textid="" halign="1" style="valueStatStyle"> <rect w="400" h="30"/> </control>
					</controls>
				</control>
				
				<control type="text" id="idHelpText" textid="STATISTICS_HELP_TEXT" halign="0" style="labelStatStyle">
					<rect x="center_parent" y="338" w="700" h="30"/>
				</control>
				
				<control type="vpanel" id="idVTextPanel2" gap="8" valign="-1" halign="-1" >
					<rect x="center_parent" y="386" w="400" h="100" />
					<controls>
						<control type="text" id="idLevelScoreLabel" textid="LEVEL_SCORE" halign="-1" style="labelStatStyle"> <rect w="parent" h="30"/> </control>
						<control type="text" id="idTotalLabel" textid="TOTAL" halign="-1" style="labelStatStyle"> <rect w="parent" h="30"/> </control>
					</controls>
				</control>
				<control type="vpanel" id="idValuesPanel2" gap="8" valign="-1" halign="-1" >
					<rect x="center_parent" y="385" w="400" h="100" />
					<controls>
						<control type="text" id="idLevelScoreValue" textid="" halign="1" style="valueStatStyle"> <rect w="400" h="30"/> </control>
						<control type="text" id="idTotalValue" textid="" halign="1" style="valueStatStyle"> <rect w="400" h="30"/> </control>
					</controls>
				</control>
				
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ ÐÅÊÎÐÄÎÂ -->
		<dialog id="HighscoresMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_BIG_BG" />
			<controls>
				<control type="text" id="idHeaderText" textid="HIGHSCORES_HEADER" style="bigHeaderStyle" />
			
				<control type="vpanel" id="idNamesPanel" gap="8" valign="-1" halign="0" >
					<rect x="center_parent" y="180" w="200" h="500" />
					<controls>
						<control type="text" id="idN1" textid="EMPTY" halign="-1" style="labelStatStyle"> <rect w="200" h="30"/> </control>
						<control type="text" id="idN2" textid="EMPTY" halign="-1" style="labelStatStyle"> <rect w="200" h="30"/> </control>
						<control type="text" id="idN3" textid="EMPTY" halign="-1" style="labelStatStyle"> <rect w="200" h="30"/> </control>
						<control type="text" id="idN4" textid="EMPTY" halign="-1" style="labelStatStyle"> <rect w="200" h="30"/> </control>
						<control type="text" id="idN5" textid="EMPTY" halign="-1" style="labelStatStyle"> <rect w="200" h="30"/> </control>
						<control type="text" id="idN6" textid="EMPTY" halign="-1" style="labelStatStyle"> <rect w="200" h="30"/> </control>
						<control type="text" id="idN7" textid="EMPTY" halign="-1" style="labelStatStyle"> <rect w="200" h="30"/> </control>
					</controls>
				</control>
				<control type="vpanel" id="idValuesPanel" gap="8" valign="-1" halign="0" >
					<rect x="center_parent" y="180" w="200" h="500" />
					<controls>
						<control type="text" id="idV1" textid="ZERO" halign="1" style="valueStatStyle"> <rect w="200" h="30"/> </control>
						<control type="text" id="idV2" textid="ZERO" halign="1" style="valueStatStyle"> <rect w="200" h="30"/> </control>
						<control type="text" id="idV3" textid="ZERO" halign="1" style="valueStatStyle"> <rect w="200" h="30"/> </control>
						<control type="text" id="idV4" textid="ZERO" halign="1" style="valueStatStyle"> <rect w="200" h="30"/> </control>
						<control type="text" id="idV5" textid="ZERO" halign="1" style="valueStatStyle"> <rect w="200" h="30"/> </control>
						<control type="text" id="idV6" textid="ZERO" halign="1" style="valueStatStyle"> <rect w="200" h="30"/> </control>
						<control type="text" id="idV7" textid="ZERO" halign="1" style="valueStatStyle"> <rect w="200" h="30"/> </control>
					</controls>
				</control>
				
				<control type="button" id="idOkBtn" textid="OK_BTN" style="submenuBtnStyle">
					<rect x="center_parent" y="462"/>
				</control>
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ "ÂÂÎÄ ÈÌÅÍÈ" -->
		<dialog id="EnterNameMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_SMALL_BG" />
			<controls>
				<control type="text" id="idHeaderText" textid="ENTER_NAME" style="smallHeaderStyle" />
			
				<control type="vpanel" id="idVPanel" gap="19" valign="-1" halign="0" >
					<rect x="0" y="120" w="parent" h="500" />
					<controls>
						<control type="image" id="idEditBG">
							<images image="IMAGE_MAIN_EDIT_BG" />
							<rect w="image" h="image" />
						</control>
						<control type="button" id="idOkBtn" textid="OK_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idCancelBtn" textid="CANCEL_BTN" style="submenuBtnStyle"/>
					</controls>
				</control>
				
				<control type="edit" id="idEdit" textid="EMPTY" >
					<!--images image="IMAGE_MAIN_EDIT_BG" /-->
					<font name="FONT_MENU_WHITE_14" text_color="0xffffffff" text_color_hilight="0xff000000" sel_color_hilight="0xffffffff" />
					<rect x="144" y="120" w="268" h="50" />
				</control>
			</controls>
		</dialog>
        
<!-- ÄÈÀËÎÃ "ÂÂÎÄ ÏÅÐÂÎÃÎ ÈÌÅÍÈ" -->
		<dialog id="EnterFirstNameMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_BIG_BG" />
			<controls>
				<control type="text" id="idHeaderText" textid="ENTER_NAME" style="bigHeaderStyle" />
			
				<control type="vpanel" id="idVPanel" gap="19" valign="-1" halign="0" >
					<rect x="0" y="150" w="parent" h="500" />
					<controls>
						<control type="image" id="idEditBG">
							<images image="IMAGE_MAIN_EDIT_BG" />
							<rect w="image" h="image" />
						</control>
					</controls>
				</control>
				
				<control type="edit" id="idEdit" textid="EMPTY" >
					<font name="FONT_MENU_WHITE_14" text_color="0xffffffff" text_color_hilight="0xff000000" sel_color_hilight="0xffffffff" />
					<rect x="244" y="150" w="268" h="50" />
				</control>
                
                <control type="vpanel" id="idVPanelTexts" gap="0" valign="-1" halign="-1" >
					<rect x="297" y="251" w="parent" h="500" />
					<controls>
						<control type="text" id="idHardText" textid="HARD_MODE" halign="-1" >
							<rect w="300" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control>
						<control type="text" id="idNormalText" textid="NORMAL_MODE" halign="-1" >
							<rect w="300" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control>
						<control type="text" id="idEasyText" textid="EASY_MODE" halign="-1" >
							<rect w="300" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control>
                        <control type="text" id="idRelaxText" textid="RELAX_MODE" halign="-1" >
							<rect w="300" h="50" />
							<font name="FONT_MENU_BROWN_14" text_color="0xffffffff" />
						</control>
					</controls>
				</control>
				
				<control type="vpanel" id="idVPanelChecks" gap="0" valign="-1" halign="-1" >
					<rect x="243" y="237" w="parent" h="500" />
					<controls>
						<control type="checkbox" id="idHardBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control>
						<control type="checkbox" id="idNormalBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control>
						<control type="checkbox" id="idEasyBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control>
                        <control type="checkbox" id="idRelaxBox" >
							<rect w="290" h="image" />
							<images multi_image="IMAGE_MAIN_CHECKBOX" />
						</control>
					</controls>
				</control>
                
                <control type="button" id="idOkBtn" textid="OK_BTN" style="submenuBtnStyle">
                    <rect x="center_parent" y="450" w="image" h="image" />
                </control>
                <control type="button" id="idCancelBtn" textid="CANCEL_BTN" style="submenuBtnStyle">
                    <rect x="center_parent" y="510" w="image" h="image" />
                </control>
                
			</controls>
		</dialog>
		
<!-- ÏÐÎÔÈËÈ -->
		<dialog id="ProfilesMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_BIG_BG" />
			<controls>
				<control type="text" id="idHeaderText" textid="PROFILES_HEADER" style="bigHeaderStyle" />
				
				<control type="list" id="idList" style="profilesListStyle" >
					<rect x="132" y="182" w="image" h="image" />
					<images image="IMAGE_MAIN_LIST_BG" image_sel="IMAGE_MAIN_LIST_ITEM_SEL" />
				</control>
			
				<control type="vpanel" id="idButtonsPanel" gap="19" valign="-1" halign="-1" >
					<rect x="350" y="182" w="200" h="500" />
					<controls>
						<control type="button" id="idNewBtn" textid="NEW_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idEditBtn" textid="EDIT_BTN" style="submenuBtnStyle"/>
						<control type="button" id="idRemoveBtn" textid="DELETE_BTN" style="submenuBtnStyle"/>
					</controls>
				</control>
				
				<control type="button" id="idOkBtn" textid="OK_BTN" style="submenuBtnStyle">
					<rect x="350" y="458"/>
				</control>
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ ÇÀÃÐÓÇÊÈ -->
		<dialog id="LoadLevelMenu" movable="false" >
			<rect x="0" y="0" w="screen" h="screen" />
			<images bg="IMAGE_LLOAD_LOAD_LEVEL" />
			
			<controls>
				<!-- control type="vpanel" id="idVPanel" gap="0" valign="-1" halign="0" >
					<rect x="center_parent" y="150" w="400" h="400" />
					<controls>
						<control type="image" id="idImage" >
							<rect x="center_parent" w="300" h="120" />
							<images image=""/>
						</control>
						<control type="text" id="idText" textid="" style="brownTextStyle" >
							<rect x="center_parent" w="400" h="240" />
						</control>
					</controls>
				</control -->
				<control type="text" id="idLevel" textid="" valign="0" style="bigHeaderExtraStyle" >
					<rect y="135" />
				</control>
				
				<control type="image" id="idMinigameImage1" >
					<rect x="center_parent" y="205" w="600" h="97" />
				</control>
				<control type="image" id="idMinigameImage2" >
					<rect x="center_parent" y="302" w="600" h="97" />
				</control>
				<control type="image" id="idMinigameImage3" >
					<rect x="center_parent" y="399" w="600" h="97" />
				</control>
				
				<control type="text" id="idMinigameText1" textid="" style="brownTextLeftStyle" >
					<rect x="center_parent" y="205" w="430" h="97" />
				</control>
				<control type="text" id="idMinigameText2" textid="" style="brownTextLeftStyle" >
					<rect x="center_parent" y="302" w="430" h="97" />
				</control>
				<control type="text" id="idMinigameText3" textid="" style="brownTextLeftStyle" >
					<rect x="center_parent" y="399" w="430" h="97" />
				</control>

				<control type="text" id="idPretext" textid="NONE_TEXT" valign="0" style="brownTextStyle" >
					<rect x="center_parent" y="180" w="500" h="180" />
				</control>
				<control type="text" id="idTask" textid="INGAME_TASKS" valign="0" style="brownTextStyle" >
					<rect x="center_parent" y="343" w="250" h="30" />
				</control>
			
				<control type="vpanel" id="idTasksPanel" gap="0" valign="-1" halign="0" >
					<rect x="center_parent" y="373" w="300" h="300" />
					<controls>
						<control type="text" id="idTasks" textid="" style="brownTasksTextStyle"/>
					</controls>
				</control>
				
				
				<control type="progressbar" id="idProgressBar" textid="LEVEL_LOADING" >
					<rect x="center_parent" y="518" w="image" h="image" />
					<images multi_image="IMAGE_LLOAD_BAR_LOADING" />
					<font name="FONT_MENU_WHITE_14" text_color="0xffffffff" />
				</control>
				
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ ÊÎÌÈÊÑÀ -->
		<dialog id="ComicsMenu" movable="false" >
			<rect x="0" y="0" w="screen" h="screen" />
			<images bg="IMG_C_COVER" />
			
			<controls>
				<control type="text" id="idText1" textid="" style="brownTextStyle" valign="0" >
					<rect x="center_parent" y="526" w="820" h="84" />
				</control>
				
				<control type="text" id="idText2" textid="" style="brownTextStyle" valign="0" >
					<rect x="center_parent" y="526" w="820" h="84" />
				</control>
				
				<control type="button" id="idNextBtn" textid="NEXT_COMICS" style="submenuBtnStyle" >
					<rect x="967" y="690" anchor="top_right"/>
				</control>
				
				<control type="button" id="idSkipBtn" textid="SKIP_COMICS" style="submenuBtnStyle" >
					<rect x="57" y="690"/>
				</control>
			</controls>
		</dialog>
		
<!-- TASKS MENU -->
		<dialog id="TasksMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_BIG_BG" />
			<controls>
				<control type="image" id="idCoverImg" >
					<rect x="center_parent" y="70" w="image" h="image" />
					<images image="IMAGE_II_BIG_COVER"/>
				</control>
				<!--control type="image" id="idCrystalImg" >
					<rect x="center_parent" y="95" w="image" h="image" />
					<images image="IMAGE_II_CRYSTAL"/>
				</control-->
				
				<control type="text" id="idPretext" textid="NONE_TEXT" valign="0" style="brownTextStyle" >
					<rect x="center_parent" y="70" w="500" h="180" />
				</control>
				<control type="text" id="idTask" textid="INGAME_TASKS" valign="0" style="brownTextStyle" >
					<rect x="center_parent" y="250" w="250" h="30" />
				</control>
			
				<control type="vpanel" id="idTasksPanel" gap="0" valign="-1" halign="0" >
					<rect x="center_parent" y="280" w="300" h="300" />
					<controls>
						<control type="text" id="idTasks" textid="" style="brownTasksTextStyle"/>
					</controls>
				</control>
				
				<control type="button" id="idContinueBtn" textid="CONTINUE_BTN" style="submenuBtnStyle">
					<rect x="center_parent" y="462"/>
				</control>
			</controls>
		</dialog>
		
<!-- ITEM INFO MENU -->
		<dialog id="ItemInfoMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_SMALL_BG" />
			<controls>
			
				<control type="vpanel" id="idTasksPanel" gap="0" valign="-1" halign="0" >
					<rect x="center_parent" y="75" w="400" h="400" />
					<controls>
						<control type="image" id="idImage" >
							<!-- rect x="center_parent" y="40" w="300" h="120" / -->
							<rect x="center_parent" w="300" h="120" />
							<!--images image=""/-->
						</control>
						<control type="text" id="idTask" textid="NONE_TEXT" style="brownTextStyle" >
							<!-- rect x="center_parent" y="170" w="400" h="70" / -->
							<rect x="center_parent" w="400" h="70" />
						</control>
						<control type="button" id="idContinueBtn" textid="CONTINUE_BTN" style="submenuBtnStyle">
							<!-- rect x="center_parent" y="258"/ -->
							<rect x="center_parent" />
						</control>
					</controls>
				</control>
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ "" -->
		<dialog id="HelpMenu" next="HelpMenu_2" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_SMALL_BG" />
			<controls>
				<control type="text" id="idHeaderText" textid="INGAME_HELP_TXT_01" style="brownTextStyle">
					<rect x="center_parent" y="80" w="320" h="180" />
				</control>
			
				<control type="button" id="idContinueBtn" textid="CONTINUE_BTN" style="submenuBtnStyle">
					<rect x="center_parent" y="258" w="image" h="image" />
				</control>
			</controls>
		</dialog>
		
		<dialog id="HelpMenu_2" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_SMALL_BG" />
			<controls>
				<control type="text" id="idHeaderText" textid="INGAME_HELP_TXT_02" style="brownTextStyle">
					<rect x="center_parent" y="80" w="320" h="180" />
				</control>
			
				<control type="button" id="idContinueBtn" textid="CONTINUE_BTN" style="submenuBtnStyle">
					<rect x="center_parent" y="258" w="image" h="image" />
				</control>
			</controls>
		</dialog>
        
        
        <!-- YesNo Back dialog -->
        <dialog name="YesNoBackMenu" >
            <rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_SMALL_BG" />
            
            <control type="text" textid="SURE_BACK_TO_MAP" id="idText" valign="0" style="brownTextStyle" >
                <rect x="center_parent" y="150" w="200" h="80" />
            </control>
            <control type="button" id="idYesBtn" text="YES_BTN" style="submenuBtnStyle" >
                <rect x="center_parent" y="240" w="image" h="image" />
            </control>
            <control type="button" id="idNoBtn" text="NO_BTN" style="submenuBtnStyle" >
                <rect x="center_parent" y="280" w="image" h="image" />
            </control>
        </dialog>
		
		
		
<!-- ÄÈÀËÎÃ ÏÅÐÅÄ ÏÅÐÂÎÉ ÌÈÍÈÈÃÐÎÉ -->
		<dialog id="BlastBeforeMenu" movable="false" modal="true" > <!-- don't know how movable works... -->
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_BIG_BG" />
			<controls>
			
				<control type="image" id="idCoverImg" >
					<rect x="center_parent" y="70" w="image" h="image" />
					<images image="IMAGE_II_BIG_COVER"/>
				</control>

				<control type="text" id="idText" textid="BLAST_BEFORE_TEXT" valign="0" style="brownTextStyle">
					<rect x="center_parent" y="320" w="500" h="150" />
				</control>
				
				<control type="button" id="idContinueBtn" textid="CONTINUE_BTN" style="submenuBtnStyle">
					<rect x="center_parent" y="458" />
				</control>
				
				
				
			</controls>
		</dialog>
		
<!-- ÄÈÀËÎÃ ÑÎÎÁÙÅÍÈß -->
		<dialog id="MessageMenu" movable="false" modal="true" >
			<rect x="center_screen" y="center_screen" w="image" h="image" />
			<images bg="IMAGE_MAIN_SMALL_BG" />
			<controls>
				<control type="text" id="idHeaderText" textid="INGAME_HELP_TXT_01" style="brownTextStyle" valign="0">
					<rect x="center_parent" y="80" w="320" h="180" />
				</control>
			
				<control type="button" id="idOkBtn" textid="OK_BTN" style="submenuBtnStyle">
					<rect x="center_parent" y="258" w="image" h="image" />
				</control>
			</controls>
		</dialog>
		
	</dialogs>
</root>