
<ui>
	<css name="$TextNano">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="13"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextSecondary">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="13"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextSecondaryNoFilter">
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
		<fontFamily value="$WWSDefaultFont"/>
		<fontSize value="13"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextSecondaryBold">
		<fontFamily value="$WWSDefaultFontBold"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="13"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextDefault">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="15"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextDefaultBold">
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
		<fontFamily value="$WWSDefaultFontBold"/>
		<fontSize value="15"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextHeaderBold">
		<fontFamily value="$WWSDefaultFontBold"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="17"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextHeader">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="19"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextHeaderWhite">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="19"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFFFFFF"/>
	</css>
	<css name="$TextHeaderHugeWhite">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="30"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFFFFFF"/>
	</css>
	<css name="$TextHeaderBigDefault">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="17"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextHeaderBigTeamKiller">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="17"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFF96CA"/>
	</css>
	<css name="$TextHeaderBigNegative">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="17"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFF6600"/>
	</css>
	<css name="$TextHeaderBigWhite">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="17"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFFFFFF"/>
	</css>
	<css name="$TextAccent">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="25"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextAccentBold">
		<fontFamily value="$WWSDefaultFontBold"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="25"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextAccentSecond">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="60"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextHeaderUnready">
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
		<fontFamily value="$WWSDefaultFont"/>
		<fontSize value="25"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFF9933"/>
	</css>
	<css name="$TextDefaultWhite">
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
		<fontFamily value="$WWSDefaultFont"/>
		<fontSize value="15"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFFFFFF"/>
	</css>
	<css name="$TextSmallCompareNegative">
		<fontFamily value="$WWSDefaultFont"/>
		<textColor value="0xFF6600"/>
		<fontSize value="13"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
	</css>
	<css name="$TextSmallWhite">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="13"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFFFFFF"/>
	</css>
	<css name="$TextSmallGold">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="13"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFFCC66"/>
	</css>
	<css name="$TextDefaultExpSmall">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="13"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$TextSmallNegative">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="13"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFF6600"/>
	</css>
	<css name="$TextTurquoiseQuests">
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
		<fontFamily value="$WWSDefaultFont"/>
		<fontSize value="17"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0x00cccc"/>
	</css>
	<css name="$TextLargeHeader">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="21"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFFFFFF"/>
	</css>
	<css name="$TextLargeHeaderBold">
		<fontFamily value="$WWSDefaultFontBold"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="21"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFFFFFF"/>
	</css>
	<css name="$TextLargeHeaderBlack">
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
		<fontFamily value="$WWSDefaultFont"/>
		<fontSize value="21"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0x08222a"/>
	</css>
	<css name="$TextThumbelina">
		<fontFamily value="$WWSDefaultFont"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="7"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFFFFFF"/>
	</css>
	<css name="$TextAccentWhite">
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
		<fontFamily value="$WWSDefaultFont"/>
		<fontSize value="25"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFFFFFF"/>
	</css>
	<css name="$TextDefaultTech">
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
		<fontFamily value="$WWSDefaultFont"/>
		<fontSize value="15"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0x9CBABA"/>
	</css>
	<css name="$BlackLabel">
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
		<fontFamily value="$ZurichCondensedBold"/>
		<fontSize value="13"/>
		<selectable value="false"/>
		<textColor value="0x08222a"/>
	</css>
	<css name="$TextHeaderWhiteBold">
		<fontFamily value="$WWSDefaultFontBold"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="19"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFFFFFF"/>
	</css>
	<css name="$ResultsReward">
		<fontFamily value="$WWSDefaultFontBold"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="60"/>
		<letterSpacing value="-3"/>
		<marginRight value="2px"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFFFFFF"/>
	</css>
	<css name="$TextAccentGreyBold">
		<fontFamily value="$WWSDefaultFontBold"/>
		<textColor value="0xDDDDDD"/>
		<fontSize value="60"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
	</css>
	<css name="$TextAccentBoldAccountLevel1">
		<fontFamily value="$WWSDefaultFontBold"/>
		<textColor value="0xFFFFFF"/>
		<fontSize value="36"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
	</css>
	<css name="$TextAccentBoldAccountLevel2">
		<fontFamily value="$WWSDefaultFontBold"/>
		<textColor value="0xFFFFFF"/>
		<fontSize value="30"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
	</css>
	<css name="$TextMouseDisable">
		<mouseChildren value="false"/>
		<selectable value="false"/>
		<mouseEnabled value="false"/>
	</css>
	<css name="$MouseEnable">
		<hitTest value="true"/>
		<mouseChildren value="true"/>
		<mouseEnabled value="true"/>
	</css>
	<css name="$FontFamilyDefault">
		<fontFamily value="$WWSDefaultFont"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
	</css>
	<css name="$FontFamilyDefaultBold">
		<fontFamily value="$WWSDefaultFontBold"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
	</css>
	<css name="$Bold">
		<fontFamily value="$WWSDefaultFontBold"/>
	</css>
	<css name="$FontColorDefault">
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$FontColorGrey">
		<textColor value="0xDDDDDD"/>
	</css>
	<css name="$FontColorStrongGrey">
		<textColor value="0x636363"/>
	</css>
	<css name="$FontColorWhite">
		<textColor value="0xFFFFFF"/>
	</css>
	<css name="$FontColorBlueish">
		<textColor value="0x9CBABA"/>
	</css>
	<css name="$FontColorStrongBlueish">
		<textColor value="0x758b8b"/>
	</css>
	<css name="$FontColorDarkBlueish">
		<textColor value="0x2B393A"/>
	</css>
	<css name="$FontColorSpecialButton">
		<textColor value="0xFFE8D3"/>
	</css>
	<css name="$FontColorTurquoise">
		<textColor value="0x00cccc"/>
	</css>
	<css name="$FontColorBuoyancy">
		<textColor value="0x13C9F7"/>
	</css>
	<css name="$FontColorHealth">
		<textColor value="0x4ce8aa"/>
	</css>
	<css name="$FontColorGolden">
		<textColor value="0xFFCC66"/>
	</css>
	<css name="$FontColorGold">
		<textColor value="0xFFCC66"/>
	</css>
	<css name="$FontColorFreeExp">
		<textColor value="0xCCFF99"/>
	</css>
	<css name="$FontColorExp">
		<textColor value="0xEEEEEE"/>
	</css>
	<css name="$FontColorUnready">
		<textColor value="0xFF9933"/>
	</css>
	<css name="$FontColorAlmostBlack">
		<textColor value="0x08222a"/>
	</css>
	<css name="$FontColorTeamkiller">
		<textColor value="0xFF96CA"/>
	</css>
	<css name="$FontColorTTK">
		<textColor value="0xc8751c"/>
	</css>
	<css name="$FontColorParty">
		<textColor value="0x00cccc"/>
	</css>
	<css name="$FontColorDefaultButtonUp">
		<textColor value="0xc7e2e2"/>
	</css>
	<css name="$FontColorComparePositive">
		<textColor value="0x4CE8AA"/>
	</css>
	<css name="$FontColorCompareNegative">
		<textColor value="0xFF6600"/>
	</css>
	<css name="$FontColorMercenaries">
		<textColor value="0x4ce8aa"/>
	</css>
	<css name="$FontSizeThumbelina">
		<fontSize value="7"/>
	</css>
	<css name="$FontSizeNano">
		<fontSize value="11"/>
	</css>
	<css name="$FontSizeSmall">
		<fontSize value="13"/>
	</css>
	<css name="$FontSizeDefault">
		<fontSize value="15"/>
	</css>
	<css name="$FontSizeLarge">
		<fontSize value="17"/>
	</css>
	<css name="$FontSizeHeader6">
		<fontSize value="19"/>
	</css>
	<css name="$FontSizeHeader5">
		<fontSize value="21"/>
	</css>
	<css name="$FontSizeHeader4">
		<fontSize value="23"/>
	</css>
	<css name="$FontSizeHeader3">
		<fontSize value="25"/>
	</css>
	<css name="$FontSizeHeader2">
		<fontSize value="30"/>
	</css>
	<css name="$FontSizeHeader1">
		<fontSize value="36"/>
	</css>
	<css name="$FontAccentSize2">
		<fontSize value="50"/>
	</css>
	<css name="$FontAccentSize1">
		<fontSize value="60"/>
	</css>
	<css name="$LetterSpacingSmall">
		<letterSpacing value="0.8"/>
	</css>
	<css name="$InvertedTextEffect">
		<dropShadowFilter value="0 90 0xffffff 1.0 3.0 3.0 0.3"/>
		<textColor value="0x08222a"/>
	</css>
	<css name="$FontGlowFilterBright">
		<dropShadowFilter value="1 90 0xffffff 0.3 5.0 3.0 0.9 2"/>
	</css>
	<css name="$BlockGlowFilterBright">
		<dropShadowFilter value="1 90 0xffffff 0.3 4.0 3.0 0.2 2"/>
	</css>
	<css name="$GlowDisabler">
		<dropShadowFilter value="0 0 0x000000 0 0 0 0 0"/>
	</css>
	<css name="$DropShadowDisabler">
		<dropShadowFilter value="0 0 0x000000 0 0 0 0 0"/>
	</css>
	<css name="$FontDropShadowFilter1">
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
	</css>
	<css name="$FontDropShadowFilterStrong">
		<dropShadowFilter value="1 90 0x08222a 0.8 3 3 1.5"/>
	</css>
	<css name="$FontDropShadowWhite">
		<dropShadowFilter value="0 90 0xffffff 1.0 3.0 3.0 0.3"/>
	</css>
	<css name="$BlockDropShadowFilter1">
		<dropShadowFilter value="5 110 0x000000 0.6 6 6 0.6"/>
	</css>
	<css name="$BlockDropShadowFilter2">
		<dropShadowFilter value="3 110 0x000000 0.6 6 6 0.6"/>
	</css>
	<css name="$ComplaintMenuListItemBattleMargins">
		<marginLeft value="2px"/>
		<marginRight value="2px"/>
	</css>
	<css name="$ComplaintMenuListItemPostbattleMargins">
		<marginLeft value="1px"/>
		<marginRight value="1px"/>
	</css>
	<css name="$FontEarsBold">
        <fontFamily value="$WWSDefaultFontBold"/>
		<mouseEnabled value="false"/>
		<mouseChildren value="false"/>
		<fontSize value="13"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xEEEEEE"/>
	</css>
	<block className="MenuTooltipBackground">
		<styleClass value="$FullsizeAbsolute"/>
		<block>
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="instance" value="'DeclareBlurLayer'; _isInBattle ?  null : {}"/>
			<bind name="instance" value="'BlurMap'; _isInBattle ? null : {}"/>
		</block>
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
		<block className="contrast_panel" type="native">
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="visible" value="(optionData.contrast == true || _isInBattle == true)"/>
			<style>
				<marginTop value="-2px"/>
				<marginBottom value="-2px"/>
			</style>
		</block>
		<block>
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="visible" value="!(_isInBattle)"/>
			<style>
				<marginTop value="-1px"/>
				<marginBottom value="-1px"/>
			</style>
			<block className="hint_panel" type="native">
				<styleClass value="$FullsizeAbsolute"/>
			</block>
		</block>
	</block>
	<block className="UIListPlayerContextMenu">
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'slimClientData'"/>
		<styleClass value="$DefaultMenuBehaviour"/>
		<styleClass value="$ContextMenuDimentions"/>
		<block>
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="instance" value="'MenuTooltipBackground'; {_isInBattle: _isBattleStats}"/>
		</block>
		<bind name="watch" value="'isEnemyPlayer'; (_player.relation == 2)"/>
		<bind name="watch" value="'isDynamicDivisionsEnabled'; (((_battleType == BattleTypes.COOPERATIVE_BATTLE) || (_battleType == BattleTypes.RANDOM_BATTLE)) &amp;&amp;
												slimClientData.isFull)"/>
		<block>
			<style>
				<width value="100%"/>
			</style>
			<bind name="class" value="_isBattleStats ? '$ComplaintMenuListItemBattleMargins' : '$ComplaintMenuListItemPostbattleMargins'"/>
			<block>
				<style>
					<width value="100%"/>
				</style>
				<bind name="visible" value="!(_isBattleLoading) &amp;&amp; _complaintsAvailable"/>
				<block>
					<bind name="name" value="'id_complain'"/>
					<styleClass value="$ContextMenuListItem"/>
					<block className="MenuItem">
						<styleClass value="$Fullsize"/>
						<block className="dock_submenu_item" type="native">
							<styleClass value="$FullsizeAbsolute"/>
						</block>
						<block type="text">
							<styleClass value="$TextDefault"/>
							<styleClass value="$MiddleVAligned"/>
							<styleClass value="$ContextMenuListItemContent"/>
							<bind name="text" value="'IDS_COMPLAIN'"/>
						</block>
					</block>
					<block className="button_expand_h" type="native">
						<style>
							<position value="absolute"/>
							<right value="6px"/>
						</style>
						<styleClass value="$MouseDisable"/>
						<styleClass value="$MiddleVAligned"/>
					</block>
					<bind name="tooltip" value="'ComplaintSubMenu'; {_player: _player, _arenaId: _arenaId, _battleType: _battleType, _playerDbId: _playerDbId,
													_isInBattle: _isBattleStats, _isInPBS: _isInPBS}; TooltipBehaviour.submenu"/>
				</block>
				<block>
					<bind name="name" value="'id_praise'"/>
					<styleClass value="$ContextMenuListItem"/>
					<block className="MenuItem">
						<styleClass value="$Fullsize"/>
						<block className="dock_submenu_item" type="native">
							<styleClass value="$FullsizeAbsolute"/>
						</block>
						<block type="text">
							<styleClass value="$TextDefault"/>
							<styleClass value="$MiddleVAligned"/>
							<styleClass value="$ContextMenuListItemContent"/>
							<bind name="text" value="'IDS_PRAISE'"/>
						</block>
					</block>
					<block className="button_expand_h" type="native">
						<style>
							<position value="absolute"/>
							<right value="6px"/>
						</style>
						<styleClass value="$MouseDisable"/>
						<styleClass value="$MiddleVAligned"/>
					</block>
					<bind name="tooltip" value="'PraiseSubMenu'; {_player: _player, _arenaId: _arenaId, _battleType: _battleType, _playerDbId: _playerDbId,
												 _isInBattle: _isBattleStats, _isInPBS: _isInPBS}; TooltipBehaviour.submenu"/>
				</block>
			</block>
			<bind name="serverTime" value="'serverTime'"/>
			<bind name="controller" value="lesta.dialogs.controllers.CollectionController; 'dynamicDivisionsData'; 'id'; _selfPlayer.divisionId; 'selfPlayerDivisionData'"/>
			<bind name="watch" value="'isFreePlacesInDivision'; ((selfPlayerDivisionData[0].staff.length + selfPlayerDivisionData[0].inPortParticipantsCount) &lt; 3)"/>
			<bind name="timeFormat" value="(_player.inviteCooldown - serverTime); 'mm:ss'; 'cooldownTimeText'"/>
			<bind name="watch" value="'invitationDisableReason'; (_player.isLeaver)						? 'IDS_INVITATION_DISABLE_REASON_PLAYER_IS_OUT_OF_BATTLE':
												(_player.division != 0)					? 'IDS_INVITATION_DISABLE_REASON_ALREADY_IN_DIVISION' :
												!(_selfPlayer.isAlive)					? 'IDS_DIVISION_MANAGEMENT_LOCKED_FOR_DESTROYED' :
												!(_player.isAlive)						? 'IDS_INVITATION_DISABLE_REASON_DESTROYED' :
												!(isFreePlacesInDivision)				? 'IDS_INVITATION_DISABLE_REASON_NO_FREE_PLACES' :
												!(_player.invitationsEnabled)			? 'IDS_INVITATION_DISABLE_REASON_INVITATIONS_DISABLED' :
												(_player.inviteCooldown &gt; serverTime)	? (tr('IDS_WAIT_TIMEOUT_TO_INVITE_TO_DIVISION')+' '+cooldownTimeText)
																						: 'no_reason'"/>
			<bind name="controller" value="lesta.dialogs.controllers.CollectionController; 'playersInvitedToDivision'; _player.name; 'playerInvitationData'"/>
			<bind name="watch" value="'isDivisionControlsEnable';	isDynamicDivisionsEnabled &amp;&amp;
													(_isInPBS != true) &amp;&amp;
													!(isEnemyPlayer) &amp;&amp;
													((_selfPlayer.isDivisionCommander) || (_selfPlayer.divisionId == 0))"/>
			<block>
				<bind name="visible" value="isDivisionControlsEnable"/>
				<style>
					<width value="100%"/>
				</style>
				<block>
					<bind name="visible" value="_selfPlayer.isDivisionCommander &amp;&amp; _player.isInSameDivision"/>
					<style>
						<width value="100%"/>
					</style>
					<bind name="style" value="'alpha'; (_selfPlayer.isAlive) ? 1 : 0.5"/>
					<block>
						<styleClass value="$ContextMenuListItem"/>
						<block className="MenuItem">
							<styleClass value="$Fullsize"/>
							<block className="dock_submenu_item" type="native">
								<styleClass value="$FullsizeAbsolute"/>
							</block>
							<block type="text">
								<styleClass value="$TextDefault"/>
								<styleClass value="$MiddleVAligned"/>
								<styleClass value="$ContextMenuListItemContent"/>
								<bind name="text" value="'IDS_APPOINT_PLAYER_TO_COMMANDER'"/>
							</block>
						</block>
						<bind name="action" value="'click'; 'changeCommander'; {playerId: _player.id}"/>
					</block>
					<block>
						<styleClass value="$ContextMenuListItem"/>
						<block className="MenuItem">
							<styleClass value="$Fullsize"/>
							<block className="dock_submenu_item" type="native">
								<styleClass value="$FullsizeAbsolute"/>
							</block>
							<block type="text">
								<styleClass value="$TextDefault"/>
								<styleClass value="$MiddleVAligned"/>
								<styleClass value="$ContextMenuListItemContent"/>
								<bind name="text" value="'IDS_EXCLUDE_PLAYER_OUT_OF_DIVISION'"/>
							</block>
						</block>
						<bind name="action" value="'click'; 'kickPlayerFromDivision'; {playerId: _player.id}"/>
					</block>
					<block>
						<bind name="visible" value="!(_selfPlayer.isAlive)"/>
						<styleClass value="$FullsizeAbsolute"/>
						<style>
							<backgroundColor value="0x0100000"/>
						</style>
						<bind name="tooltip" value="'SimpleWarningTooltip'; !(_selfPlayer.isAlive) ? {_text: tr('IDS_DIVISION_MANAGEMENT_LOCKED_FOR_DESTROYED'), _isInBattle: _isBattleStats} : null"/>
					</block>
				</block>
				<block>
					<bind name="visible" value="!(_player.isInSameDivision)"/>
					<style>
						<width value="100%"/>
					</style>
					<block>
						<bind name="visible" value="(!(_player.isInSameDivision) &amp;&amp; !(playerInvitationData))"/>
						<bind name="style" value="'alpha'; (invitationDisableReason == 'no_reason') ? 1 : 0.5"/>
						<bind name="tooltip" value="'SimpleWarningTooltip'; (invitationDisableReason != 'no_reason') ? {_text: invitationDisableReason, _isInBattle: _isBattleStats} : null"/>
						<style>
							<backgroundColor value="0x01000000"/>
						</style>
						<styleClass value="$ContextMenuListItem"/>
						<block>
							<styleClass value="$Fullsize"/>
							<bind name="style" value="'hitTest';  (invitationDisableReason == 'no_reason') ? true : false"/>
							<block className="MenuItem">
								<styleClass value="$Fullsize"/>
								<block className="dock_submenu_item" type="native">
									<styleClass value="$FullsizeAbsolute"/>
								</block>
								<block type="text">
									<styleClass value="$TextDefault"/>
									<styleClass value="$MiddleVAligned"/>
									<styleClass value="$ContextMenuListItemContent"/>
									<bind name="text" value="'IDS_INVITE_IN_DIVISION'"/>
								</block>
							</block>
						</block>
						<bind name="action" value="'click'; (invitationDisableReason == 'no_reason') ? 'inviteToDivision' : ''; {playerId: _player.id, playerName: _player.name, inviteType: InviteType.COMMON}"/>
					</block>
					<block>
						<bind name="visible" value="!!(playerInvitationData)"/>
						<styleClass value="$ContextMenuListItem"/>
						<block className="MenuItem">
							<styleClass value="$Fullsize"/>
							<block className="dock_submenu_item" type="native">
								<styleClass value="$FullsizeAbsolute"/>
							</block>
							<block type="text">
								<styleClass value="$TextDefault"/>
								<styleClass value="$MiddleVAligned"/>
								<styleClass value="$ContextMenuListItemContent"/>
								<bind name="text" value="'IDS_RECALL_INVITATION'"/>
							</block>
						</block>
						<bind name="action" value="'click'; 'revokeInvitationToDivision'; {id: playerInvitationData.id}"/>
					</block>
				</block>
			</block>
			<block>
				<bind name="visible" value="(_isBattleStats == true)"/>
				<bind name="name" value="'id_mute'"/>
				<style>
					<width value="100%"/>
				</style>
				<block className="dock_submenu_item" type="native">
					<styleClass value="$FullsizeAbsolute"/>
					<bind name="action" value="'buttonClick'; _player.mute ? 'unmuteUser' : 'muteUser'; {id: _player.id}"/>
				</block>
				<block>
					<style>
						<width value="100%"/>
						<marginLeft value="7px"/>
						<hitTest value="false"/>
					</style>
					<block className="icon_text_chat_small" type="native">
						<style>
							<top value="6px"/>
							<marginRight value="4px"/>
						</style>
						<bind name="gotoAndStop!" value="(_player.mute ? 'muted' : 'on')"/>
					</block>
					<block type="text">
						<style>
							<width value="100%"/>
							<marginBottom value="3px"/>
							<hitTest value="false"/>
							<marginRight value="4px"/>
							<leading value="-3"/>
						</style>
						<styleClass value="$TextDefault"/>
						<bind name="class" value="_player.mute	? '$FontColorUnready'
												: '$FontColorWhite'"/>
						<bind name="text" value="_player.mute ? 'IDS_UNMUTE_PLAYER_TEXT_CHAT' : 'IDS_MUTE_PLAYER_TEXT_CHAT'"/>
					</block>
					<style>
						<flow value="horizontal"/>
					</style>
				</block>
			</block>
			<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'VoiceChatState'"/>
			<bind name="watch" value="'canBeInChat';	((_battleType == BattleTypes.CLUB_BATTLE) &amp;&amp; VoiceChatState.enabled &amp;&amp; !(isEnemyPlayer)) ||
									((_player.isInSameDivision &amp;&amp; VoiceChatState.enabled) &amp;&amp; ((_battleType == BattleTypes.RANDOM_BATTLE) ||
																							 (_battleType == BattleTypes.COOPERATIVE_BATTLE) ||
																							 (_battleType == BattleTypes.PVE_BATTLE)))"/>
			<block>
				<bind name="visible" value="(canBeInChat &amp;&amp; !(_isInPBS))"/>
				<bind name="name" value="'id_mute_voice'"/>
				<style>
					<width value="100%"/>
				</style>
				<bind name="watch" value="'voiceChatMenuText'; 	!(_player.isInVoiceChat) 	? 'IDS_PLAYER_IS_NOT_AVAILABLE_IN_VOICE_CHAT' :
												_player.isMuted				? 'IDS_UNMUTE_PLAYER_VOICE_CHAT'
																			: 'IDS_MUTE_PLAYER_VOICE_CHAT'"/>
				<bind name="watch" value="'state'; 	!(_player.isInVoiceChat)	? 'disabled' :
									_player.isMuted				? 'muted'
																: 'speak'"/>
				<bind name="style" value="'alpha'; !(_player.isInVoiceChat)	? 0.9 : 1"/>
				<bind name="style" value="'hitTest'; !(_player.isInVoiceChat)	? false : true"/>
				<block className="dock_submenu_item" type="native">
					<styleClass value="$FullsizeAbsolute"/>
					<bind name="action" value="'buttonClick'; 'toggleVoice'; {playerName: _player.pureName, nickName: _player.name}"/>
				</block>
				<block>
					<style>
						<width value="100%"/>
						<marginLeft value="7px"/>
						<hitTest value="false"/>
					</style>
					<block className="icon_voice_chat_small" type="native">
						<style>
							<marginTop value="6px"/>
							<marginRight value="4px"/>
						</style>
						<bind name="gotoAndStop!" value="state"/>
					</block>
					<block type="text">
						<style>
							<width value="100%"/>
							<marginBottom value="3px"/>
							<hitTest value="false"/>
							<marginRight value="4px"/>
							<leading value="-3"/>
						</style>
						<styleClass value="$TextDefault"/>
						<bind name="class" value="	!(_player.isInVoiceChat)	? '$FontColorUnready' :
									_player.isMuted				? '$FontColorUnready'
																: '$FontColorWhite'"/>
						<bind name="text" value="voiceChatMenuText"/>
					</block>
					<style>
						<flow value="horizontal"/>
					</style>
				</block>
			</block>
		</block>
		<block>
			<bind name="visible" value=" !(!(_isBattleLoading) &amp;&amp; _complaintsAvailable) &amp;&amp;
						!(isDivisionControlsEnable &amp;&amp; ((_selfPlayer.isDivisionCommander &amp;&amp; _player.isInSameDivision) || !(_player.isInSameDivision))) &amp;&amp;
						!(_isBattleStats == true) &amp;&amp;
						!(canBeInChat &amp;&amp; !(_isInPBS))"/>
			<style>
				<width value="100%"/>
			</style>
			<block type="text">
				<style>
					<width value="100%"/>
					<marginLeft value="7px"/>
					<marginBottom value="3px"/>
					<hitTest value="false"/>
					<marginRight value="4px"/>
					<leading value="-3"/>
					<alpha value="0.7"/>
				</style>
				<styleClass value="$TextDefault"/>
				<bind name="text" value="'IDS_NO_AVAILABLE_ACTIONS'"/>
			</block>
		</block>
	</block>
	<block className="ComplaintSubMenu">
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'evaluationLimits'"/>
		<styleClass value="$DefaultMenuBehaviour"/>
		<style>
			<width value="270px"/>
		</style>
		<bind name="watch" value="'isEvaluationDisabledReason';	(_battleType == BattleTypes.CLUB_BATTLE)		? 'IDS_COMPLAIN_DISABLED_FOR_CLUB_BATTLES' :
												(_battleType == BattleTypes.TRAINING_BATTLE)	? 'IDS_CUSTOM_ROOM' :
												(evaluationLimits.complain == 0)				? 'IDS_DAY_LIMIT_IS_OFF' :
												_player.isInSameDivisionOnStart					? 'IDS_COMPLAIN_DISABLED_FOR_DIVISION_MEMBERS'
																								: false"/>
		<block>
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="instance" value="'MenuTooltipBackground'; {_isInBattle: _isInBattle}"/>
		</block>
		<block>
			<style>
				<width value="100%"/>
			</style>
			<bind name="class" value="_isInBattle ? '$ComplaintMenuListItemBattleMargins' : '$ComplaintMenuListItemPostbattleMargins'"/>
			<block>
				<bind name="name" value="'id_complain_bot'"/>
				<bind name="style" value="'alpha'; isEvaluationDisabledReason ? 0.5 : 1"/>
				<styleClass value="$ContextMenuListItem"/>
				<bind name="action" value="'buttonClick'; 'sendEvaluation'; _isInPBS ? {type: EvaluationType.DENUNCIATION, topic: EvaluationTopic.BOT, accountDBID: _playerDbId, arenaId: _arenaId}
																	: {type: EvaluationType.DENUNCIATION, topic: EvaluationTopic.BOT, nickname: _player.name, arenaId: _arenaId}"/>
				<block className="dock_submenu_item" type="native">
					<bind name="style" value="'hitTest'; isEvaluationDisabledReason ? false : true"/>
					<styleClass value="$FullsizeAbsolute"/>
				</block>
				<block type="text">
					<styleClass value="$TextDefault"/>
					<styleClass value="$MiddleVAligned"/>
					<style>
						<maxWidth value="252"/>
						<marginLeft value="6px"/>
					</style>
					<text value="IDS_BOT"/>
				</block>
			</block>
			<block>
				<bind name="name" value="'id_complain_bad_player'"/>
				<bind name="style" value="'alpha'; isEvaluationDisabledReason ? 0.5 : 1"/>
				<styleClass value="$ContextMenuListItem"/>
				<bind name="action" value="'buttonClick'; 'sendEvaluation'; _isInPBS ? {type: EvaluationType.DENUNCIATION, topic: EvaluationTopic.PLAY, accountDBID: _playerDbId, arenaId: _arenaId}
																	: {type: EvaluationType.DENUNCIATION, topic: EvaluationTopic.PLAY, nickname: _player.name, arenaId: _arenaId}"/>
				<block className="dock_submenu_item" type="native">
					<bind name="style" value="'hitTest'; isEvaluationDisabledReason ? false : true"/>
					<styleClass value="$FullsizeAbsolute"/>
				</block>
				<block type="text">
					<styleClass value="$TextDefault"/>
					<styleClass value="$MiddleVAligned"/>
					<style>
						<maxWidth value="252"/>
						<marginLeft value="6px"/>
					</style>
					<text value="IDS_BAD_PLAYER"/>
				</block>
			</block>
			<block>
				<bind name="name" value="'id_complain_bad_behaviour'"/>
				<bind name="style" value="'alpha'; isEvaluationDisabledReason ? 0.5 : 1"/>
				<styleClass value="$ContextMenuListItem"/>
				<bind name="action" value="'buttonClick'; 'sendEvaluation'; _isInPBS ? {type: EvaluationType.DENUNCIATION, topic: EvaluationTopic.CHAT, accountDBID: _playerDbId, arenaId: _arenaId}
																	: {type: EvaluationType.DENUNCIATION, topic: EvaluationTopic.CHAT, nickname: _player.name, arenaId: _arenaId}"/>
				<block className="dock_submenu_item" type="native">
					<bind name="style" value="'hitTest'; isEvaluationDisabledReason ? false : true"/>
					<styleClass value="$FullsizeAbsolute"/>
				</block>
				<block type="text">
					<styleClass value="$TextDefault"/>
					<styleClass value="$MiddleVAligned"/>
					<style>
						<maxWidth value="252"/>
						<marginLeft value="6px"/>
					</style>
					<text value="IDS_BAD_BEHAVIOUR"/>
				</block>
			</block>
		</block>
		<block>
			<bind name="name" value="'id_complain_day_limit'"/>
			<bind name="visible" value="evaluationLimits.complain &gt; 0 &amp;&amp; !isEvaluationDisabledReason"/>
			<style>
				<marginLeft value="9px"/>
				<marginBottom value="6px"/>
			</style>
			<block className="icon_warning_orange" type="native">
				<style>
					<marginTop value="4px"/>
				</style>
			</block>
			<block type="text">
				<styleClass value="$TextDefault"/>
				<bind name="class" value="'$FontColorUnready'"/>
				<style>
					<maxWidth value="252"/>
					<marginLeft value="1px"/>
				</style>
				<bind name="text" value="tr('IDS_DAY_LIMIT') + ' ' + evaluationLimits.complain"/>
			</block>
			<style>
				<flow value="horizontal"/>
			</style>
		</block>
		<block>
			<bind name="visible" value="isEvaluationDisabledReason"/>
			<style>
				<marginLeft value="9px"/>
				<marginBottom value="6px"/>
			</style>
			<block className="icon_warning_red" type="native">
				<style>
					<marginTop value="4px"/>
				</style>
			</block>
			<block type="text">
				<styleClass value="$TextDefault"/>
				<bind name="class" value="'$FontColorCompareNegative'"/>
				<style>
					<maxWidth value="230"/>
					<marginLeft value="1px"/>
				</style>
				<bind name="text" value="isEvaluationDisabledReason"/>
			</block>
			<style>
				<flow value="horizontal"/>
			</style>
		</block>
	</block>
	<block className="PraiseSubMenu">
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'evaluationLimits'"/>
		<styleClass value="$DefaultMenuBehaviour"/>
		<style>
			<width value="270px"/>
		</style>
		<bind name="watch" value="'isEvaluationDisabledReason';	(_battleType == BattleTypes.CLUB_BATTLE)		? 'IDS_PRAISE_DISABLED_FOR_CLUB_BATTLES' :
												(_battleType == BattleTypes.TRAINING_BATTLE)	? 'IDS_CUSTOM_ROOM' :
												evaluationLimits.praise == 0 					? 'IDS_DAY_LIMIT_IS_OFF' :
												_player.isInSameDivisionOnStart					? 'IDS_PRAISE_DISABLED_FOR_DIVISION_MEMBERS'
																								: false"/>
		<block>
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="instance" value="'MenuTooltipBackground'; {_isInBattle: _isInBattle}"/>
		</block>
		<block>
			<style>
				<width value="100%"/>
			</style>
			<bind name="class" value="_isInBattle ? '$ComplaintMenuListItemBattleMargins' : '$ComplaintMenuListItemPostbattleMargins'"/>
			<block>
				<bind name="name" value="'id_praise_good_player'"/>
				<bind name="style" value="'alpha'; isEvaluationDisabledReason ? 0.5 : 1"/>
				<bind name="action" value="'buttonClick'; 'sendEvaluation'; _isInPBS ? {type: EvaluationType.PRAISE, topic: EvaluationTopic.PLAY, accountDBID: _playerDbId, arenaId: _arenaId}
																	: {type: EvaluationType.PRAISE, topic: EvaluationTopic.PLAY, nickname: _player.name, arenaId: _arenaId}"/>
				<styleClass value="$ContextMenuListItem"/>
				<block className="dock_submenu_item" type="native">
					<bind name="style" value="'hitTest'; isEvaluationDisabledReason ? false : true"/>
					<styleClass value="$FullsizeAbsolute"/>
				</block>
				<block type="text">
					<styleClass value="$TextDefault"/>
					<styleClass value="$MiddleVAligned"/>
					<style>
						<maxWidth value="252"/>
						<marginLeft value="6px"/>
					</style>
					<text value="IDS_GOOD_PLAYER"/>
				</block>
			</block>
			<block>
				<bind name="name" value="'id_praise_helped_in_chat'"/>
				<bind name="style" value="'alpha'; isEvaluationDisabledReason ? 0.5 : 1"/>
				<bind name="action" value="'buttonClick'; 'sendEvaluation'; _isInPBS ? {type: EvaluationType.PRAISE, topic: EvaluationTopic.CHAT, accountDBID: _playerDbId, arenaId: _arenaId}
																	: {type: EvaluationType.PRAISE, topic: EvaluationTopic.CHAT, nickname: _player.name, arenaId: _arenaId}"/>
				<styleClass value="$ContextMenuListItem"/>
				<block className="dock_submenu_item" type="native">
					<bind name="style" value="'hitTest'; isEvaluationDisabledReason ? false : true"/>
					<styleClass value="$FullsizeAbsolute"/>
				</block>
				<block type="text">
					<styleClass value="$TextDefault"/>
					<styleClass value="$MiddleVAligned"/>
					<style>
						<maxWidth value="252"/>
						<marginLeft value="6px"/>
					</style>
					<text value="IDS_HELPED_IN_CHAT"/>
				</block>
			</block>
		</block>
		<block>
			<bind name="name" value="'id_praise_day_limit'"/>
			<bind name="visible" value="evaluationLimits.praise &gt; 0 &amp;&amp; !isEvaluationDisabledReason"/>
			<style>
				<marginLeft value="9px"/>
				<marginBottom value="6px"/>
			</style>
			<block className="icon_warning_orange" type="native">
				<style>
					<marginTop value="4px"/>
				</style>
			</block>
			<block type="text">
				<styleClass value="$TextDefault"/>
				<bind name="class" value="'$FontColorUnready'"/>
				<style>
					<maxWidth value="252"/>
					<marginLeft value="1px"/>
				</style>
				<bind name="text" value="tr('IDS_DAY_LIMIT') + ' ' + evaluationLimits.praise"/>
			</block>
			<style>
				<flow value="horizontal"/>
			</style>
		</block>
		<block>
			<bind name="visible" value="isEvaluationDisabledReason"/>
			<style>
				<marginLeft value="9px"/>
				<marginBottom value="6px"/>
			</style>
			<block className="icon_warning_red" type="native">
				<style>
					<marginTop value="4px"/>
				</style>
			</block>
			<block type="text">
				<styleClass value="$TextDefault"/>
				<bind name="class" value="'$FontColorCompareNegative'"/>
				<style>
					<maxWidth value="230"/>
					<marginLeft value="1px"/>
				</style>
				<bind name="text" value="isEvaluationDisabledReason"/>
			</block>
			<style>
				<flow value="horizontal"/>
			</style>
		</block>
	</block>
	<block className="UIListVoiceTextChatIcons">
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'VoiceChatState'"/>
		<bind name="watch" value="'playerCanBeInChat';	((_battleType == BattleTypes.CLUB_BATTLE) &amp;&amp; VoiceChatState.enabled) ||
										((_isInSameDivision &amp;&amp; VoiceChatState.enabled) &amp;&amp;	((_battleType == BattleTypes.RANDOM_BATTLE) ||
																							(_battleType == BattleTypes.COOPERATIVE_BATTLE) ||
																							(_battleType == BattleTypes.PVE_BATTLE)))"/>
		<bind name="watch" value="'selfCanBeInChat';	((_battleType == BattleTypes.CLUB_BATTLE) &amp;&amp; _isSelf) ||
									((_isSelf &amp;&amp; _selfPlayerDivisionId) &amp;&amp;  ((_battleType == BattleTypes.RANDOM_BATTLE) ||
																			(_battleType == BattleTypes.COOPERATIVE_BATTLE) ||
																			(_battleType == BattleTypes.PVE_BATTLE)))"/>
		<bind name="watch" value="'canBeInChat'; (playerCanBeInChat || selfCanBeInChat)"/>
		<block>
			<bind name="visible" value="canBeInChat"/>
			<style>
				<position value="absolute"/>
			</style>
			<bind name="transition" value="canBeInChat &amp;&amp; _isTextChatMuted &amp;&amp; (_isSpeaking || _isVoiceChatMuted || !(_isInVoiceChat)); 0.15; {alpha: 1, top: 9}; {alpha: 1, top: 3}; {alpha: 1, top: 9}; 1"/>
			<bind name="watch" value="'state';	!(_isInVoiceChat)	? 'disabled' :
								_isVoiceChatMuted	? 'muted' :
								_isSpeaking			? 'speak'
													: null"/>
			<block>
				<bind name="transition" value="state; 0.1; {alpha: 0}; {alpha: 1}; {alpha: 0}; 1"/>
				<block className="icon_voice_chat_small" type="native">
					<bind name="gotoAndStop!" value="state"/>
				</block>
			</block>
		</block>
		<block>
			<style>
				<position value="absolute"/>
			</style>
			<bind name="transition" value="canBeInChat &amp;&amp; _isTextChatMuted &amp;&amp; (_isSpeaking || _isVoiceChatMuted || !(_isInVoiceChat)); 0.15; {alpha: 1, top: 8}; {alpha: 1, top: 14}; {alpha: 1, top: 8}; 1"/>
			<block>
				<bind name="transition" value="_isTextChatMuted; 0.1; {alpha: 0}; {alpha: 1}; {alpha: 0}; 1"/>
				<block className="icon_text_chat_small" type="native">
					<bind name="gotoAndStop!" value="'muted')"/>
				</block>
			</block>
		</block>
	</block>
	<css name="$DefaultTooltipBehaviour">
		<userData value="{
		appearDelay: 0.05,
		appearDuration: 0.1,
		appearOffset: 5.0,
		disappearDelay: 0.0,
		disappearDuration: 0.1,
		disappearOffset: -10.0,
		tinyOffset: 2,
		rightOffset: 6,
		bottomOffset: 26
	}"/>
	</css>
	<css name="$DefaultInstantTooltipBehaviour">
		<userData value="{
		appearDelay: 0.05,
		appearDuration: 0.06,
		appearOffset: 5.0,
		disappearDelay: 0.0,
		disappearDuration: 0.06,
		disappearOffset: -10.0,
		tinyOffset: 2,
		rightOffset: 6,
		bottomOffset: 26
	}"/>
	</css>
	<css name="$DefaultMenuBehaviour">
		<userData value="{
		appearDelay: 0.05,
		appearDuration: 0.07,
		appearOffset: 10.0,
		disappearDelay: 0.0,
		disappearDuration: 0.1,
		disappearOffset: 10.0,
		tinyOffset: 0,
		rightOffset: 0,
		bottomOffset: 0
	}"/>
	</css>
	<css name="$DefaultSubMenuBehaviour">
		<userData value="{
		appearDelay: 0.05,
		appearDuration: 0.15,
		appearOffset: 0.0,
		disappearDelay: 0.35,
		disappearDuration: 0.1,
		disappearOffset: 5.0,
		tinyOffset: 0,
		rightOffset: 0,
		bottomOffset: 0
	}"/>
	</css>
	<css name="$VerticalInfotipBehaviour">
		<userData value="{
		appearDelay: 0.05,
		appearDuration: 0.1,
		appearOffset: 5.0,
		disappearDelay: 0.0,
		disappearDuration: 0.1,
		disappearOffset: -10.0,
		tinyOffset: 2,
		rightOffset: 0,
		bottomOffset: 0
	}"/>
	</css>
	<css name="$VerticalInfotipBehaviourCenter">
		<userData value="{
		appearDelay: 0.05,
		appearDuration: 0.1,
		appearOffset: 5.0,
		disappearDelay: 0.0,
		disappearDuration: 0.1,
		disappearOffset: -10.0,
		tinyOffset: 2,
		rightOffset: -8,
		bottomOffset: 0,
		screenBottomOffset: 26,
		isTipCenter: true
	}"/>
	</css>
	<css name="$VerticalInfotipBehaviourCenterUpper">
		<userData value="{
		appearDelay: 0.05,
		appearDuration: 0.1,
		appearOffset: 5.0,
		disappearDelay: 0.0,
		disappearDuration: 0.1,
		disappearOffset: -10.0,
		tinyOffset: 2,
		rightOffset: -8,
		bottomOffset: 0,
		isTipCenter: true,
		fixedDirectionUp: true
	}"/>
	</css>
	<css name="$HorizontalInfotipBehaviour">
		<userData value="{
		appearDelay: 0.05,
		appearDuration: 0.1,
		appearOffset: 5.0,
		disappearDelay: 0.0,
		disappearDuration: 0.1,
		disappearOffset: -10.0,
		tinyOffset: 0,
		rightOffset: -10,
		bottomOffset: 0,
		isTipCenter: true
	}"/>
	</css>
	<css name="$FightButtonTooltipBehaviour">
		<userData value="{
		appearDelay: 0.05,
		appearDuration: 0.1,
		appearOffset: 5.0,
		disappearDelay: 0.0,
		disappearDuration: 0.0,
		disappearOffset: -10.0,
		tinyOffset: 2,
		rightOffset: 6,
		bottomOffset: 26
	}"/>
	</css>
	<css name="$WarningTooltipBehaviour">
		<userData value="{
		appearDelay: 0.05,
		appearDuration: 0.1,
		appearOffset: 5.0,
		disappearDelay: 0.0,
		disappearDuration: 0.1,
		disappearOffset: -10.0,
		tinyOffset: 2,
		rightOffset: 6,
		bottomOffset: 26
	}"/>
	</css>
	<css name="$ModuleTreeTooltipBehaviour">
		<userData value="{
		appearDelay: 0.05,
		appearDuration: 0.1,
		appearOffset: 5.0,
		disappearDelay: 0.0,
		disappearDuration: 0.1,
		disappearOffset: -10.0,
		tinyOffset: 2,
		rightOffset: 6,
		bottomOffset: 26
	}"/>
	</css>
	<css name="$SmallListItem">
		<width value="100%"/>
		<height value="18px"/>
	</css>
	<css name="$SmallListItemValue">
		<position value="absolute"/>
		<right value="0px"/>
	</css>
	<css name="$DefaultTooltipWidth">
		<width value="300px"/>
	</css>
	<block className="EmptyLine"/>
	<block className="MouseInstructionTooltip">
		<styleClass value="$DefaultTooltipBehaviour"/>
		<block>
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="instance" value="'TooltipBackground'; {_isInBattle: _isInBattle}"/>
		</block>
		<block>
			<bind name="visible" value="_multiParagraphArray.length &gt; 0"/>
			<styleClass value="$InfoBlockHorizontalIndentNoWidth"/>
			<style>
				<marginTop value="9px"/>
			</style>
			<bind name="style" value="'marginBottom'; (_multiParagraphArray.length &gt; 0) &amp;&amp; (_mouseInstructions.length &gt; 0) ? '0px' : '5px'"/>
			<bind name="repeat" value="_multiParagraphArray; 'RepeatParagraphItem'; {_maxWidth: _maxWidth, _marginBottom: _marginBottom}"/>
		</block>
		<block>
			<bind name="visible" value="(_multiParagraphArray.length &gt; 0) &amp;&amp; (_mouseInstructions.length &gt; 0)"/>
			<style>
				<width value="100%"/>
			</style>
			<block className="HorizontalDivider">
				<styleClass value="$PxHorizontalCorrection"/>
				<style>
					<width value="100%"/>
					<height value="3px"/>
				</style>
				<block className="divider_h" type="native">
					<styleClass value="$Fullsize"/>
				</block>
			</block>
		</block>
		<block>
			<bind name="visible" value="_mouseInstructions.length &gt; 0"/>
			<styleClass value="$InfoBlockIndentNoWidth"/>
			<bind name="repeat" value="_mouseInstructions; 'MouseInstructionRepeater'; {_maxWidth: _maxWidth, _lastIndex: _mouseInstructions.length - 1}"/>
		</block>
	</block>
	<block className="SimpleTooltip">
		<block className="SimpleTooltipTemplate">
			<styleClass value="$DefaultTooltipBehaviour"/>
			<block className="DeclareBlurLayer">
				<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
				<bind name="visible" value="optionData.blurEnabled"/>
				<block className="transparentPixel" type="native">
					<bind name="blurLayer" value="0"/>
				</block>
				<style>
					<position value="absolute"/>
				</style>
			</block>
			<block className="BlurMap">
				<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
				<style>
					<position value="absolute"/>
					<width value="100%"/>
					<height value="100%"/>
					<hitTest value="false"/>
				</style>
				<bind name="visible" value="optionData.blurEnabled"/>
				<block className="mc_blurmap5" type="native">
					<bind name="appear" value="'startShow'; 0.3; 0; {alpha: 0}; {alpha: 1}"/>
					<bind name="appear" value="'startHide'; 0.15; 0; {alpha: 1}; {alpha: 0}"/>
					<style>
						<width value="100%"/>
						<height value="100%"/>
					</style>
					<bind name="blurMap" value="0"/>
				</block>
			</block>
			<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
			<block className="contrast_panel" type="native">
				<styleClass value="$FullsizeAbsolute"/>
				<bind name="visible" value="optionData.contrast"/>
			</block>
			<block className="hint_panel" type="native">
				<style>
					<position value="absolute"/>
				</style>
				<styleClass value="$Fullsize"/>
			</block>
			<block type="text">
				<styleClass value="$InfoBlockIndentNoWidth"/>
				<styleClass value="$TextHeaderBigDefault"/>
				<bind name="style" value="'leading'; tooltipText.length &gt; 40 ? 0 : -3"/>
				<style>
					<maxWidth value="300"/>
				</style>
				<bind name="text" value="tooltipText"/>
			</block>
		</block>
	</block>
	<block className="SubTextTooltip">
		<block className="SubTextTooltipTemplate">
			<styleClass value="$DefaultTooltipBehaviour"/>
			<block className="DeclareBlurLayer">
				<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
				<bind name="visible" value="optionData.blurEnabled"/>
				<block className="transparentPixel" type="native">
					<bind name="blurLayer" value="0"/>
				</block>
				<style>
					<position value="absolute"/>
				</style>
			</block>
			<block className="BlurMap">
				<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
				<style>
					<position value="absolute"/>
					<width value="100%"/>
					<height value="100%"/>
					<hitTest value="false"/>
				</style>
				<bind name="visible" value="optionData.blurEnabled"/>
				<block className="mc_blurmap5" type="native">
					<bind name="appear" value="'startShow'; 0.3; 0; {alpha: 0}; {alpha: 1}"/>
					<bind name="appear" value="'startHide'; 0.15; 0; {alpha: 1}; {alpha: 0}"/>
					<style>
						<width value="100%"/>
						<height value="100%"/>
					</style>
					<bind name="blurMap" value="0"/>
				</block>
			</block>
			<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
			<block className="contrast_panel" type="native">
				<styleClass value="$FullsizeAbsolute"/>
				<bind name="visible" value="optionData.contrast"/>
			</block>
			<block className="hint_panel" type="native">
				<styleClass value="$FullsizeAbsolute"/>
			</block>
			<block>
				<styleClass value="$InfoBlockIndentNoWidth"/>
				<block type="text">
					<styleClass value="$TextHeaderBold"/>
					<style>
						<leading value="-3"/>
						<maxWidth value="260"/>
					</style>
					<bind name="text" value="tooltipText"/>
				</block>
				<block type="text">
					<styleClass value="$TextHeaderBigDefault"/>
					<style>
						<marginTop value="3px"/>
						<leading value="-3"/>
						<maxWidth value="260"/>
					</style>
					<bind name="text" value="tooltipSubText"/>
				</block>
			</block>
		</block>
	</block>
	<block className="SimpleWarningTooltip">
		<styleClass value="$WarningTooltipBehaviour"/>
		<block>
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="instance" value="'TooltipBackground'; {_isInBattle: _isInBattle}"/>
		</block>
		<block>
			<styleClass value="$InfoBlockIndentNoWidth"/>
			<block className="icon_warning_orange" type="native">
				<style>
					<marginTop value="5px"/>
					<marginRight value="2px"/>
				</style>
			</block>
			<block type="text">
				<styleClass value="$TextDefault"/>
				<bind name="class" value="'$FontColorUnready'"/>
				<style>
					<maxWidth value="240"/>
					<leading value="-3"/>
				</style>
				<bind name="text" value="_text"/>
			</block>
			<style>
				<flow value="horizontal"/>
			</style>
		</block>
	</block>
	<block className="TooltipBackground">
		<styleClass value="$FullsizeAbsolute"/>
		<block>
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="instance" value="'DeclareBlurLayer'; _isInBattle ?  null : {}"/>
			<bind name="instance" value="'BlurMap'; _isInBattle ? null : {}"/>
		</block>
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
		<block className="contrast_panel" type="native">
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="visible" value="(optionData.contrast == true || _isInBattle == true)"/>
		</block>
		<block>
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="visible" value="!(_isInBattle)"/>
			<block className="hint_panel" type="native">
				<styleClass value="$FullsizeAbsolute"/>
			</block>
		</block>
	</block>
	<block className="TimerTooltip">
		<styleClass value="$DefaultTooltipBehaviour"/>
		<block>
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="instance" value="'TooltipBackground'; {_isInBattle: _isInBattle}"/>
		</block>
		<block type="text">
			<styleClass value="$InfoBlockIndentNoWidth"/>
			<styleClass value="$TextHeader"/>
			<bind name="class" value="'$FontSizeHeader4'"/>
			<bind name="pureText" value="_text"/>
		</block>
	</block>
	<block className="PlayerTooltipInvitationCountdown">
		<bind name="countdown" value="_expirationTime; 'countdownText'; 'mm:ss'"/>
		<style>
			<width value="100%"/>
		</style>
		<block className="HorizontalDivider">
			<styleClass value="$PxHorizontalCorrection"/>
			<style>
				<width value="100%"/>
				<height value="3px"/>
			</style>
			<block className="divider_h" type="native">
				<styleClass value="$Fullsize"/>
			</block>
		</block>
		<block>
			<style>
				<width value="100%"/>
				<marginTop value="4px"/>
				<marginLeft value="7px"/>
				<marginRight value="4px"/>
				<marginBottom value="3px"/>
			</style>
			<block>
				<style>
					<width value="100%"/>
					<marginRight value="6px"/>
				</style>
				<block>
					<style>
						<marginLeft value="4px"/>
					</style>
					<bind name="instance" value="'FormationPlayerIcon'; {_isEmptySlot: true, _formationType: _formationType}"/>
				</block>
				<block type="text">
					<style>
						<marginLeft value="4px"/>
						<maxWidth value="158"/>
						<leading value="-3"/>
					</style>
					<styleClass value="$TextDefaultBold"/>
					<bind name="class" value="'$FontColorWhite'"/>
					<bind name="text" value="_text"/>
				</block>
				<block type="text">
					<style>
						<top value="-4px"/>
					</style>
					<styleClass value="$TextHeaderBigDefault"/>
					<styleClass value="$AlignRight"/>
					<bind name="class" value="'$FontSizeHeader6'"/>
					<bind name="pureText" value="'-' + countdownText"/>
				</block>
				<style>
					<flow value="horizontal"/>
				</style>
			</block>
		</block>
	</block>
	<css name="$Fullsize">
		<width value="100%"/>
		<height value="100%"/>
	</css>
	<css name="$FullsizeAbsolute">
		<width value="100%"/>
		<position value="absolute"/>
		<height value="100%"/>
	</css>
	<css name="$FullWidth">
		<width value="100%"/>
	</css>
	<css name="$MiddleAligned">
		<marginLeft value="-50%"/>
		<left value="50%"/>
	</css>
	<css name="$MiddleAlignedAbsolutely">
		<position value="absolute"/>
		<marginLeft value="-50%"/>
		<left value="50%"/>
	</css>
	<css name="$MiddleVAligned">
		<top value="50%"/>
		<marginTop value="-50%"/>
	</css>
	<css name="$EyeLevelVAligned">
		<top value="44%"/>
		<marginTop value="-50%"/>
	</css>
	<css name="$MiddleVAlignedAbsolutely">
		<position value="absolute"/>
		<top value="50%"/>
		<marginTop value="-50%"/>
	</css>
	<css name="$MiddleVHAbsolutely">
		<position value="absolute"/>
		<top value="50%"/>
		<marginLeft value="-50%"/>
		<marginTop value="-50%"/>
		<left value="50%"/>
	</css>
	<css name="$AlignRight">
		<position value="absolute"/>
		<right value="0"/>
	</css>
	<css name="$MouseDisable">
		<hitTest value="false"/>
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
	</css>
	<css name="$InfoLineBoundaries">
		<marginTop value="6px"/>
		<marginBottom value="6px"/>
	</css>
	<css name="$InfoBlockHorizontalIndent">
		<width value="100%"/>
		<marginLeft value="12px"/>
		<marginRight value="12px"/>
	</css>
	<css name="$InfoBlockIndent">
		<width value="100%"/>
		<marginTop value="9px"/>
		<marginLeft value="12px"/>
		<marginBottom value="9px"/>
		<marginRight value="12px"/>
	</css>
	<css name="$InfoBlockHorizontalIndentNoWidth">
		<marginLeft value="12px"/>
		<marginRight value="12px"/>
	</css>
	<css name="$DockPanelMargins">
		<marginLeft value="13px"/>
		<marginRight value="13px"/>
	</css>
	<css name="$InfoBlockIndentNoWidth">
		<marginBottom value="9px"/>
		<marginTop value="9px"/>
		<marginLeft value="12px"/>
		<marginRight value="12px"/>
	</css>
	<css name="$ShipTechStats">
		<width value="312px"/>
		<top value="32px"/>
		<position value="absolute"/>
		<right value="10px"/>
		<height value="100%"/>
	</css>
	<css name="$TextInputEnterButton">
		<right value="2px"/>
		<top value="50%"/>
		<height value="25px"/>
		<width value="52px"/>
		<position value="absolute"/>
		<marginTop value="-11px"/>
	</css>
	<css name="$TextAreaEnterButton">
		<position value="absolute"/>
		<height value="25px"/>
		<right value="2px"/>
		<width value="52px"/>
		<bottom value="0px"/>
	</css>
	<css name="$DefaultScrollBar">
		<wheelScrollSpeed value="15"/>
		<scrollbarController value="lesta.unbound.style.UbScrollingControllerModern"/>
		<scrollArea value="ModernScrollArea"/>
		<scrollbar value="ModernScrollBar"/>
		<scrollbarTrackMode value="scrollToCursor"/>
	</css>
	<css name="$None"/>
	<css name="$PxHorizontalCorrection">
		<marginLeft value="1px"/>
		<marginRight value="1px"/>
	</css>
	<css name="$PxIndent">
		<marginTop value="1px"/>
		<marginBottom value="1px"/>
		<marginLeft value="1px"/>
		<marginRight value="1px"/>
	</css>
	<css name="$BottomMenu">
		<position value="absolute"/>
		<bottom value="0px"/>
		<width value="100%"/>
		<height value="30px"/>
	</css>
	<block className="HorizontalDivider">
		<styleClass value="$PxHorizontalCorrection"/>
		<style>
			<width value="100%"/>
			<height value="3px"/>
		</style>
		<block className="divider_h" type="native">
			<styleClass value="$Fullsize"/>
		</block>
	</block>
	<block className="VerticalDivider">
		<style>
			<height value="100%"/>
			<width value="3px"/>
		</style>
		<block className="divider_v" type="native">
			<styleClass value="$Fullsize"/>
		</block>
	</block>
	<block className="TableDivider">
		<style>
			<backgroundImage value="symbol:dotted_line"/>
			<backgroundRepeatX value="true"/>
			<width value="100%"/>
			<height value="1px"/>
			<alpha value="0.1"/>
		</style>
	</block>
	<block className="Underline">
		<bind name="style" value="'backgroundColor'; (rollOver &amp;&amp; !mouseDown) ? '0xFFFFFFFF' : '0x00856933'"/>
		<bind name="transition" value="(rollOver &amp;&amp; !mouseDown) == true; 0.3; {scaleX : 0, alpha : 0}; {scaleX : 1, alpha :1}"/>
		<style>
			<backgroundColor value="0xFFFFFFFF"/>
			<position value="absolute"/>
			<height value="1px"/>
			<width value="100%"/>
			<bottom value="0px"/>
			<marginLeft value="2px"/>
			<marginRight value="2px"/>
		</style>
	</block>
	<block className="BlurMap">
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
		<style>
			<position value="absolute"/>
			<width value="100%"/>
			<height value="100%"/>
			<hitTest value="false"/>
		</style>
		<bind name="visible" value="optionData.blurEnabled"/>
		<block className="mc_blurmap5" type="native">
			<bind name="appear" value="'startShow'; 0.3; 0; {alpha: 0}; {alpha: 1}"/>
			<bind name="appear" value="'startHide'; 0.15; 0; {alpha: 1}; {alpha: 0}"/>
			<style>
				<width value="100%"/>
				<height value="100%"/>
			</style>
			<bind name="blurMap" value="0"/>
		</block>
	</block>
	<block className="BlurMapNotifications">
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
		<bind name="visible" value="optionData.blurEnabled"/>
		<style>
			<position value="absolute"/>
			<width value="100%"/>
			<height value="100%"/>
		</style>
		<block className="mc_blurmap5_feather" type="native">
			<bind name="fade" value="_start; 0.3; {alpha: 0, top: 10}; {alpha: 1, top:0 }; {alpha: 0, top: -20}; 1; 0.15"/>
			<style>
				<width value="100%"/>
				<height value="100%"/>
			</style>
			<bind name="blurMap" value="0"/>
		</block>
	</block>
	<block className="DeclareBlurLayer">
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
		<bind name="visible" value="optionData.blurEnabled"/>
		<block className="transparentPixel" type="native">
			<bind name="blurLayer" value="0"/>
		</block>
		<style>
			<position value="absolute"/>
		</style>
	</block>
	<css name="$ContextMenuListItem">
		<width value="100%"/>
		<height value="29px"/>
	</css>
	<css name="$ContextMenuListItemContent">
		<width value="198px"/>
		<marginLeft value="6px"/>
		<marginRight value="6px"/>
	</css>
	<css name="$ContextMenuDimentions">
		<width value="210px"/>
	</css>
	<block className="DropShadow">
		<styleClass value="$FullsizeAbsolute"/>
		<styleClass value="$MouseDisable"/>
		<block className="drop_shadow" type="native">
			<styleClass value="$Fullsize"/>
			<style>
				<position value="absolute"/>
				<marginTop value="-2px"/>
				<marginRight value="-6px"/>
				<marginBottom value="-10px"/>
				<marginLeft value="-6px"/>
			</style>
		</block>
	</block>
	<block className="EmptyItem">
		<bind name="visible" value="false"/>
	</block>
	<block className="DropdownInfotip">
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'shipOverview'"/>
		<bind name="transition" value="shipOverview.enabled; shipOverview.enabled ? 0.4 : 0.25; {alpha: 1}; {alpha: 0}; {alpha: 1}; 2; !(shipOverview.enabled) &amp;&amp; !(inPort) ? 0.15 : 0.5"/>
		<bind name="style" value="'hitTest'; !(shipOverview.enabled)"/>
		<style>
			<width value="1px"/>
		</style>
		<bind name="style" value="'width'; _width ? _width : '100px'"/>
		<block>
			<styleClass value="$Fullsize"/>
			<style>
				<position value="absolute"/>
			</style>
			<block className="DeclareBlurLayer">
				<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
				<bind name="visible" value="optionData.blurEnabled"/>
				<block className="transparentPixel" type="native">
					<bind name="blurLayer" value="0"/>
				</block>
				<style>
					<position value="absolute"/>
				</style>
			</block>
			<block className="BlurMap">
				<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
				<style>
					<position value="absolute"/>
					<width value="100%"/>
					<height value="100%"/>
					<hitTest value="false"/>
				</style>
				<bind name="visible" value="optionData.blurEnabled"/>
				<block className="mc_blurmap5" type="native">
					<bind name="appear" value="'startShow'; 0.3; 0; {alpha: 0}; {alpha: 1}"/>
					<bind name="appear" value="'startHide'; 0.15; 0; {alpha: 1}; {alpha: 0}"/>
					<style>
						<width value="100%"/>
						<height value="100%"/>
					</style>
					<bind name="blurMap" value="0"/>
				</block>
			</block>
		</block>
		<block className="dock_panel" type="native">
			<styleClass value="$Fullsize"/>
			<style>
				<position value="absolute"/>
				<marginTop value="-9px"/>
				<marginRight value="-14px"/>
				<marginBottom value="-19px"/>
				<marginLeft value="-14px"/>
			</style>
		</block>
		<block>
			<style>
				<width value="100%"/>
			</style>
			<bind name="instance" value="_dropdownContentElement; { _menuScope: _menuScope }"/>
		</block>
	</block>
	<block className="InstructionParagraph">
		<style>
			<width value="100%"/>
		</style>
		<block type="text">
			<styleClass value="$TextDefault"/>
			<style>
				<width value="100%"/>
				<alpha value="0.9"/>
			</style>
			<bind name="style" value="'maxWidth'; _maxWidth ? _maxWidth : 220"/>
			<bind name="text" value="_text"/>
		</block>
	</block>
	<block className="InstructionMultiParagraph">
		<style>
			<flow value="horizontal"/>
			<width value="100%"/>
		</style>
		<block className="icon_instruction" type="native">
			<bind name="gotoAndStop!" value="_type"/>
		</block>
		<block>
			<style>
				<width value="100%"/>
				<marginTop value="-3px"/>
			</style>
			<bind name="repeat" value="_instructionArray; 'InstructionParagraph'"/>
		</block>
	</block>
	<block className="InstructionWarning">
		<style>
			<width value="100%"/>
		</style>
		<block>
			<style>
				<width value="100%"/>
			</style>
			<block className="icon_warning_orange" type="native">
				<style>
					<marginTop value="5px"/>
				</style>
			</block>
			<block type="text">
				<styleClass value="$WarningTextOrange"/>
				<style>
					<width value="100%"/>
					<alpha value="0.9"/>
				</style>
				<bind name="style" value="'maxWidth'; _maxWidth ? _maxWidth : 280"/>
				<bind name="text" value="_instructionText"/>
			</block>
			<style>
				<flow value="horizontal"/>
			</style>
		</block>
	</block>
	<block className="MouseInstruction">
		<style>
			<flow value="horizontal"/>
		</style>
		<block>
			<bind name="visible" value="_type!='no_icon'"/>
			<block className="icon_mouse" type="native">
				<bind name="gotoAndStop!" value="_type"/>
			</block>
		</block>
		<block type="text">
			<styleClass value="$TextHeaderBigDefault"/>
			<bind name="style" value="'marginLeft'; (_type=='no_icon') ? '0px' : '4px'"/>
			<style>
				<marginTop value="-2px"/>
			</style>
			<bind name="style" value="'maxWidth'; _maxWidth ? _maxWidth : 180"/>
			<bind name="text" value="_instructionText"/>
		</block>
	</block>
	<block className="MouseInstructionRepeater">
		<bind name="style" value="'marginBottom'; $index != _lastIndex ? '6px' : '0px'"/>
		<bind name="instance" value="'MouseInstruction'; { _type: _type, _instructionText: _instructionText, _maxWidth: _maxWidth }"/>
	</block>
	<block className="InstructionBigTech">
		<style>
			<flow value="horizontal"/>
		</style>
		<block type="text">
			<styleClass value="$TextHeaderBigDefault"/>
			<bind name="class" value="'$FontColorBlueish'"/>
			<bind name="style" value="'leading'; _leading ? _leading : 0"/>
			<style>
				<textAlign value="center"/>
			</style>
			<bind name="style" value="'maxWidth'; _maxWidth ? _maxWidth : 500"/>
			<bind name="text" value="_instructionText"/>
		</block>
	</block>
	<block className="DockTopMenuLinkText">
		<bind name="controller" value="lesta.unbound.controls.UbInteractiveController"/>
		<block type="text">
			<styleClass value="$TextDockNano"/>
			<bind name="class" value="rollOver &amp;&amp; !(mouseDown) ? '$FontColorDefault' : '$None'"/>
			<bind name="text" value="_label"/>
		</block>
	</block>
	<block className="EmptyStatusParagraph">
		<block type="text">
			<styleClass value="$TextHeaderBigDefault"/>
			<bind name="class" value="_sizeClass ? _sizeClass : '$FontSizeLarge'"/>
			<bind name="class" value="'$FontColorBlueish'"/>
			<style>
				<textAlign value="center"/>
			</style>
			<bind name="style" value="'maxWidth'; _maxWidth ? _maxWidth : 250"/>
			<bind name="text" value="_text"/>
		</block>
	</block>
	<block className="InvertableTextLine">
		<block type="text">
			<bind name="name" value="_name"/>
			<bind name="class" value="_invert ? _normalClass : _invertedClass"/>
			<style>
				<position value="absolute"/>
				<alpha value="0.35"/>
				<top value="1px"/>
			</style>
			<bind name="style" value="'multiline'; _width ? false : true"/>
			<bind name="style" value="'width'; _width ? _width : 'auto'"/>
			<bind name="style" value="'letterSpacing'; _letterSpacing ? _letterSpacing : '0'"/>
			<bind name="text" value="_text"/>
		</block>
		<block type="text">
			<bind name="class" value="_invert ? _normalClass : _invertedClass"/>
			<style>
				<position value="absolute"/>
				<alpha value="0.1"/>
				<top value="-1px"/>
			</style>
			<bind name="style" value="'multiline'; _width ? false : true"/>
			<bind name="style" value="'width'; _width ? _width : 'auto'"/>
			<bind name="style" value="'letterSpacing'; _letterSpacing ? _letterSpacing : '0'"/>
			<bind name="text" value="_text"/>
		</block>
		<block type="text">
			<bind name="class" value="_invert ? _normalClass : _invertedClass"/>
			<style>
				<position value="absolute"/>
				<alpha value="0.2"/>
				<left value="1px"/>
			</style>
			<bind name="style" value="'multiline'; _width ? false : true"/>
			<bind name="style" value="'width'; _width ? _width : 'auto'"/>
			<bind name="style" value="'letterSpacing'; _letterSpacing ? _letterSpacing : '0'"/>
			<bind name="text" value="_text"/>
		</block>
		<block type="text">
			<bind name="class" value="_invert ? _normalClass : _invertedClass"/>
			<style>
				<position value="absolute"/>
				<alpha value="0.2"/>
				<left value="-1px"/>
			</style>
			<bind name="style" value="'multiline'; _width ? false : true"/>
			<bind name="style" value="'width'; _width ? _width : 'auto'"/>
			<bind name="style" value="'letterSpacing'; _letterSpacing ? _letterSpacing : '0'"/>
			<bind name="text" value="_text"/>
		</block>
		<block type="text">
			<bind name="class" value="_invert ? _invertedClass : _normalClass"/>
			<bind name="style" value="'multiline'; _width ? false : true"/>
			<bind name="style" value="'width'; _width ? _width : 'auto'"/>
			<bind name="style" value="'letterSpacing'; _letterSpacing ? _letterSpacing : '0'"/>
			<bind name="text" value="_text"/>
		</block>
	</block>
	<block className="ResizeFrame">
		<styleClass value="$FullsizeAbsolute"/>
		<block>
			<bind name="visible" value="!(restrict.up)"/>
			<bind name="controller" value="lesta.unbound.controls.UbInteractiveController; 'HANGAR_DRAGGING_UP'"/>
			<style>
				<position value="absolute"/>
				<width value="100%"/>
				<height value="6px"/>
				<top value="-3px"/>
				<backgroundColor value="0x01ff0000"/>
			</style>
			<params>
				<param name="name" value="grip_top"/>
			</params>
		</block>
		<block>
			<bind name="visible" value="!(restrict.down)"/>
			<bind name="controller" value="lesta.unbound.controls.UbInteractiveController; 'HANGAR_DRAGGING_DOWN'"/>
			<style>
				<position value="absolute"/>
				<width value="100%"/>
				<height value="6px"/>
				<bottom value="-3px"/>
				<backgroundColor value="0x01ff0000"/>
			</style>
			<params>
				<param name="name" value="grip_bottom"/>
			</params>
		</block>
		<block>
			<bind name="visible" value="!(restrict.left)"/>
			<bind name="controller" value="lesta.unbound.controls.UbInteractiveController; 'HANGAR_DRAGGING_LEFT'"/>
			<style>
				<position value="absolute"/>
				<width value="6px"/>
				<height value="100%"/>
				<left value="-3px"/>
				<backgroundColor value="0x01ff0000"/>
			</style>
			<params>
				<param name="name" value="grip_left"/>
			</params>
		</block>
		<block>
			<bind name="visible" value="!(restrict.right)"/>
			<bind name="controller" value="lesta.unbound.controls.UbInteractiveController; 'HANGAR_DRAGGING_RIGHT'"/>
			<style>
				<position value="absolute"/>
				<width value="6px"/>
				<height value="100%"/>
				<right value="-3px"/>
				<backgroundColor value="0x01ff0000"/>
			</style>
			<params>
				<param name="name" value="grip_right"/>
			</params>
		</block>
		<block>
			<bind name="visible" value="!(restrict.up || restrict.left)"/>
			<bind name="controller" value="lesta.unbound.controls.UbInteractiveController; 'HANGAR_DRAGGING_UP_LEFT'"/>
			<style>
				<position value="absolute"/>
				<width value="12px"/>
				<height value="12px"/>
				<top value="-5px"/>
				<left value="-5px"/>
				<backgroundColor value="0x0100ff00"/>
			</style>
			<params>
				<param name="name" value="grip_top_left"/>
			</params>
		</block>
		<block>
			<bind name="visible" value="!(restrict.up || restrict.right)"/>
			<bind name="controller" value="lesta.unbound.controls.UbInteractiveController; 'HANGAR_DRAGGING_UP_RIGHT'"/>
			<style>
				<position value="absolute"/>
				<width value="12px"/>
				<height value="12px"/>
				<top value="-5px"/>
				<right value="-5px"/>
				<backgroundColor value="0x0100ff00"/>
			</style>
			<params>
				<param name="name" value="grip_top_right"/>
			</params>
		</block>
		<block>
			<bind name="visible" value="!(restrict.down || restrict.left)"/>
			<bind name="controller" value="lesta.unbound.controls.UbInteractiveController; 'HANGAR_DRAGGING_DOWN_LEFT'"/>
			<style>
				<position value="absolute"/>
				<width value="12px"/>
				<height value="12px"/>
				<bottom value="-5px"/>
				<left value="-5px"/>
				<backgroundColor value="0x0100ff00"/>
			</style>
			<params>
				<param name="name" value="grip_bottom_left"/>
			</params>
		</block>
		<block>
			<bind name="visible" value="!(restrict.down || restrict.right)"/>
			<bind name="controller" value="lesta.unbound.controls.UbInteractiveController; 'HANGAR_DRAGGING_DOWN_RIGHT'"/>
			<style>
				<position value="absolute"/>
				<width value="12px"/>
				<height value="12px"/>
				<bottom value="-5px"/>
				<right value="-5px"/>
				<backgroundColor value="0x0100ff00"/>
			</style>
			<params>
				<param name="name" value="grip_bottom_right"/>
			</params>
		</block>
	</block>
	<css name="$WarningTextRed">
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
		<fontFamily value="$WWSDefaultFont"/>
		<fontSize value="15"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFF6600"/>
	</css>
	<css name="$WarningTextOrange">
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
		<fontFamily value="$WWSDefaultFont"/>
		<fontSize value="15"/>
		<dropShadowFilter value="1 90 0x08222a 0.5 2.0 2.0 1.0 2"/>
		<selectable value="false"/>
		<textColor value="0xFF9933"/>
	</css>
	<block className="WarningMessage">
		<bind name="appear" value="'addedToStage'; 0.15; _delay; {alpha: 0, top: _startTop ? _startTop : 10}; {alpha: 1, top: 0}; 2"/>
		<block type="text">
			<bind name="style" value="'maxWidth'; _maxWidth ? _maxWidth : 280"/>
			<bind name="class" value="_highWarning ? '$WarningTextRed' : '$WarningTextOrange'"/>
			<style>
				<textAlign value="center"/>
			</style>
			<bind name="text" value="_text"/>
		</block>
	</block>
	<block className="WrongTextInputNotification">
		<bind name="appear" value="'addedToStage'; 0.15; 0; {alpha: 0, top: _startTop ? _startTop : 10}; {alpha: 1, top: 0}; 2"/>
		<style>
			<width value="100%"/>
			<marginRight value="-1px"/>
			<marginLeft value="-1px"/>
		</style>
		<block>
			<styleClass value="$Fullsize"/>
			<style>
				<position value="absolute"/>
				<marginTop value="1px"/>
				<marginBottom value="0px"/>
			</style>
			<block className="DeclareBlurLayer">
				<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
				<bind name="visible" value="optionData.blurEnabled"/>
				<block className="transparentPixel" type="native">
					<bind name="blurLayer" value="0"/>
				</block>
				<style>
					<position value="absolute"/>
				</style>
			</block>
			<block className="BlurMapCustom">
				<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
				<style>
					<position value="absolute"/>
					<width value="100%"/>
					<height value="100%"/>
					<hitTest value="false"/>
				</style>
				<bind name="visible" value="optionData.blurEnabled"/>
				<block className="mc_blurmap3" type="native">
					<bind name="appear" value="'startShow'; 0.3; 0; {alpha: 0}; {alpha: 1}"/>
					<bind name="appear" value="'startHide'; 0.15; 0; {alpha: 1}; {alpha: 0}"/>
					<style>
						<width value="100%"/>
						<height value="100%"/>
					</style>
					<bind name="blurMap" value="0"/>
				</block>
			</block>
		</block>
		<block className="notification_panel" type="native">
			<styleClass value="$FullsizeAbsolute"/>
		</block>
		<block>
			<styleClass value="$MiddleAligned"/>
			<style>
				<marginTop value="8px"/>
				<marginBottom value="7px"/>
			</style>
			<bind name="instance" value="'WarningMessage'; true	? { _delay: 0.07, _startTop: _startTop, _messageHiglight: _messageHiglight, _maxWidth: _maxWidth, _text: _text}
												: null"/>
		</block>
	</block>
	<block className="MultiParagraphHelpTooltip">
		<styleClass value="$DefaultTooltipBehaviour"/>
		<style>
			<width value="330px"/>
		</style>
		<bind name="style" value="'width'; _width ? _width : 330px"/>
		<block className="DeclareBlurLayer">
			<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
			<bind name="visible" value="optionData.blurEnabled"/>
			<block className="transparentPixel" type="native">
				<bind name="blurLayer" value="0"/>
			</block>
			<style>
				<position value="absolute"/>
			</style>
		</block>
		<block className="BlurMap">
			<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
			<style>
				<position value="absolute"/>
				<width value="100%"/>
				<height value="100%"/>
				<hitTest value="false"/>
			</style>
			<bind name="visible" value="optionData.blurEnabled"/>
			<block className="mc_blurmap5" type="native">
				<bind name="appear" value="'startShow'; 0.3; 0; {alpha: 0}; {alpha: 1}"/>
				<bind name="appear" value="'startHide'; 0.15; 0; {alpha: 1}; {alpha: 0}"/>
				<style>
					<width value="100%"/>
					<height value="100%"/>
				</style>
				<bind name="blurMap" value="0"/>
			</block>
		</block>
		<block className="GUIContrast">
			<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
			<styleClass value="$FullsizeAbsolute"/>
			<block className="contrast_panel" type="native">
				<styleClass value="$FullsizeAbsolute"/>
				<bind name="visible" value="optionData.contrast"/>
			</block>
		</block>
		<block className="hint_panel" type="native">
			<styleClass value="$Fullsize"/>
			<style>
				<position value="absolute"/>
			</style>
		</block>
		<block>
			<styleClass value="$InfoBlockIndent"/>
			<block className="icon_question_mark" type="native">
				<style>
					<marginRight value="6px"/>
					<marginTop value="4px"/>
				</style>
			</block>
			<block type="text">
				<bind name="style" value="'maxWidth'; _width ? _width - 60 : 270"/>
				<styleClass value="$TextHeaderWhiteBold"/>
				<bind name="text" value="_tooltipHeader"/>
			</block>
			<style>
				<flow value="horizontal"/>
			</style>
		</block>
		<block className="HorizontalDivider">
			<styleClass value="$PxHorizontalCorrection"/>
			<style>
				<width value="100%"/>
				<height value="3px"/>
			</style>
			<block className="divider_h" type="native">
				<styleClass value="$Fullsize"/>
			</block>
		</block>
		<block>
			<style>
				<width value="100%"/>
			</style>
			<block className="inner_panel" type="native">
				<styleClass value="$Fullsize"/>
				<styleClass value="$PxHorizontalCorrection"/>
				<style>
					<position value="absolute"/>
				</style>
			</block>
			<block>
				<style>
					<marginLeft value="12px"/>
					<marginRight value="12px"/>
					<marginTop value="9px"/>
					<marginBottom value="3px"/>
					<width value="100%"/>
				</style>
				<bind name="repeat" value="_multiParagraphArray; 'RepeatParagraphItem'; {_maxWidth: _width - 24}"/>
			</block>
		</block>
	</block>
	<block className="RepeatParagraphItem">
		<bind name="style" value="'marginBottom'; _marginBottom ? _marginBottom : '6px'"/>
		<bind name="class" value="_middleAligned ? '$MiddleAligned' : ''"/>
		<block type="text">
			<styleClass value="$TextHeaderBigDefault"/>
			<bind name="class" value="_class"/>
			<bind name="style" value="'leading'; _leading ? _leading : 0"/>
			<bind name="style" value="'textAlign'; _textAlign ? _textAlign : 'left'"/>
			<bind name="style" value="'maxWidth'; _maxWidth ? _maxWidth : 300"/>
			<bind name="text" value="(_toUpperCase ? toUpperCase(tr(_paragraphText)) : _paragraphText)"/>
			<bind name="substitute" value="	_substitute.mapName ? _substitute.mapName : '';
							_substitute.imageOffset ? _substitute.imageOffset : 0;
							_substitute.map ? _substitute.map : {}"/>
		</block>
	</block>
	<block className="GUIContrast">
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'optionData'"/>
		<styleClass value="$FullsizeAbsolute"/>
		<block className="contrast_panel" type="native">
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="visible" value="optionData.contrast"/>
		</block>
	</block>
	<block className="CheckBox">
		<bind name="controller" value="lesta.unbound.controls.UbInteractiveController"/>
		<block className="checkbox_no_label" type="native">
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="selected" value="switchProperty"/>
		</block>
		<block type="text">
			<styleClass value="$TextHeaderBigDefault"/>
			<style>
				<marginLeft value="23px"/>
				<marginTop value="-3px"/>
				<hitTest value="false"/>
			</style>
			<bind name="style" value="'maxWidth'; _maxTfWidth ? _maxTfWidth : 300"/>
			<bind name="transition" value="rollOver &amp;&amp; !mouseDown; 0.15; {alpha: 0.8}; {alpha: 1}; {alpha: 0.8}; 2"/>
			<bind name="text" value="label"/>
		</block>
	</block>
	<block className="IconSlimClient">
		<bind name="tooltip" value="'SimpleTooltip'; {tooltipText: _isEventLike ? 'IDS_ENTER_IN_FULL_VERSION_FOR_ANNOUNCE_SHIPS' : 'IDS_ENTER_IN_FULL_VERSION_FOR_SHIPS'}"/>
		<block className="game_downloading" type="native"/>
	</block>
	<block className="ShipTitleWithIconAndSilhouette">
		<bind name="primaryEntityDH" value="'shipEntity'; CC.ship; _shipID; 'evUpdate'"/>
		<bind name="watchDH" value="'shipInfo'; ['shipEntity.ship.evUpdate']; shipEntity.ship"/>
		<bind name="watchDH" value="'shipInfo' + 'Slim''; ['shipEntity.slimClientComponent.evUpdate']; shipEntity.slimClientComponent"/>
		<block>
			<block>
				<bind name="instance" value="'ShipTitleWithIconAndLevel'; {_shipID : _shipID}"/>
			</block>
			<block>
				<style>
					<width value="122px"/>
					<height value="22px"/>
					<marginLeft value="12px"/>
					<marginTop value="-2px"/>
				</style>
				<bind name="style" value="'backgroundImage'; 'url:' + shipInfo.pathTinyIcon"/>
			</block>
			<style>
				<flow value="horizontal"/>
			</style>
		</block>
	</block>
	<block className="ShipTitleWithIconAndLevel">
		<bind name="primaryEntityDH" value="'shipOwnEntity'; CC.ownShip; _shipID; 'evUpdate'"/>
		<bind name="watchDH" value="'playerShipInfo'; ['shipOwnEntity.ownShip.evUpdate', 'shipOwnEntity.ownShip.evCrewChanged']; shipOwnEntity.ownShip"/>
		<bind name="primaryEntityDH" value="'shipEntity'; CC.ship; _shipID; 'evUpdate'"/>
		<bind name="watchDH" value="'shipInfo'; ['shipEntity.ship.evUpdate']; shipEntity.ship"/>
		<bind name="watchDH" value="'shipInfo' + 'Slim''; ['shipEntity.slimClientComponent.evUpdate']; shipEntity.slimClientComponent"/>
		<bind name="watchDH" value="'upgradableShipInfo'; ['shipEntity.upgradableShipInfo.evUpdate']; shipEntity.upgradableShipInfo"/>
		<block>
			<style>
				<height value="27px"/>
			</style>
			<block className="icon_wreath" type="native">
				<styleClass value="$MouseDisable"/>
				<style>
					<position value="absolute"/>
					<top value="-1px"/>
				</style>
				<bind name="visible" value="upgradableShipInfo.isElite || shipInfo.isPremium || shipInfo.uiSpecial"/>
				<bind name="gotoAndStop!" value="shipInfo.uiSpecial	? 'special' :
								shipInfo.isPremium 	? 'premium'
													: 'elite'"/>
			</block>
			<block>
				<style>
					<marginLeft value="5px"/>
					<marginTop value="7px"/>
				</style>
				<block className="icon_ship" type="native">
					<styleClass value="$MouseDisable"/>
					<bind name="gotoAndStop!" value="shipInfo.isPremium || shipInfo.uiSpecial 	? shipInfo.subtype + '_P'
																				: shipInfo.subtype"/>
				</block>
			</block>
			<block>
				<style>
					<marginLeft value="6px"/>
					<marginTop value="-2px"/>
				</style>
				<block type="text">
					<styleClass value="$FontShipnameWhite"/>
					<bind name="class" value="shipInfo.isPremium || shipInfo.uiSpecial	? '$FontShipnameGolden'
																		: '$FontShipnameWhite'"/>
					<bind name="text" value="shipInfo.levelRome + ' ' + toUpperCase(tr(shipInfo.nameIDS))"/>
				</block>
			</block>
			<style>
				<flow value="horizontal"/>
			</style>
		</block>
	</block>
	<block className="CharCounter">
		<bind name="transition" value="_string.length &gt; 0; 0.15; {alpha: 0, top:10}; {alpha: 1, top:0}; {alpha: 0, top:10}; 1; 0"/>
		<bind name="tooltip" value="'SimpleTooltip'; {tooltipText: 'IDS_CHARS_LEFT'}"/>
		<style>
			<backgroundColor value="0x01000000"/>
		</style>
		<block type="text">
			<styleClass value="$TextDefault"/>
			<bind name="class" value="_string.length &gt; _maxChars ? '$FontColorUnready' : '$FontColorDefault'"/>
			<bind name="style" value="'alpha'; _string.length &gt; _maxChars ? 1 : 0.6"/>
			<bind name="text" value="_maxChars - _string.length"/>
		</block>
	</block>
	<block className="BusyIndicator">
		<bind name="fade" value="_showBusyIndicator; 0.15; {alpha: 0}; {alpha: 1}; {alpha: 0}; 1; 0.3"/>
		<style>
			<flow value="horizontal"/>
		</style>
		<block className="indicator_busy_small" type="native"/>
		<block type="text">
			<bind name="visible" value="_label.length &gt; 0"/>
			<styleClass value="$TextDefaultTech"/>
			<bind name="class" value="'$Bold'"/>
			<style>
				<marginLeft value="6px"/>
				<marginTop value="-2px"/>
			</style>
			<bind name="text" value="toUpperCase(tr(_label))"/>
		</block>
	</block>
	<block className="FormationPlayerIcon">
		<style>
			<width value="15px"/>
		</style>
		<block className="formation_player_status" type="native">
			<bind name="gotoAndStop!" value="_isEmptySlot				?	('empty_slot_' + _formationType) :
							isOtherDivision				?	(isCommander	? 'player_ready_other_division_commander'
																			: 'player_ready_other_division') :
							isInBattle &amp;&amp; _isWardog		?	('player_in_battle_' + _formationType + '_merc') :
							isInBattle					?	('player_in_battle_' + _formationType) :
							_isWardog &amp;&amp; isReady		?	('player_ready_' + _formationType + '_merc') :
							_isWardog &amp;&amp; !isReady		?	('player_not_ready_' + _formationType + '_merc') :
							isCommander &amp;&amp; isReady		?	('commander_' + _formationType) :
							isCommander &amp;&amp; !isReady		?	('commander_not_ready_' +_formationType) :
							!isCommander &amp;&amp; isReady		?	('player_ready_' + _formationType) :
							!isCommander &amp;&amp; !isReady	?	('player_not_ready_' + _formationType)
														:	'empty_slot_division'"/>
			<style>
				<marginTop value="3px"/>
			</style>
		</block>
	</block>
	<css name="$TextBackBtn">
		<mouseChildren value="false"/>
		<mouseEnabled value="false"/>
		<fontFamily value="$WWSDefaultFontBold"/>
		<fontSize value="17"/>
		<selectable value="false"/>
		<textColor value="0x9CBABA"/>
	</css>
	<block className="BackButton">
		<style>
			<height value="30px"/>
		</style>
		<block className="button_dock" type="native">
			<bind name="tooltip" value="'SimpleTooltip'; {tooltipText: _text}"/>
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="dispatch" value="'buttonClick'; _event ? _event : null ; _eventData ? _eventData : {}"/>
			<bind name="action" value="'buttonClick'; _action ? _action : null; _actionParams ? _actionParams : {}"/>
			<params>
				<param name="focusable" value="false"/>
			</params>
		</block>
		<block>
			<styleClass value="$MiddleVAligned"/>
			<style>
				<hitTest value="false"/>
			</style>
			<block className="icon_navigate" type="native">
				<bind name="gotoAndStop!" value="'left'"/>
				<style>
					<marginLeft value="6px"/>
				</style>
			</block>
			<block>
				<styleClass value="$MiddleVAligned"/>
				<style>
					<marginLeft value="2px"/>
					<marginRight value="7px"/>
				</style>
				<block>
					<style>
						<marginTop value="-4px"/>
					</style>
					<block type="text">
						<styleClass value="$TextBackBtn"/>
						<bind name="class" value="'$FontColorAlmostBlack'"/>
						<style>
							<position value="absolute"/>
							<alpha value="0.4"/>
							<top value="1px"/>
						</style>
						<bind name="text" value="_text"/>
					</block>
					<block type="text">
						<styleClass value="$TextBackBtn"/>
						<bind name="class" value="'$FontColorAlmostBlack'"/>
						<style>
							<position value="absolute"/>
							<alpha value="0.2"/>
							<top value="-1px"/>
						</style>
						<bind name="text" value="_text"/>
					</block>
					<block type="text">
						<styleClass value="$TextBackBtn"/>
						<bind name="class" value="'$FontColorAlmostBlack'"/>
						<style>
							<position value="absolute"/>
							<alpha value="0.2"/>
							<left value="1px"/>
						</style>
						<bind name="text" value="_text"/>
					</block>
					<block type="text">
						<styleClass value="$TextBackBtn"/>
						<bind name="class" value="'$FontColorAlmostBlack'"/>
						<style>
							<position value="absolute"/>
							<alpha value="0.2"/>
							<left value="-1px"/>
						</style>
						<bind name="text" value="_text"/>
					</block>
					<block type="text">
						<styleClass value="$TextBackBtn"/>
						<bind name="class" value="'$FontColorBlueish'"/>
						<bind name="text" value="_text"/>
					</block>
				</block>
			</block>
			<style>
				<flow value="horizontal"/>
			</style>
		</block>
	</block>
	<block className="TeamStructure">
		<bind name="controller" value="lesta.dialogs.battle_window_controllers.uss_controllers.ControllerBattleStats"/>
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'gameInfo'"/>
		<bind name="firstEntityDH" value="'prefs'; CC.prefsMarker"/>
		
		<bind name="collectionDH" value="CC.userPrefs; 'userPrefsCollection'"/>
		<bind name="entityDH" value="'userPrefsEntity'; userPrefsCollection[0].id"/>
		<bind name="watchDH" value="'userPrefs'; ['userPrefsEntity.userPrefs.evUserPrefsChanged']; userPrefsEntity.userPrefs.userPrefs"/>
		
		<bind name="watchDH" value="'earsConfigEnabled'; ['prefs.prefsBattle.evUpdate']; prefs.prefsBattle.enableEars"/>
		<bind name="watch" value="'enableEars';	(earsConfigEnabled &amp;&amp;
								(gameInfo.battleType != BattleTypes.INTRO_MISSION) &amp;&amp;
								(gameInfo.battleType != BattleTypes.PVE_BATTLE))"/>
		<bind name="watch" value="'langRU'; (userPrefs.elementsGroupExpand.langRU == null)? ((tr('IDS_MENU_SETTINGS') == 'НАСТРОЙКИ') ? true : false) : userPrefs.elementsGroupExpand.langRU"/>
		
		<block>
			<styleClass value="$Fullsize"/>
			<bind name="instance" value="'EarsContent'; enableEars ? {_selfPlayer: selfPlayer} : null"/>
		</block>
		
		<bind name="instance" value="'EarsSettings';{userPrefs:userPrefs}"/>
		<block type="text">
            <bind name='text' value="langRU ? 'Настройка панелей' : 'Team lineups settings'"/> 
            <styleClass value="$TextDefault"/>
            <style>
				<!--<fontSize value="13"/>-->
				<position value="absolute"/>
				<top value="35"/>
				<left value="30"/>
            </style>
        </block>
		<block className="button_settings_small" type="native">
			<bind name="watch" value=" 'showSettingsBox'; (userPrefs.elementsGroupExpand.showSettingsBox == null) ? false : userPrefs.elementsGroupExpand.showSettingsBox "/>
            <bind name="catch" value="'switchshowSettingsBox'; { showSettingsBox: !showSettingsBox }; 'saveshowSettingsBox'"/>
            <bind name="action" value="'saveshowSettingsBox' ; 'setUserPref' ; {value: showSettingsBox, name: 'elementsGroupExpand', subName: 'showSettingsBox'}"/>
			<bind name="dispatch" value="'click'; 'switchshowSettingsBox'"/>
			<style>
				<left value="5px"/>
				<top value="35px"/>
				<position value="absolute"/>
			</style>
		</block>
		
	</block>
	<block className="EarsContent">
		<style>
			<width value="100%"/>
			<height value="100%"/>
		</style>
		<block>
			<style>
				<left value="0px"/>
				<top value="67px"/>
				<position value="absolute"/>
			</style>
			<bind name="collectionRepeatDH" value="CC.avatar; 'TeamStructureRendererAllies'; 'team.ally.sortedAlive'; {_selfPlayer: _selfPlayer}"/>
		</block>
		<block>
			<style>
				<right value="0px"/>
				<top value="67px"/>
				<position value="absolute"/>
			</style>
			<bind name="collectionRepeatDH" value="CC.avatar; 'TeamStructureRendererEnemies'; 'team.enemy.sortedAlive'; {_selfPlayer: _selfPlayer}"/>
		</block>
	</block>
	<block className="EarsSettings">
        <bind name="visible" value="showSettingsBox"/>
        <bind name="var" value="{showStats:false}"/>  <!-- showStats -->
		<bind name='file' value="'scriptsExist';'../../scripts/client/mods/ml-lastomer.pyc'"/>
		
		<bind name="collectionDH" value="CC.userPrefs; 'userPrefsCollection'"/>
        <bind name="entityDH" value="'userPrefsEntity'; userPrefsCollection[0].id"/>
        <bind name="watchDH" value="'userPrefs'; ['userPrefsEntity.userPrefs.evUserPrefsChanged']; userPrefsEntity.userPrefs.userPrefs"/>
        
        <bind name="draggable" value="'SBDragZone'; 'IMPosition'; 'SB'"/>
        <bind name="watch" value="'SBPositionX'; (userPrefs.IMPositionX.SB == null)  ? (stageSize.x / 3) :  userPrefs.IMPositionX.SB"/>
        <bind name="watch" value="'SBPositionY'; (userPrefs.IMPositionY.SB == null)  ? (stageSize.y / 5) :  userPrefs.IMPositionY.SB"/>
        <bind name="left" value="SBPositionX"/>
        <bind name="top" value="SBPositionY"/> 
               
        <bind name="watch" value=" 'showSettingsBox'; (userPrefs.elementsGroupExpand.showSettingsBox == null) ? true : userPrefs.elementsGroupExpand.showSettingsBox "/> 
        <bind name="catch" value="'switchshowSettingsBox'; { showSettingsBox: !showSettingsBox }; 'saveshowSettingsBox'"/>
		
		<bind name="appear" value="'addedToStage'; 0.6; 0; {alpha: 0}; {alpha: 1}"/>
        <style>
            <position value="absolute"/>
            <backgroundColor value="0x33001000"/>
        </style>
        
        <bind name="instance" value="'DropShadow'; {}"/>
        
        <block className="contrast_panel" type="native">
			<styleClass value="$FullsizeAbsolute"/>
			<bind name="visible" value="showSettingsBox"/>
			<style>
				<marginTop value="-2px"/>
				<marginBottom value="-2px"/>
			</style>
		</block>

        <block> 
            <style>
                <marginBottom value="3px"/>
                <marginTop value="2px"/>
                <marginRight value="5px"/>
                <marginLeft value="5px"/>
            </style>
            <block className="captionMenu">
                <block type="text">
                    <bind name='text' value="langRU ? 'Настройки панелей команд' : 'Team lineups settings'"/>
                    <styleClass value="$TextDefaultBold"/>
                    <style>
                        <fontSize value="18"/>
                    </style>
                </block>
                <block>
                    <style>
                        <position value="absolute"/>
                        <right value="5px"/>
                        <marginTop value="5px"/>
                    </style>
                    <block className="button_close" type="native">
                        <bind name="dispatch" value="'click'; 'switchshowSettingsBox'"/>
                    </block>
                </block>
				<bind name="style" value="'width'; (((staticTTX || !earsEnabled) ? 270 : 545) + 'px')"/>
                
                <bind name="instance" value="'HorizontalDivider'; {}"/>
                <params>
                    <param name="name" value="SBDragZone"/>
                </params>
			</block>
			
			<block className="Loc_Tab">
				<bind name="style" value="'marginLeft'; (((staticTTX || !earsEnabled) ? 168 : 443) + 'px')"/>
				<style>
					<marginLeft value="168"/>
                    <marginTop value="3px"/>
                    <marginBottom value="0px"/>
				</style>
				<bind name="watch" value="'langRU'; (userPrefs.elementsGroupExpand.langRU == null)? ((tr('IDS_MENU_SETTINGS') == 'НАСТРОЙКИ') ? true : false) : userPrefs.elementsGroupExpand.langRU"/>
                <bind name="catch" value="'switchLangRU'"/>
				<bind name="changeDispatch" value="langRU; 'saveLangRU'"/>				
                <bind name="action" value="'saveLangRU' ; 'setUserPref' ; {value: langRU, name: 'elementsGroupExpand', subName: 'langRU'}"/>
                <block className="tab_bar_bg" type="native">
					<style>
						<widthByChildren value="true"/>
						<heightByChildren value="true"/>
					</style>
					<block>
                    <style>
						<marginRight value="2px"/>
						<flow value="horizontal"/>
					</style>
						<block className="MainTabSmall">
							<block className="tab_bar_item_small" type="native">
								<style>
									<width value="50"/>
									<height value="25"/>											
								</style>
								<bind name="selected" value="langRU"/>
								<bind name="dispatch" value="'buttonClick'; 'switchLangRU'; {langRU: true}"/>
								<bind name="label" value="'RUS'"/>
							</block>
						</block>
						<block className="MainTabSmall">
							<block className="tab_bar_item_small" type="native">
								<style>
									<width value="50"/>
									<height value="25"/>
								</style>
								<bind name="selected" value="!langRU"/>
								<bind name="dispatch" value="'buttonClick'; 'switchLangRU'; {langRU: false}"/>
								<bind name="label" value="'ENG'"/>
							</block>
						</block>
					</block>
				</block>
			</block>
			
			<block className="showRows">
				<style>
					<marginTop value="6px"/>
					<marginBottom value="0px"/>
				</style>
				<bind name="watch" value="'earsEnabled'; (userPrefs.elementsGroupExpand.earsEnabled == null) ? true : userPrefs.elementsGroupExpand.earsEnabled "/>
				<bind name="catch" value="'switchEarsEnabled'; { earsEnabled: !earsEnabled }; 'saveEarsEnabled'"/>
				<bind name="action" value="'saveEarsEnabled' ; 'setUserPref' ; {value: earsEnabled, name: 'elementsGroupExpand', subName: 'earsEnabled'}"/>
                           
				<bind name="instance" value="'CheckBox'; {switchProperty: earsEnabled, label: (langRU ? 'Отображать панели' : 'Show team lineups'), _maxTfWidth: 250}"/>
				<bind name="dispatch" value="'click'; 'switchEarsEnabled'"/>
			</block>
			
			<block className="full_tab_settings">	
				<bind name="visible" value="earsEnabled"/>
				<style>
					<flow value="horizontal"/>
					<widthByChildren value="true"/>
					<heightByChildren value="true"/>
				</style>
				<block className="main_tab_settings">>
					<block className="Type_Specifications">
						<!--<bind name="visible" value="false"/>-->
						<block type="text">
							<bind name='text' value="langRU ? 'Тип ТТХ:' : 'Type specifications:'"/>
							<styleClass value="$TextDefault"/>
						</block>
						<style>
							<marginLeft value="25px"/>
							<marginTop value="0px"/>
							<marginBottom value="3px"/>
						</style>
						<bind name="watch" value="'staticTTX'; (userPrefs.elementsGroupExpand.staticTTX == null)? true : userPrefs.elementsGroupExpand.staticTTX"/>
						<bind name="catch" value="'switchStaticTTX'"/>
						<bind name="changeDispatch" value="staticTTX; 'saveStaticTTX'"/>				
						<bind name="action" value="'saveStaticTTX' ; 'setUserPref' ; {value: staticTTX, name: 'elementsGroupExpand', subName: 'staticTTX'}"/>
						<block className="tab_bar_bg" type="native">
							<style>
								<widthByChildren value="true"/>
								<heightByChildren value="true"/>
							</style>
							<block>
								<style>
									<flow value="horizontal"/>
								</style>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="120"/>
											<height value="25"/>											
										</style>
										<bind name="selected" value="staticTTX"/>
										<bind name="dispatch" value="'buttonClick'; 'switchStaticTTX'; {staticTTX: true}"/>
										<bind name="label" value="langRU ? 'Статические ТТХ' : 'Static specifications'"/>
									</block>
								</block>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="120"/>
											<height value="25"/>
										</style>
										<bind name="selected" value="!staticTTX"/>
										<bind name="dispatch" value="'buttonClick'; 'switchStaticTTX'; {staticTTX: false}"/>
										<bind name="label" value="langRU ? 'Динамические ТТХ' : 'dynamic specifications'"/>
									</block>
								</block>
							</block>
						</block>
					</block>

					<block className="earsPreferences">
						
				
						<block className="var_Icons">
							<bind name="visible" value="staticTTX"/>
							<block type="text">
								<bind name='text' value="langRU ? 'Варианты иконок:' : 'Version of icons:'"/>
								<styleClass value="$TextDefault"/>
							</block>
							<style>
								<marginLeft value="25"/>
								<marginTop value="0px"/>
								<marginBottom value="3px"/>
							</style>
							<bind name="watch" value="'varIcons'; ((userPrefs.chatBoxWidth.varIcons != 1) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 2) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 3) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 4) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 5) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 6) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 7)) ? 2 : userPrefs.chatBoxWidth.varIcons"/>
							<bind name="catch" value="'switchVarIcons'"/>
							<bind name="changeDispatch" value="varIcons; 'saveVarIcons'"/>				
							<bind name="action" value="'saveVarIcons' ; 'setUserPref' ; {value: varIcons, name: 'chatBoxWidth', subName: 'varIcons'}"/>
							<block className="tab_bar_bg" type="native">
								<style>
									<widthByChildren value="true"/>
									<heightByChildren value="true"/>
								</style>
								<block>
									<style>
										<marginLeft value="2px"/>
										<marginRight value="2px"/>
										<flow value="horizontal"/>
									</style>
									<block className="MainTabSmall">
										<block className="tab_bar_item_small" type="native">
											<style>
												<width value="60px"/>
												<height value="25px"/>
											</style>
											<bind name="selected" value="varIcons == '1'"/>
											<bind name="dispatch" value="'buttonClick'; 'switchVarIcons'; {varIcons: '1'}"/>
											<bind name="label" value="langRU ? 'Комби' : 'Combi'"/>
										</block>
									</block>
									<block className="MainTabSmall">
										<block className="tab_bar_item_small" type="native">
											<style>
												<width value="60px"/>
												<height value="25px"/>
											</style>
											<bind name="selected" value="varIcons == 2"/>
											<bind name="dispatch" value="'buttonClick'; 'switchVarIcons'; {varIcons: 2}"/>
											<bind name="label" value="langRU ? 'Мини' : 'Mini'"/>
										</block>
									</block>
									<block className="MainTabSmall">
										<block className="tab_bar_item_small" type="native">
											<style>
												<width value="60px"/>
												<height value="25px"/>
											</style>
											<bind name="selected" value="varIcons == 3"/>
											<bind name="dispatch" value="'buttonClick'; 'switchVarIcons'; {varIcons: 3}"/>
											<bind name="label" value="langRU ? 'Арт.' : 'Artillery'"/>
										</block>
									</block>
									<block className="MainTabSmall">
										<block className="tab_bar_item_small" type="native">
											<style>
												<width value="60px"/>
												<height value="25px"/>
											</style>
											<bind name="selected" value="varIcons == 4"/>
											<bind name="dispatch" value="'buttonClick'; 'switchVarIcons'; {varIcons: 4}"/>
											<bind name="label" value="langRU ? 'Арт.лайт' : 'Art_lite'"/>
										</block>
									</block>
								</block>
								<block>
									<style>
										<marginLeft value="2px"/>
										<marginRight value="2px"/>
										<flow value="horizontal"/>
									</style>
									<block className="MainTabSmall">
										<block className="tab_bar_item_small" type="native">
											<style>
												<width value="60px"/>
												<height value="25px"/>
											</style>
											<bind name="selected" value="varIcons == 5"/>
											<bind name="dispatch" value="'buttonClick'; 'switchVarIcons'; {varIcons: 5}"/>
											<bind name="label" value="langRU ? 'Авиа' : 'Aircraft'"/>
										</block>
									</block>
									<block className="MainTabSmall">
										<block className="tab_bar_item_small" type="native">
											<style>
												<width value="90px"/>
												<height value="25px"/>
											</style>
											<bind name="selected" value="varIcons == 6"/>
											<bind name="dispatch" value="'buttonClick'; 'switchVarIcons'; {varIcons: 6}"/>
											<bind name="label" value="langRU ? 'С флагами' : 'With Flags'"/>
										</block>
									</block>
									<block className="MainTabSmall">
										<block className="tab_bar_item_small" type="native">
											<style>
												<width value="90px"/>
												<height value="25px"/>
											</style>
											<bind name="selected" value="varIcons == 7"/>
											<bind name="dispatch" value="'buttonClick'; 'switchVarIcons'; {varIcons: 7}"/>
											<bind name="label" value="langRU ? 'Без иконок' : 'Without Icons'"/>
										</block>
									</block>
								</block>
							</block>
						</block>	
				
				
				
						<block className="Width_nickname">
							<style>
								<marginLeft value="15"/>
								<marginTop value="3px"/>
								<marginBottom value="3px"/>
							</style>
							<block type="text">
								<bind name='text' value="(langRU ? 'Ширина ника' : 'Width nickname') + ' (' + widthNickname + 'px):'"/>
									<styleClass value="$TextDefault"/>
							</block>
							<block> 
								<style>
									<marginTop value="0px"/>
									<marginBottom value="2px"/>							
								</style> 
								<bind name="watch" value="'widthNickname'; (userPrefs.chatBoxWidth.widthNickname == null) ? 40 : format(userPrefs.chatBoxWidth.widthNickname,0)"/>						
								<bind name="catch" value="'switchWidthNickname'"/>
								<bind name="action" value="'switchWidthNickname' ; 'setUserPref' ; {value: widthNickname, name: 'chatBoxWidth', subName: 'widthNickname'}"/> 
								<block className="slider_default" type="native">
									<style>
										<width value="240"/>
										<marginTop value="6px"/>
									</style>
									<bind name="minimum" value="30"/>
									<bind name="maximum" value="120"/>
									<bind name="snapping" value="true"/>
									<bind name="snapInterval" value="1"/>	
									<bind name="liveDragging" value="true"/>
									<bind name="sync" value="'value'; 'valueChange'; widthNickname; 'switchWidthNickname'"/>
								</block>
							</block>
						</block>
						
						<block className="Width_shipname">
							<bind name="visible" value="(varIcons == 7) &amp;&amp; staticTTX"/>
							<style>
								<marginLeft value="15"/>
								<marginTop value="3px"/>
								<marginBottom value="3px"/>
							</style>
							<block type="text">
								<bind name='text' value="(langRU ? 'Ширина названия корабля' : 'Width Shipname') + ' (' + widthShipname + 'px):'"/>
									<styleClass value="$TextDefault"/>
							</block>
							<block> 
								<style>
									<marginTop value="0px"/>
									<marginBottom value="2px"/>							
								</style> 
								<bind name="watch" value="'widthShipname'; (userPrefs.chatBoxWidth.widthShipname == null) ? 50 : format(userPrefs.chatBoxWidth.widthShipname,0)"/>						
								<bind name="catch" value="'switchWidthShipname'"/>
								<bind name="action" value="'switchWidthShipname' ; 'setUserPref' ; {value: widthShipname, name: 'chatBoxWidth', subName: 'widthShipname'}"/> 
								<block className="slider_default" type="native">
									<style>
										<width value="240"/>
										<marginTop value="6px"/>
									</style>
									<bind name="minimum" value="40"/>
									<bind name="maximum" value="140"/>
									<bind name="snapping" value="true"/>
									<bind name="snapInterval" value="1"/>	
									<bind name="liveDragging" value="true"/>
									<bind name="sync" value="'value'; 'valueChange'; widthShipname; 'switchWidthShipname'"/>
								</block>
							</block>
						</block>
				
						<block className="Scale_Tabs">
							<block type="text">
								<bind name='text' value="langRU ? 'Масштаб панелей:' : 'Scale:'"/>
								<styleClass value="$TextDefault"/>
							</block>
							<style>
								<marginLeft value="25"/>
								<marginTop value="0px"/>
								<marginBottom value="6px"/>
							</style>
							<bind name="watch" value="'scaleIcons'; ((userPrefs.chatBoxWidth.scaleIcons != 80) &amp;&amp; (userPrefs.chatBoxWidth.scaleIcons != 90) &amp;&amp; (userPrefs.chatBoxWidth.scaleIcons != 100)) ? 90 : userPrefs.chatBoxWidth.scaleIcons"/>
							<bind name="catch" value="'switchScaleIcons'"/>
							<bind name="changeDispatch" value="scaleIcons; 'saveScaleIcons'"/>				
							<bind name="action" value="'saveScaleIcons' ; 'setUserPref' ; {value: scaleIcons, name: 'chatBoxWidth', subName: 'scaleIcons'}"/>
							<block className="tab_bar_bg" type="native">
								<style>
									<widthByChildren value="true"/>
									<heightByChildren value="true"/>
								</style>
								<block>
									<style>
										<marginLeft value="2"/>
										<marginRight value="2"/>
										<flow value="horizontal"/>
									</style>
									<block className="MainTabSmall">
										<block className="tab_bar_item_small" type="native">
											<style>
												<width value="60px"/>
												<height value="25px"/>
											</style>
											<bind name="selected" value="scaleIcons == 100"/>
											<bind name="dispatch" value="'buttonClick'; 'switchScaleIcons'; {scaleIcons: 100}"/>
											<bind name="label" value="'100%'"/>
										</block>
									</block>
									<block className="MainTabSmall">
										<block className="tab_bar_item_small" type="native">
											<style>
												<width value="60px"/>
												<height value="25px"/>
											</style>
											<bind name="selected" value="scaleIcons == 90"/>
											<bind name="dispatch" value="'buttonClick'; 'switchScaleIcons'; {scaleIcons: 90}"/>
											<bind name="label" value="'90%'"/>
										</block>
									</block>
									<block className="MainTabSmall">
										<block className="tab_bar_item_small" type="native">
											<style>
												<width value="60px"/>
												<height value="25px"/>
											</style>
											<bind name="selected" value="scaleIcons == 80"/>
											<bind name="dispatch" value="'buttonClick'; 'switchScaleIcons'; {scaleIcons: 80}"/>
											<bind name="label" value="'80%'"/>
										</block>
									</block>
								</block>
							</block>
						</block>
			
						<block className="showDead">
							<style>
								<marginBottom value="3px"/>
								<marginBottom value="8px"/>
							</style>
							<bind name="watch" value="'deadEnabled'; (userPrefs.elementsGroupExpand.deadEnabled == null) ? true : userPrefs.elementsGroupExpand.deadEnabled "/>
							<bind name="catch" value="'switchDeadEnabled'; { deadEnabled: !deadEnabled }; 'saveDeadEnabled'"/>
							<bind name="action" value="'saveDeadEnabled' ; 'setUserPref' ; {value: deadEnabled, name: 'elementsGroupExpand', subName: 'deadEnabled'}"/>
                            
							<bind name="instance" value="'CheckBox'; {switchProperty: deadEnabled, label: (langRU ? 'Отображать убитых' : 'Show dead'), _maxTfWidth: 250}"/>
							<bind name="dispatch" value="'click'; 'switchDeadEnabled'"/>
						</block>
			
						<block className="showHP">
							<style>
								<marginBottom value="8px"/>
							</style>
							<bind name="watch" value="'hpEnabled'; (userPrefs.elementsGroupExpand.hpEnabled == null) ? true : userPrefs.elementsGroupExpand.hpEnabled "/>
							<bind name="catch" value="'switchHpEnabled'; { hpEnabled: !hpEnabled }; 'saveHpEnabled'"/>
							<bind name="action" value="'saveHpEnabled' ; 'setUserPref' ; {value: hpEnabled, name: 'elementsGroupExpand', subName: 'hpEnabled'}"/>                  
							<bind name="instance" value="'CheckBox'; {switchProperty: hpEnabled, label: (langRU ? 'Отображать полоски HP' : 'Show HP'), _maxTfWidth: 250}"/>
							<bind name="dispatch" value="'click'; 'switchHpEnabled'"/>
						</block>			
			
						<block className="HP_Tabs">
							<bind name="visible" value="hpEnabled"/>
							<style>
								<marginLeft value="25"/>
								<marginTop value="0px"/>
								<marginBottom value="0px"/>
							</style>
							<bind name="watch" value="'indexHP'; (userPrefs.chatBoxWidth.indexHP == null)? 1 : userPrefs.chatBoxWidth.indexHP"/>
							<bind name="catch" value="'switchIndexHP'"/>
							<bind name="changeDispatch" value="indexHP; 'saveIndexHP'"/>				
							<bind name="action" value="'saveIndexHP' ; 'setUserPref' ; {value: indexHP, name: 'chatBoxWidth', subName: 'indexHP'}"/>
							<block className="tab_bar_bg" type="native">
								<style>
									<widthByChildren value="true"/>
									<heightByChildren value="true"/>
								</style>
								<block>
									<style>
										<marginLeft value="2px"/>
										<marginRight value="2px"/>
										<flow value="horizontal"/>
									</style>
									<block className="MainTabSmall">
										<block className="tab_bar_item_small" type="native">
											<style>
												<width value="120px"/>
												<height value="25px"/>
											</style>
											<bind name="selected" value="indexHP == 1"/>
											<bind name="dispatch" value="'buttonClick'; 'switchIndexHP'; {indexHP: 1}"/>
											<bind name='label' value="langRU ? 'Узкие под ником' : 'Narrow under nickname'"/>
										</block>
									</block>
									<block className="MainTabSmall">
										<bind name="visible" value="nameEnabled"/>
										<block className="tab_bar_item_small" type="native">
											<style>
												<width value="120px"/>
												<height value="25px"/>
											</style>
											<bind name="selected" value="indexHP == 2"/>
											<bind name="dispatch" value="'buttonClick'; 'switchIndexHP'; {indexHP: 2}"/>
											<bind name='label' value="langRU ? 'Широкие за ником' : 'Wide over nickname'"/>
										</block>
									</block>
								</block>
							</block>
						</block> 
				
						<block className="HP_Alpha">
							<bind name="visible" value="hpEnabled"/>
							<style>
								<marginLeft value="15"/>
                                <marginTop value="3px"/>
                                <marginBottom value="3px"/>
                            </style>
							<block type="text">
								<bind name='text' value="(langRU ? 'Прозрачность HP' : 'HP transparency') + ' (' + alphaHP + '%):'"/>
									<styleClass value="$TextDefault"/>
							</block>
							<block> 
								<style>
									<marginTop value="0px"/>
									<marginBottom value="2px"/>							
								</style> 
								<bind name="watch" value="'alphaHP'; (userPrefs.chatBoxWidth.alphaHP == null || (format((userPrefs.chatBoxWidth.alphaHP/10),0) &lt; 0) || (format((userPrefs.chatBoxWidth.alphaHP/10),0) &gt; 9)) ? 0 : ((format((userPrefs.chatBoxWidth.alphaHP/10),0))*10)"/>						
								<bind name="catch" value="'switchAlphaHP'"/>
								<bind name="action" value="'switchAlphaHP' ; 'setUserPref' ; {value: format(alphaHP,0), name: 'chatBoxWidth', subName: 'alphaHP'}"/> 
								<block className="slider_default" type="native">
									<style>
										<width value="240"/>
										<marginTop value="6px"/>
									</style>
									<bind name="minimum" value="0"/>
									<bind name="maximum" value="90"/>
									<bind name="snapping" value="true"/>
									<bind name="snapInterval" value="1"/>	
									<bind name="liveDragging" value="true"/>
									<bind name="sync" value="'value'; 'valueChange'; alphaHP; 'switchAlphaHP'"/>
								</block>
							</block>
						</block>
						<block className="show_Radar">
							<style>
								<marginBottom value="8px"/>
							</style>
							<bind name="watch" value="'showRadar'; (userPrefs.elementsGroupExpand.showRadar == null) ? true : userPrefs.elementsGroupExpand.showRadar "/>
							<bind name="catch" value="'switchShowRadar'; { showRadar: !showRadar }; 'saveShowRadar'"/>
							<bind name="action" value="'saveShowRadar' ; 'setUserPref' ; {value: showRadar, name: 'elementsGroupExpand', subName: 'showRadar'}"/>                  
							<bind name="instance" value="'CheckBox'; {switchProperty: showRadar, label: (langRU ? 'Показывать налиие РЛС' : 'Show the presence of radar'), _maxTfWidth: 250}"/>
							<bind name="dispatch" value="'click'; 'switchShowRadar'"/>
						</block>
						
						<block className="show_ClanTag">
							<style>
								<marginBottom value="8px"/>
							</style>
							<bind name="watch" value="'showClanTag'; (userPrefs.elementsGroupExpand.showClanTag == null) ? true : userPrefs.elementsGroupExpand.showClanTag "/>
							<bind name="catch" value="'switchshowClanTag'; { showClanTag: !showClanTag }; 'saveshowClanTag'"/>
							<bind name="action" value="'saveshowClanTag' ; 'setUserPref' ; {value: showClanTag, name: 'elementsGroupExpand', subName: 'showClanTag'}"/>                  
							<bind name="instance" value="'CheckBox'; {switchProperty: showClanTag, label: (langRU ? 'Показывать клантэг' : 'Show clan tag'), _maxTfWidth: 250}"/>
							<bind name="dispatch" value="'click'; 'switchshowClanTag'"/>
						</block>
						
						<block className="show_ClanIcon">
							<style>
								<marginBottom value="8px"/>
							</style>
							<bind name="watch" value="'showClanIcon'; (userPrefs.elementsGroupExpand.showClanIcon == null) ? true : userPrefs.elementsGroupExpand.showClanIcon "/>
							<bind name="catch" value="'switchshowClanIcon'; { showClanIcon: !showClanIcon }; 'saveshowClanIcon'"/>
							<bind name="action" value="'saveshowClanIcon' ; 'setUserPref' ; {value: showClanIcon, name: 'elementsGroupExpand', subName: 'showClanIcon'}"/>                  
							<bind name="instance" value="'CheckBox'; {switchProperty: showClanIcon, label: (langRU ? 'Показывать иконку клана' : 'Show clan icon'), _maxTfWidth: 250}"/>
							<bind name="dispatch" value="'click'; 'switchshowClanIcon'"/>
						</block>
				
						<block className="show_PROAlfa">
							<style>
								<marginBottom value="8px"/>
							</style>
							<bind name="visible" value="showStats &amp;&amp; scriptsExist"/>
							<bind name="watch" value="'showPROAlfa'; (userPrefs.elementsGroupExpand.showPROAlfa == null) ? true : userPrefs.elementsGroupExpand.showPROAlfa "/>
							<bind name="catch" value="'switchShowPROAlfa'; { showPROAlfa: !showPROAlfa }; 'saveShowPROAlfa'"/>
							<bind name="action" value="'saveShowPROAlfa' ; 'setUserPref' ; {value: showPROAlfa, name: 'elementsGroupExpand', subName: 'showPROAlfa'}"/>                  
							<bind name="instance" value="'CheckBox'; {switchProperty: showPROAlfa, label: (langRU ? 'Показывать коэффициент PROAlfa' : 'Show PROAlfa'), _maxTfWidth: 250}"/>
							<bind name="dispatch" value="'click'; 'switchShowPROAlfa'"/>
						</block>
						<block className="show_WinRate">
							<style>
								<marginBottom value="8px"/>
							</style>
							<bind name="visible" value="showStats &amp;&amp; scriptsExist"/>
							<bind name="watch" value="'showWinRate'; (userPrefs.elementsGroupExpand.showWinRate == null) ? true : userPrefs.elementsGroupExpand.showWinRate "/>
							<bind name="catch" value="'switchShowWinRate'; { showWinRate: !showWinRate }; 'saveShowWinRate'"/>
							<bind name="action" value="'saveShowWinRate' ; 'setUserPref' ; {value: showWinRate, name: 'elementsGroupExpand', subName: 'showWinRate'}"/>                  
							<bind name="instance" value="'CheckBox'; {switchProperty: showWinRate, label: (langRU ? 'Показывать процент побед' : 'Show winrate'), _maxTfWidth: 250}"/>
							<bind name="dispatch" value="'click'; 'switchShowWinRate'"/>
						</block>
						<block className="show_AverageDamage">
							<style>
								<marginBottom value="8px"/>
							</style>
							<bind name="visible" value="showStats &amp;&amp; scriptsExist"/>
							<bind name="watch" value="'showAverageDamage'; (userPrefs.elementsGroupExpand.showAverageDamage == null) ? false : userPrefs.elementsGroupExpand.showAverageDamage "/>
							<bind name="catch" value="'switchShowAverageDamage'; { showAverageDamage: !showAverageDamage }; 'saveShowAverageDamage'"/>
							<bind name="action" value="'saveShowAverageDamage' ; 'setUserPref' ; {value: showAverageDamage, name: 'elementsGroupExpand', subName: 'showAverageDamage'}"/>                  
							<bind name="instance" value="'CheckBox'; {switchProperty: showAverageDamage, label: (langRU ? 'Показывать средний урон' : 'Show average damage'), _maxTfWidth: 250}"/>
							<bind name="dispatch" value="'click'; 'switchShowAverageDamage'"/>
						</block>
					</block>
				</block>
				
				
				<block className="window_divider_vertical" type="native">
					<bind name="visible" value="!staticTTX"/>
					<style>
						<marginLeft value="5px"/>
						<marginTop value="-20px"/>
						<height value="100%"/>
						<width value="2px"/>
					</style>
				</block>
				
				<block className="dynamic_specifications_preferences">
					<bind name="visible" value="!staticTTX"/>
					<block type="text">
						<bind name='text' value="langRU ? 'Настройки панелей с динамическими ТТХ:' : 'Dynamic specifications preferences:'"/>
						<styleClass value="$TextDefaultBold"/>
                    <style>
                        <fontSize value="16"/>
                    </style>
					</block>
					<style>
						<marginLeft value="5px"/>
						<marginTop value="-25px"/>
						<marginBottom value="3px"/>
					</style>
					<block className="var_Background_Icons">
						<block type="text">
							<bind name='text' value="langRU ? 'Фоновые иконки:' : 'Background icons:'"/>
							<styleClass value="$TextDefault"/>
						</block>
						<style>
							<marginLeft value="25"/>
							<marginTop value="3px"/>
							<marginBottom value="0px"/>
						</style>
						<bind name="watch" value="'varBackgroundIcons'; ((userPrefs.chatBoxWidth.varBackgroundIcons != 1) &amp;&amp; (userPrefs.chatBoxWidth.varBackgroundIcons != 2) &amp;&amp; (userPrefs.chatBoxWidth.varBackgroundIcons != 3)) ? 2 : userPrefs.chatBoxWidth.varBackgroundIcons"/>
						<bind name="catch" value="'switchVarBackgroundIcons'"/>
						<bind name="changeDispatch" value="varBackgroundIcons; 'saveVarBackgroundIcons'"/>				
						<bind name="action" value="'saveVarBackgroundIcons' ; 'setUserPref' ; {value: varBackgroundIcons, name: 'chatBoxWidth', subName: 'varBackgroundIcons'}"/>
						<block className="tab_bar_bg" type="native">
							<style>
								<widthByChildren value="true"/>
								<heightByChildren value="true"/>
							</style>
							<block>
								<style>
									<marginLeft value="2px"/>
									<marginRight value="2px"/>
									<flow value="horizontal"/>
								</style>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="80px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varBackgroundIcons == 1"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarBackgroundIcons'; {varBackgroundIcons: 1}"/>
										<bind name="label" value="langRU ? 'Стандартные' : 'Standart'"/>
									</block>
								</block>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="80px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varBackgroundIcons == 2"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarBackgroundIcons'; {varBackgroundIcons: 2}"/>
										<bind name="label" value="langRU ? 'Цветные' : 'Coloured'"/>
									</block>
								</block>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="80px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varBackgroundIcons == 3"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarBackgroundIcons'; {varBackgroundIcons: 3}"/>
										<bind name="label" value="langRU ? 'Без иконок' : 'Without Icons'"/>
									</block>
								</block>
							</block>
						</block>
					</block>
					
					<block className="show_dynamic_field1">
						<style>
							<marginTop value="1px"/>
							<marginBottom value="1px"/>
						</style>
						<bind name="watch" value="'showDynamicField1'; (userPrefs.elementsGroupExpand.showDynamicField1 == null) ? true : userPrefs.elementsGroupExpand.showDynamicField1 "/>
						<bind name="catch" value="'switchShowDynamicField1'; { showDynamicField1: !showDynamicField1 }; 'saveShowDynamicField1'"/>
						<bind name="action" value="'saveShowDynamicField1' ; 'setUserPref' ; {value: showDynamicField1, name: 'elementsGroupExpand', subName: 'showDynamicField1'}"/>                  
						<bind name="instance" value="'CheckBox'; {switchProperty: showDynamicField1, label: (langRU ? 'Показывать динамическое поле 1' : 'Show dynamic field 1'), _maxTfWidth: 250}"/>
						<bind name="dispatch" value="'click'; 'switchShowDynamicField1'"/>
					</block>
					
					<block className="var_dynamic_field1">
						<block type="text">
							<bind name='text' value="langRU ? 'Содержимое динамического поля 1:' : 'Content dynamic field 1:'"/>
							<styleClass value="$TextDefault"/>
						</block>
						<style>
							<marginLeft value="25"/>
							<marginTop value="1px"/>
							<marginBottom value="1px"/>
						</style>
						<bind name="watch" value="'varDynamicField1'; (userPrefs.chatBoxWidth.varDynamicField1 == null)  ? 1 : userPrefs.chatBoxWidth.varDynamicField1"/>
						<bind name="catch" value="'switchVarDynamicField1'"/>
						<bind name="changeDispatch" value="varDynamicField1; 'saveVarDynamicField1'"/>				
						<bind name="action" value="'saveVarDynamicField1' ; 'setUserPref' ; {value: varDynamicField1, name: 'chatBoxWidth', subName: 'varDynamicField1'}"/>
						<block className="tab_bar_bg" type="native">
							<style>
								<widthByChildren value="true"/>
								<heightByChildren value="true"/>
							</style>
							<block>
								<style>
									<marginLeft value="2px"/>
									<marginRight value="2px"/>
									<flow value="horizontal"/>
								</style>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="80px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField1 == 1"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField1'; {varDynamicField1: 1}"/>
										<bind name="label" value="langRU ? 'ГК' : 'Main gun'"/>
									</block>
								</block>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="80px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField1 == 2"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField1'; {varDynamicField1: 2}"/>
										<bind name="label" value="langRU ? 'Торпеды' : 'Torpedoes'"/>
									</block>
								</block>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="80px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField1 == 3"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField1'; {varDynamicField1: 3}"/>
										<bind name="label" value="langRU ? 'Скорость' : 'Speed'"/>
									</block>
								</block>
							</block>
							<block>
								<style>
									<marginLeft value="2px"/>
									<marginRight value="2px"/>
									<flow value="horizontal"/>
								</style>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="100px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField1 == 4"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField1'; {varDynamicField1: 4}"/>
										<bind name="label" value="langRU ? 'Индекс ПВО' : 'Air defense'"/>
									</block>
								</block>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="140px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField1 == 5"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField1'; {varDynamicField1: 5}"/>
										<bind name="label" value="langRU ? 'Дальность обнаружения' : 'Visibility distance'"/>
									</block>
								</block>
								
							</block>
						</block>
					</block>
					
					<block className="show_dynamic_field2">
						<style>
							<marginTop value="5px"/>
							<marginBottom value="1px"/>
						</style>
						<bind name="watch" value="'showDynamicField2'; (userPrefs.elementsGroupExpand.showDynamicField2 == null) ? true : userPrefs.elementsGroupExpand.showDynamicField2 "/>
						<bind name="catch" value="'switchShowDynamicField2'; { showDynamicField2: !showDynamicField2 }; 'saveShowDynamicField2'"/>
						<bind name="action" value="'saveShowDynamicField2' ; 'setUserPref' ; {value: showDynamicField2, name: 'elementsGroupExpand', subName: 'showDynamicField2'}"/>                  
						<bind name="instance" value="'CheckBox'; {switchProperty: showDynamicField2, label: (langRU ? 'Показывать динамическое поле 2' : 'Show dynamic field 2'), _maxTfWidth: 250}"/>
						<bind name="dispatch" value="'click'; 'switchShowDynamicField2'"/>
					</block>
					
					<block className="var_dynamic_field2">
						<block type="text">
							<bind name='text' value="langRU ? 'Содержимое динамического поля 2:' : 'Content dynamic field 2:'"/>
							<styleClass value="$TextDefault"/>
						</block>
						<style>
							<marginLeft value="25"/>
							<marginTop value="1px"/>
							<marginBottom value="1px"/>
						</style>
						<bind name="watch" value="'varDynamicField2'; (userPrefs.chatBoxWidth.varDynamicField2 == null)  ? 2 : userPrefs.chatBoxWidth.varDynamicField2"/>
						<bind name="catch" value="'switchVarDynamicField2'"/>
						<bind name="changeDispatch" value="varDynamicField2; 'saveVarDynamicField2'"/>				
						<bind name="action" value="'saveVarDynamicField2' ; 'setUserPref' ; {value: varDynamicField2, name: 'chatBoxWidth', subName: 'varDynamicField2'}"/>
						<block className="tab_bar_bg" type="native">
							<style>
								<widthByChildren value="true"/>
								<heightByChildren value="true"/>
							</style>
							<block>
								<style>
									<marginLeft value="2px"/>
									<marginRight value="2px"/>
									<flow value="horizontal"/>
								</style>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="80px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField2 == 1"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField2'; {varDynamicField2: 1}"/>
										<bind name="label" value="langRU ? 'ГК' : 'Main gun'"/>
									</block>
								</block>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="80px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField2 == 2"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField2'; {varDynamicField2: 2}"/>
										<bind name="label" value="langRU ? 'Торпеды' : 'Torpedoes'"/>
									</block>
								</block>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="80px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField2 == 3"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField2'; {varDynamicField2: 3}"/>
										<bind name="label" value="langRU ? 'Скорость' : 'Speed'"/>
									</block>
								</block>
							</block>
							<block>
								<style>
									<marginLeft value="2px"/>
									<marginRight value="2px"/>
									<flow value="horizontal"/>
								</style>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="100px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField2 == 4"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField2'; {varDynamicField2: 4}"/>
										<bind name="label" value="langRU ? 'Индекс ПВО' : 'Air defense'"/>
									</block>
								</block>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="140px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField2 == 5"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField2'; {varDynamicField2: 5}"/>
										<bind name="label" value="langRU ? 'Дальность обнаружения' : 'Visibility distance'"/>
									</block>
								</block>
								
							</block>
						</block>
					</block>
					
					<block className="show_dynamic_field3">
						<style>
							<marginTop value="5px"/>
							<marginBottom value="1px"/>
						</style>
						<bind name="watch" value="'showDynamicField3'; (userPrefs.elementsGroupExpand.showDynamicField3 == null) ? true : userPrefs.elementsGroupExpand.showDynamicField3 "/>
						<bind name="catch" value="'switchShowDynamicField3'; { showDynamicField3: !showDynamicField3 }; 'saveShowDynamicField3'"/>
						<bind name="action" value="'saveShowDynamicField3' ; 'setUserPref' ; {value: showDynamicField3, name: 'elementsGroupExpand', subName: 'showDynamicField3'}"/>                  
						<bind name="instance" value="'CheckBox'; {switchProperty: showDynamicField3, label: (langRU ? 'Показывать динамическое поле 3' : 'Show dynamic field 3'), _maxTfWidth: 250}"/>
						<bind name="dispatch" value="'click'; 'switchShowDynamicField3'"/>
					</block>
					
					<block className="var_dynamic_field3">
						<block type="text">
							<bind name='text' value="langRU ? 'Содержимое динамического поля 3:' : 'Content dynamic field 3:'"/>
							<styleClass value="$TextDefault"/>
						</block>
						<style>
							<marginLeft value="25"/>
							<marginTop value="1px"/>
							<marginBottom value="1px"/>
						</style>
						<bind name="watch" value="'varDynamicField3'; (userPrefs.chatBoxWidth.varDynamicField3 == null)  ? 3 : userPrefs.chatBoxWidth.varDynamicField3"/>
						<bind name="catch" value="'switchVarDynamicField3'"/>
						<bind name="changeDispatch" value="varDynamicField3; 'saveVarDynamicField3'"/>				
						<bind name="action" value="'saveVarDynamicField3' ; 'setUserPref' ; {value: varDynamicField3, name: 'chatBoxWidth', subName: 'varDynamicField3'}"/>
						<block className="tab_bar_bg" type="native">
							<style>
								<widthByChildren value="true"/>
								<heightByChildren value="true"/>
							</style>
							<block>
								<style>
									<marginLeft value="2px"/>
									<marginRight value="2px"/>
									<flow value="horizontal"/>
								</style>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="80px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField3 == 1"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField3'; {varDynamicField3: 1}"/>
										<bind name="label" value="langRU ? 'ГК' : 'Main gun'"/>
									</block>
								</block>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="80px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField3 == 2"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField3'; {varDynamicField3: 2}"/>
										<bind name="label" value="langRU ? 'Торпеды' : 'Torpedoes'"/>
									</block>
								</block>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="80px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField3 == 3"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField3'; {varDynamicField3: 3}"/>
										<bind name="label" value="langRU ? 'Скорость' : 'Speed'"/>
									</block>
								</block>
							</block>
							<block>
								<style>
									<marginLeft value="2px"/>
									<marginRight value="2px"/>
									<flow value="horizontal"/>
								</style>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="100px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField3 == 4"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField3'; {varDynamicField3: 4}"/>
										<bind name="label" value="langRU ? 'Индекс ПВО' : 'Air defense'"/>
									</block>
								</block>
								<block className="MainTabSmall">
									<block className="tab_bar_item_small" type="native">
										<style>
											<width value="140px"/>
											<height value="25px"/>
										</style>
										<bind name="selected" value="varDynamicField3 == 5"/>
										<bind name="dispatch" value="'buttonClick'; 'switchVarDynamicField3'; {varDynamicField3: 5}"/>
										<bind name="label" value="langRU ? 'Дальность обнаружения' : 'Visibility distance'"/>
									</block>
								</block>
								
							</block>
						</block>
					</block>
					
				</block> <!-- end dynamic_specifications_preferences-->
			</block> <!-- end full_tab_settings -->
		</block>
	</block>
	<block className="TeamStructureRendererAllies">
		<bind name="name" value="'player_' + name"/>
		<bind name="controller" value="lesta.dialogs.controllers.CollectionController; 'players in battle'; 'name'; name; 'playerInCollection'"/>
		<bind name="watch" value="'player'; playerInCollection[0]"/>
		<bind name="watchDH" value="'clanTag'; []; player.clanTag"/>
		<bind name="controller" value="lesta.unbound.controls.UbInteractiveController"/>
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'gameInfo'"/>
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'slimClientData'"/>
		<bind name="controller" value="lesta.dialogs.controllers.CollectionController; 'playersInvitedToDivision'; name; 'playerInvitationData'"/>
		<bind name="primaryEntityDH" value="'playerVoiceChatEntity'; CC.playerVoiceState; pureName"/>
		<bind name="dataRefDH" value="'playerEntity'; '$dataRef.ref'"/>
		<bind name="firstEntityDH" value="'mouseEntity'; CC.mouse"/>
		<bind name="watchDH" value="'playerId'; 			[]; playerEntity.avatar.id"/>
		<bind name="watchDH" value="'relation'; 			['playerEntity.relation.evChanged']; playerEntity.relation.value"/>
		<bind name="watchDH" value="'isAlive'; 			['playerEntity.avatar.evKilled']; playerEntity.avatar.isAlive"/>
		<bind name="watchDH" value="'ttkStatus'; 		['playerEntity.avatar.evTTKStatusChanged']; playerEntity.avatar.ttkStatus"/>
		<bind name="watchDH" value="'tkStatus'; 			['playerEntity.avatar.evTeamkillStatusChanged']; playerEntity.avatar.tkStatus"/>
		<bind name="watchDH" value="'frags'; 			['playerEntity.avatar.evFragsChanged']; playerEntity.avatar.frags"/>
		<bind name="watchDH" value="'division'; 			['playerEntity.avatar.evDivisionChanged']; playerEntity.avatar.division"/>
		<bind name="watchDH" value="'divisionId'; 		['playerEntity.avatar.evDivisionChanged']; playerEntity.avatar.divisionId"/>
		<bind name="watchDH" value="'divisionSign'; 		['playerEntity.avatar.evDivisionChanged']; playerEntity.avatar.divisionSign"/>
		<bind name="watchDH" value="'divisionHidden';	['playerEntity.avatar.evDivisionChanged', 'playerEntity.avatar.evDivisionHiddenChanged']; playerEntity.avatar.divisionHidden"/>
		<bind name="watchDH" value="'isInSameDivision'; 	['playerEntity.avatar.evDivisionChanged']; playerEntity.avatar.isInSameDivision"/>
		<bind name="watchDH" value="'isDivisionCommander'; 	['playerEntity.avatar.evIsDivisionCommanderUpdated']; playerEntity.avatar.isDivisionCommander"/>
		<bind name="watchDH" value="'invitationsEnabled';['playerEntity.avatar.evInvitationsEnabledChanged']; playerEntity.avatar.invitationsEnabled"/>
		<bind name="watchDH" value="'inviteCooldown'; 	['playerEntity.avatar.evInviteCooldownChanged']; playerEntity.avatar.inviteCooldown"/>
		<bind name="watchDH" value="'inviteCooldownEnabled'; 	['playerEntity.avatar.evInviteCooldownEnabledChanged']; playerEntity.avatar.inviteCooldownEnabled"/>
		<bind name="watchDH" value="'isLeaver';			['playerEntity.avatar.evIsLeaverChanged']; playerEntity.avatar.isLeaver"/>
		<bind name="watchDH" value="'pathTinyIcon'; 		[]; playerEntity.avatar.ship.ref.ship.pathTinyIcon"/>
		<bind name="watchDH" value="'pathOwnTinyIcon'; 	[]; playerEntity.avatar.ship.ref.ship.pathOwnTinyIcon"/>
		<bind name="watchDH" value="'pathTinyDeadIcon'; 	[]; playerEntity.avatar.ship.ref.ship.pathTinyDeadIcon"/>
		<bind name="watchDH" value="'mute'; 				['playerEntity.avatar.evMuteChanged']; playerEntity.avatar.mute"/>
		<bind name="watchDH" value="'name'; 				[]; playerEntity.avatar.name"/>
		<bind name="watchDH" value="'pureName'; 			[]; playerEntity.avatar.pureName"/>
		<bind name="watchDH" value="'isSpeaking'; 		['playerVoiceChatEntity.playerVoiceState.evIsSpeakingChanged']; playerVoiceChatEntity.playerVoiceState.isSpeaking"/>
		<bind name="watchDH" value="'isMuted'; 			['playerVoiceChatEntity.playerVoiceState.evIsMutedChanged']; playerVoiceChatEntity.playerVoiceState.isMuted"/>
		<bind name="watchDH" value="'isCursorActive'; ['mouseEntity.mouse.evActiveChanged']; mouseEntity.mouse.active"/>
		<bind name="changeDispatch" value="isCursorActive; 'Tooltip.Close'; {}; 0; false"/>
		<bind name="watch" value="'isSelf'; (relation == 0)"/>
		<bind name="watch" value="'isInVoiceChat'; playerVoiceChatEntity != null"/>
		
		<bind name="collectionDH" value="CC.camera; 'cameraCollection'"/>
		<bind name="entityDH" value="'cameraEntity'; cameraCollection[0].id"/>
		<bind name="watchDH" value="'camera'; ['cameraEntity.camera.evTacticalStateChanged']; cameraEntity.camera"/>
		<bind name="collectionDH" value="CC.userPrefs; 'userPrefsCollection'"/>
		<bind name="entityDH" value="'userPrefsEntity'; userPrefsCollection[0].id"/>
		<bind name="watchDH" value="'userPrefs'; ['userPrefsEntity.userPrefs.evUserPrefsChanged']; userPrefsEntity.userPrefs.userPrefs"/>
		<bind name="watch" value="'earsEnabled'; (userPrefs.elementsGroupExpand.earsEnabled == null) ? true : userPrefs.elementsGroupExpand.earsEnabled "/>
		<bind name="watch" value="'varIcons'; ((userPrefs.chatBoxWidth.varIcons != 1) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 2) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 3) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 4) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 5) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 6) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 7)) ? 2 : userPrefs.chatBoxWidth.varIcons"/>
		<bind name="watch" value="'deadEnabled'; (userPrefs.elementsGroupExpand.deadEnabled == null) ? true : userPrefs.elementsGroupExpand.deadEnabled "/>
		<bind name="watch" value="'scaleIcons'; ((userPrefs.chatBoxWidth.scaleIcons != 80) &amp;&amp; (userPrefs.chatBoxWidth.scaleIcons != 90) &amp;&amp; (userPrefs.chatBoxWidth.scaleIcons != 100)) ? 90 : userPrefs.chatBoxWidth.scaleIcons"/>
		<bind name="watch" value="'nameEnabled'; (userPrefs.elementsGroupExpand.nameEnabled == null) ? true : userPrefs.elementsGroupExpand.nameEnabled "/>
		<bind name="watch" value="'hpEnabled'; (userPrefs.elementsGroupExpand.hpEnabled == null) ? true : userPrefs.elementsGroupExpand.hpEnabled "/>
		<bind name="watch" value="'indexHP'; (userPrefs.chatBoxWidth.indexHP == null)? 2 : userPrefs.chatBoxWidth.indexHP"/>
		<bind name="watch" value="'alphaHP'; (userPrefs.chatBoxWidth.alphaHP == null)? 0 : userPrefs.chatBoxWidth.alphaHP"/>
		<bind name="watch" value="'showPROAlfa'; (userPrefs.elementsGroupExpand.showPROAlfa == null) ? true : userPrefs.elementsGroupExpand.showPROAlfa "/>
		<bind name="watch" value="'showWinRate'; (userPrefs.elementsGroupExpand.showWinRate == null) ? true : userPrefs.elementsGroupExpand.showWinRate "/>
		<bind name="watch" value="'showAverageDamage'; (userPrefs.elementsGroupExpand.showAverageDamage == null) ? false : userPrefs.elementsGroupExpand.showAverageDamage "/>
		<bind name="watch" value="'widthNickname'; (userPrefs.chatBoxWidth.widthNickname == null) ? 40 : userPrefs.chatBoxWidth.widthNickname"/>
		<bind name="watch" value="'widthShipname'; (userPrefs.chatBoxWidth.widthShipname == null)  ? 50 : userPrefs.chatBoxWidth.widthShipname"/>	
		<bind name="watch" value="'staticTTX'; (userPrefs.elementsGroupExpand.staticTTX == null)? true : userPrefs.elementsGroupExpand.staticTTX"/>
		<bind name="watch" value="'showRadar'; (userPrefs.elementsGroupExpand.showRadar == null) ? true : userPrefs.elementsGroupExpand.showRadar "/>
		<bind name="watch" value="'shipShortName'; playerEntity.avatar.ship.ref.ship.shortName"/>
		<bind name="watchDH" value="'shipType'; 	[]; playerEntity.avatar.ship.ref.ship.subtype"/>
		<bind name="watchDH" value="'shipLevel'; 	[]; playerEntity.avatar.ship.ref.ship.level"/>
		<bind name="watchDH" value="'shipNation'; 	[]; playerEntity.avatar.ship.ref.ship.country"/>
		<bind name="watch" value="'varBackgroundIcons'; ((userPrefs.chatBoxWidth.varBackgroundIcons != 1) &amp;&amp; (userPrefs.chatBoxWidth.varBackgroundIcons != 2) &amp;&amp; (userPrefs.chatBoxWidth.varBackgroundIcons != 3)) ? 2 : userPrefs.chatBoxWidth.varBackgroundIcons"/>
		<bind name="watch" value="'showDynamicField1'; (userPrefs.elementsGroupExpand.showDynamicField1 == null) ? true : userPrefs.elementsGroupExpand.showDynamicField1 "/>
		<bind name="watch" value="'varDynamicField1'; (userPrefs.chatBoxWidth.varDynamicField1 == null)  ? 1 : userPrefs.chatBoxWidth.varDynamicField1"/>
		<bind name="watch" value="'showDynamicField2'; (userPrefs.elementsGroupExpand.showDynamicField2 == null) ? true : userPrefs.elementsGroupExpand.showDynamicField2 "/>
		<bind name="watch" value="'varDynamicField2'; (userPrefs.chatBoxWidth.varDynamicField2 == null)  ? 1 : userPrefs.chatBoxWidth.varDynamicField2"/>
		<bind name="watch" value="'showDynamicField3'; (userPrefs.elementsGroupExpand.showDynamicField3 == null) ? true : userPrefs.elementsGroupExpand.showDynamicField3 "/>
		<bind name="watch" value="'varDynamicField3'; (userPrefs.chatBoxWidth.varDynamicField3 == null)  ? 1 : userPrefs.chatBoxWidth.varDynamicField3"/>
		<bind name="watch" value="'showClanTag'; (userPrefs.elementsGroupExpand.showClanTag == null) ? true : userPrefs.elementsGroupExpand.showClanTag "/>
		<bind name="watch" value="'showClanIcon'; (userPrefs.elementsGroupExpand.showClanIcon == null) ? true : userPrefs.elementsGroupExpand.showClanIcon "/>
		
		<bind name="watch" value="'player'; {
							relation: relation,
							name: name,
							pureName: pureName,
							nameUpper: nameUpper,
							clanTag: clanTag,
							rLevel: rLevel,
							shipType: shipType,
							shipLevel: shipLevel,
							shipNation: shipNation,
							pureName: pureName,
							ttkStatus: ttkStatus,
							tkStatus: tkStatus,
							isInSameDivision: isInSameDivision,
							isDivisionCommander: isDivisionCommander,
							isInVoiceChat: playerVoiceChatEntity != null,
							isMuted: isMuted,
							inviteCooldown: inviteCooldown,
							division: division,
							isAlive: isAlive,
							invitationsEnabled: invitationsEnabled,
							inviteCooldownEnabled: inviteCooldownEnabled,
							isLeaver: isLeaver,
							id: playerId,
							mute: mute,
							isInSameDivisionOnStart: playerEntity.avatar.isInSameDivisionOnStart
		}"/>

		<bind name="var" value="{healthP:'100%'}"/>
		<bind name="watchDH" value="'healthP'; ['playerEntity.health.evValueChanged']; (((playerEntity.health.value &gt; 0) &amp;&amp; isAlive) ? ((100 * playerEntity.health.value / playerEntity.health.max) + '%'): ( isAlive ? healthP: '0%'))"/>
		<bind name="watchDH" value="'nameUpper'; 	[]; playerEntity.avatar.ship.ref.ship.nameUpper"/>
		<bind name="watchDH" value="'rLevel'; 	[]; playerEntity.avatar.ship.ref.ship.levelRome"/>
		
		<bind name="visible" value="earsEnabled &amp;&amp; !(camera.isTactical)"/>
		
		<block className="HealthRowHolder">
			<bind name="visible" value="hpEnabled"/>
			<bind name="style" value="'top'; ((indexHP == 2) ? '0px' :((scaleIcons == 80) ? '18px' : ((scaleIcons == 90) ? '21px' : '23px')))"/>
			<bind name="style" value="'width'; ((varIcons == 7 &amp;&amp; staticTTX) ?(widthNickname + 18 + widthShipname + 'px'):(widthNickname + 18 + 'px'))"/>
			<bind name="style" value="'height'; ((indexHP == 2) ? '100%' : ((scaleIcons == 100) ? '5px' : '4px'))"/>
			<bind name="style" value="'left'; '15px')"/>
			<style>
				<position value="absolute"/>
            </style>
            <block className="HealthRow">
				<style>
                    <height value="100%"/>
					<blurFilter value="2 2"/>
                    <position value="absolute"/>
                </style>
                <bind name="style" value="'width'; healthP"/>
				<bind name="style" value="'alpha'; ((100-alphaHP)/100)"/>
				<bind name="style" value="'backgroundColor'; '0xFF009900'"/>
            </block>
        </block>
		<block>
			<bind name="style" value="'height'; ((varIcons == 7 &amp;&amp; staticTTX) ? ((scaleIcons == 80) ? '22px' : ((scaleIcons == 90) ? '25px' : '28px')) : ((scaleIcons == 80) ? '24px' : ((scaleIcons == 90) ? '27px' : '30px')))"/>
			<bind name="style" value="'width'; ((varIcons == 7 &amp;&amp; staticTTX) ? (15 + widthNickname + 20 + widthShipname + 'px'):(15 + widthNickname + 20 + (122*scaleIcons/100) + 'px'))"/>

			<block>
				<bind name="style" value="'width'; ((varIcons == 7 &amp;&amp; staticTTX) ? (15 + widthNickname + 20 + widthShipname + 'px'):(15 + widthNickname + 20 + 'px'))"/>
				<style>
					<height value="100%"/>
					<position value="absolute"/>
				</style>
				<block>
					<style>
						<width value="100%"/>
						<height value="100%"/>
						<blurFilter value="2 2"/>
					</style>
					<bind name="style" value="'backgroundColor'; '0x20000000'"/>
				</block>
			</block>
			<block>
				<bind name="visible" value="(((shipType=='Cruiser') &amp;&amp; (shipLevel&gt;7) &amp;&amp; (shipNation=='Russia' || shipNation=='USA' || 
						shipNation=='United_Kingdom') || (shipShortName == 'PASC507') || (shipShortName == 'PASC006') || 
						(shipShortName == 'PASB509') || (shipShortName == 'PBSC507')) &amp;&amp; showRadar  &amp;&amp; (shipShortName != 'PRSC508'))"/>
				<bind name="scaleX" value="0.3"/>
				<bind name="scaleY" value="0.3"/>
				<bind name="style" value="'left'; ((varIcons == 7 &amp;&amp; staticTTX) ? (15 + widthNickname + 20 + widthShipname + 5 + 'px'):(15 + widthNickname + 20 + 5 + (122*scaleIcons/100) + 'px'))"/>
				<styleClass value="$MiddleVAligned"/>
				<style>
					<width value="16px"/>
					<height value="16px"/>
					<position value="absolute"/>

				</style>
				<bind name="style" value="'backgroundImage'; 'url:../mod_ship_icons/RLS.png'"/>
			</block>
			<block>
				<bind name="style" value="'width'; ((varIcons == 7 &amp;&amp; staticTTX) ? (15 + widthNickname + 20 + widthShipname + 'px'):(15 + widthNickname + 20 + (122*scaleIcons/100) + 'px'))"/>
				<style>
					<width value="100%"/>
					<height value="100%"/>
					<position value="absolute"/>
				</style>
				<block>
					<bind name="visible" value="isInSameDivision"/>
					<style>
						<backgroundColor value="0x40ffdc84"/>
						<position value="absolute"/>
						<height value="100%"/>
						<width value="100%"/>
						<hitTest value="false"/>
					</style>
				</block>
				<block className="dock_submenu_item_bg" type="native">
					<bind name="transition" value="mouseDown || contextMenuVisible || rollOver; 0.1; {alpha: 0}; {alpha: 1}"/>
					<styleClass value="$FullsizeAbsolute"/>
				</block>

				<bind name="tooltip" value="'BattlePlayerTooltip'; {	_isInBattle: true,
													_player: player, _selfPlayer: _selfPlayer,
													_battleType: gameInfo.battleType}"/>
				<bind name="menu" value="'UIListPlayerContextMenu'; !(isSelf)	?	{_player: player, _selfPlayer: _selfPlayer, _battleType: gameInfo.battleType, 
																	_complaintsAvailable: true, _isBattleStats: true}
																: 	null; null; 'contextMenuVisible'"/>
			</block>
			<block>
				<style>
					<width value="100%"/>
					<height value="100%"/>
					<position value="absolute"/>
				</style>
				<block>
					<style>
						<marginTop value="-2px"/>
						<hitTest value="false"/>
					</style>
					<bind name="instance" value="'UIListVoiceTextChatIcons'; {	_isSelf: isSelf, _isTextChatMuted: mute, _selfPlayerDivisionId: divisionId,
																_isInSameDivision: isInSameDivision, _battleType: gameInfo.battleType,
																_isSpeaking: isSpeaking, _isVoiceChatMuted: isMuted, _isInVoiceChat: isInVoiceChat }"/>
				</block>
				<bind name="controller" value="lesta.dialogs.controllers.CollectionController; 'dynamicDivisionsData'; 'id'; _selfPlayer.divisionId; 'selfPlayerDivisionData'"/>
				<bind name="watch" value="'isFreePlacesInDivision'; ((selfPlayerDivisionData[0].staff.length + selfPlayerDivisionData[0].inPortParticipantsCount) &lt; 3)"/>
				<bind name="watch" value="'invitationDisableReason'; !(slimClientData.isFull)											? 'YourClientIsTooSlim' :
													isSelf																? 'YouCantInviteYourself' :
													!(isAlive)															? 'IDS_INVITATION_DISABLE_REASON_DESTROYED' :
													!(_selfPlayer.isAlive)												? 'IDS_DIVISION_MANAGEMENT_LOCKED_FOR_DESTROYED' :
													isLeaver															? 'IDS_INVITATION_DISABLE_REASON_PLAYER_IS_OUT_OF_BATTLE':
													(division != 0)														? 'IDS_INVITATION_DISABLE_REASON_ALREADY_IN_DIVISION' :
													(playerInvitationData != null)										? 'PlayerIsAlreadyInvited' :
													isInSameDivision													? 'PlayerIsAlreadyInYourDivision' :
													(_selfPlayer.division != 0) &amp;&amp; !(_selfPlayer.isDivisionCommander)	? 'IDS_INVITATION_DISABLE_REASON_NOT_COMMANDER' :
													!(isFreePlacesInDivision)											? 'IDS_INVITATION_DISABLE_REASON_NO_FREE_PLACES' :
													!(invitationsEnabled)												? 'IDS_INVITATION_DISABLE_REASON_INVITATIONS_DISABLED' :
													inviteCooldownEnabled												? 'IDS_WAIT_TIMEOUT_TO_INVITE_TO_DIVISION'
																														: 'no_reason'"/>
				<block>
					<bind name="visible" value="(division &gt; 0) &amp;&amp; !(divisionHidden)"/>
					<styleClass value="$MiddleVAligned"/>
					<style>
						<position value="absolute"/>
						<marginLeft value="0px"/>
						<hitTest value="false"/>
					</style>
					<block className="division_item" type="native">
						<bind name="gotoAndStop!" value="isInSameDivision ? (divisionSign + 1) : (divisionSign + 1 + 10)"/>
					</block>
				</block>
				<block>
					<bind name="visible" value="(playerInvitationData != null)"/>
					<bind name="transition" value="rollOver; 0.15; {alpha: 1}; {alpha: 0}; {alpha: 1}; 1; 0.05"/>
					<styleClass value="$MiddleVAligned"/>
					<style>
						<position value="absolute"/>
						<marginLeft value="0px"/>
						<hitTest value="false"/>
					</style>
					<block className="formation_player_status" type="native">
						<bind name="gotoAndStop!" value="'empty_slot_division'"/>
					</block>
				</block>
				<block>
					<bind name="transition" value="rollOver; 0.15; {alpha: 0}; {alpha: 1.0}; {alpha: 0}; 1; 0.05"/>
					<styleClass value="$MiddleVAligned"/>
					<block>
						<bind name="visible" value="(invitationDisableReason == 'no_reason')"/>
						<styleClass value="$MiddleVAligned"/>
						<style>
							<position value="absolute"/>
							<marginLeft value="5px"/>
						</style>
						<bind name="tooltip" value="'MouseInstructionTooltip'; { _mouseInstructions: [{_type: 'no_icon', _instructionText: 'IDS_INVITE_IN_DIVISION'}], _maxWidth: 250, _isInBattle: true}"/>
						<block className="button_division_invite" type="native">
							<bind name="action" value="'buttonClick'; 'inviteToDivision'; {playerId: playerId, playerName: name, inviteType: InviteType.COMMON}"/>
						</block>
					</block>
					<block>
						<bind name="visible" value="(_selfPlayer.isDivisionCommander &amp;&amp; !!(playerInvitationData))"/>
						<styleClass value="$MiddleVAligned"/>
						<style>
							<position value="absolute"/>
							<marginLeft value="4px"/>
						</style>
						<bind name="tooltip" value="'MouseInstructionTooltip'; { _mouseInstructions: [{_type: 'no_icon', _instructionText: 'IDS_RECALL_INVITATION'}], _maxWidth: 250, _isInBattle: true}"/>
						<block className="button_cross" type="native">
							<bind name="action" value="'buttonClick'; 'revokeInvitationToDivision'; {id: playerInvitationData.id}"/>
						</block>
					</block>
				</block>
				<block>
					<styleClass value="$MiddleVAligned"/>
					<style>
						<hitTest value="false"/>
					</style>
					
					<block type="text" className="PlayerName">
						<styleClass value="$TextSecondary"/>
						<styleClass value="$MiddleVAligned"/>
						<style>
							<multiline value="false"/>
							<marginLeft value="15px"/>
						</style>
						<bind name="style" value="'width'; (widthNickname + 'px')"/>
						<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '13' : ((scaleIcons == 90) ? '14px' : '15px'))"/>
						<bind name="style" value="'alpha'; isAlive ? 1 : 0.5"/>
						<bind name="class" value="isSelf 	? '$Bold' : '$None'"/>
						<bind name="style" value="'textAlign'; 'left'"/>
						<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
								: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
								: '$FontColorAlmostBlack'"/>
						<bind name="text" value="showClanTag ? name : pureName"/>
					</block>
					
					<block type="text" className="ClanIcons">
						<bind name="alpha" value="!isAlive ? 0.4 : 1"/>
						<bind name="visible" value="showClanIcon"/>
						<bind name="style" value="'marginLeft'; ((widthNickname - 5) + 'px')"/>
						<style>
							<top value="-6px"/>
							<position value="absolute"/>
						</style>
						<bind name="scaleX" value="(scaleIcons &gt; 10)?(scaleIcons/120):0.85"/> 
						<bind name="scaleY" value="(scaleIcons &gt; 10)?(scaleIcons/120):0.85"/>
						<bind name="style" value="'backgroundImage'; ('url:../mod_ship_icons/clan_icons/' + clanTag + '.png') "/>
					</block>

					<block type="text" className="FragsCount">
						<bind name="text" value="frags"/>
						<bind name="style" value="'width'; '20px'"/>
						<styleClass value="$TextSecondary"/>
						<styleClass value="$MiddleVAligned"/>
						<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '13' : ((scaleIcons == 90) ? '14px' : '15px'))"/>
						<bind name="class" value="isSelf 	? '$Bold' : '$None'"/>
						<bind name="style" value="'textAlign'; 'left'"/>
						<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
								: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
								: '$FontColorAlmostBlack'"/>
					</block>
					
					<block type="text" className="ShipName">
						<bind name="visible" value="(varIcons == 7) &amp;&amp; staticTTX"/>
						<!--<bind name="visible" value="(varIcons == 7)"/>-->
						<bind name="text" value="rLevel + ' ' + nameUpper"/>
						<bind name="style" value="'width'; (widthShipname + 'px')"/>
						<styleClass value="$TextSecondary"/>
						<styleClass value="$MiddleVAligned"/>
						<style>
							<multiline value="false"/>
						</style>
						<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '13' : ((scaleIcons == 90) ? '14px' : '15px'))"/>
						<bind name="class" value="isSelf 	? '$Bold' : '$None'"/>
						<bind name="style" value="'textAlign'; 'left'"/>
						<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
								: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
								: '$FontColorAlmostBlack'"/>
					</block>
				
					<style>
						<flow value="horizontal"/>
					</style>
				</block>

				<block className="EarsIcons">
					<bind name="alpha" value="!isAlive ? 0.4 : 1"/>
					<bind name="visible" value="(varIcons != 7) &amp;&amp; staticTTX"/>
					<!--<bind name="visible" value="varIcons != 7"/>-->
					<bind name="style" value="'width'; ((scaleIcons == 80) ? '98px' : ((scaleIcons == 90) ? '110px' : '122px'))"/>
					<style>
						<height value="100%"/>
						<!--<marginLeft value="2px"/>-->
						<hitTest value="false"/>
					</style>
					<bind name="scaleX" value="(scaleIcons &gt; 10)?(scaleIcons/100):1"/> 
					<bind name="scaleY" value="(scaleIcons &gt; 10)?(scaleIcons/100):1"/>
					<bind name="style" value="'backgroundImage'; ('url:../mod_ship_icons/' + varIcons + '/' + shipShortName + '.png') "/>
				</block>
				
				<block className="dynamicSpecifications">
					<bind name="visible" value="!staticTTX"/>
					<bind name="style" value="'width'; ((scaleIcons == 80) ? '98px' : ((scaleIcons == 90) ? '110px' : '122px'))"/>
					<style>
						<height value="100%"/>
						<marginLeft value="2px"/>
					</style>
					<block className="BackgroundIcons">
						<bind name="visible" value="varBackgroundIcons != 3"/>
						<bind name="style" value="'height'; ((scaleIcons == 80) ? '24px' : ((scaleIcons == 90) ? '27px' : '30px'))"/>
						<bind name="alpha" value="!isAlive ? 0.4 : 1"/>
						<style>
							<width value="100%"/>
							<position value="absolute"/>
						</style>
						<bind name="scaleX" value="(scaleIcons &gt; 10)?(scaleIcons/100):1"/> 
						<bind name="scaleY" value="(scaleIcons &gt; 10)?(scaleIcons/100):1"/>
						<bind name="style" value="'backgroundImage'; (((varBackgroundIcons == 2) ? 'url:../mod_ship_icons/coloured/' : (varBackgroundIcons == 1) ? 'url:../mod_ship_icons/standart/' : 'url:../ship_icons/') + shipShortName + '.png') "/>
					</block>
					<block className="BackgroundWithoutIcons">
						<bind name="visible" value="varBackgroundIcons == 3"/>
						<style>
							<width value="100%"/>
							<height value="100%"/>
							<position value="absolute"/>
						</style>
						<bind name="style" value="'backgroundColor'; '0x20000000'"/>
					</block>
			
					<block className="dynamicSpecificationsLines">
						<style>
							<width value="100%"/>
							<height value="100%"/>
						</style>
						<block className="dynamicSpecificationsLine1">
							<style>
								<height value="50%"/>
								<width value="100%"/>
								<marginTop value="-2px"/>
								<flow value="horizontal"/>
							</style>
							<block type="text" className="dynamicSpecificationsShipName">
								<bind name="text" value="rLevel + ' ' + nameUpper"/>
								<bind name="style" value="'width';(showDynamicField1 ? '60%' : '100%')"/>
								<styleClass value="$FontEarsBold"/>
								<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
								: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
								: '$FontColorAlmostBlack'"/>
								<style>
									<height value="100%"/>
									<multiline value="false"/>
									<dropShadowFilter value="1 90 0x08222a 0.7 2.0 2.0 1.0 2"/>
								</style>
								<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '10px' : ((scaleIcons == 90) ? '11px' : '12px'))"/>

							</block> 
				
							<block type="text" className="dynamicSpecificationsField1">
								<bind name="visible" value="showDynamicField1"/>
								<bind name="text" value="(varDynamicField1 == 2) ? ((player.shipParams.torpedoes_max_dist &gt; 0) ? (format(player.shipParams.torpedoes_max_dist, 1) + '/' + format(player.shipParams.torpedoes_time_reload, 1)) : '') :
											(varDynamicField1 == 3) ? (format(player.shipParams.maxSpeed, 1)) : (varDynamicField1 == 4) ? (player.shipParams.air_defense_p) : (varDynamicField1 == 5) ? (format(player.shipParams.visibilityDistByShip,1) + '/' + format(player.shipParams.visibilityDistByPlane,1)) :
											((player.shipParams.artillery_max_dist &gt; 0) ? (format(player.shipParams.artillery_max_dist, 1) + '/' + format(player.shipParams.artillery_time_reload, 1)) : '')"/>
								<styleClass value="$FontEarsBold"/>
								<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
								: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
								: '$FontColorAlmostBlack'"/>
								<style>
									<width value="40%"/>
									<height value="100%"/>
									<multiline value="false"/>
									<textAlign value="right"/>
									<dropShadowFilter value="1 90 0x08222a 0.7 2.0 2.0 1.0 2"/>
								</style>
								<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '10px' : ((scaleIcons == 90) ? '11px' : '12px'))"/>

							</block>
						</block>
				
						<block className="dynamicSpecificationsLine2">
							<style>
								<height value="50%"/>
								<width value="100%"/>
								<flow value="horizontal"/>
							</style>
							<block type="text" className="dynamicSpecificationsField3">
								<bind name="visible" value="showDynamicField3"/>
								<bind name="text" value="(varDynamicField3 == 1) ? ((player.shipParams.artillery_max_dist &gt; 0) ? (format(player.shipParams.artillery_max_dist, 1) + '/' + format(player.shipParams.artillery_time_reload, 1)) : '') :
											(varDynamicField3 == 4) ? (player.shipParams.air_defense_p) : (varDynamicField3 == 5) ? (format(player.shipParams.visibilityDistByShip,1) + '/' + format(player.shipParams.visibilityDistByPlane,1)) :
											(varDynamicField3 == 2) ? ((player.shipParams.torpedoes_max_dist &gt; 0) ? (format(player.shipParams.torpedoes_max_dist, 1) + '/' + format(player.shipParams.torpedoes_time_reload, 1)) : '') : (format(player.shipParams.maxSpeed, 1))"/>
								<styleClass value="$FontEarsBold"/>
								<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
								: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
								: '$FontColorAlmostBlack'"/>
								<style>
									<width value="50%"/>
									<height value="100%"/>
									<multiline value="false"/>
									<dropShadowFilter value="1 90 0x08222a 0.7 2.0 2.0 1.0 2"/>
								</style>
								<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '10px' : ((scaleIcons == 90) ? '11px' : '12px'))"/>

							</block> 
				
							<block type="text" className="dynamicSpecificationsField2">
								<bind name="visible" value="showDynamicField2"/>
								<bind name="text" value="(varDynamicField2 == 1) ? ((player.shipParams.artillery_max_dist &gt; 0) ? (format(player.shipParams.artillery_max_dist, 1) + '/' + format(player.shipParams.artillery_time_reload, 1)) : '') :
											(varDynamicField2 == 3) ? (format(player.shipParams.maxSpeed, 1)) : (varDynamicField2 == 4) ? (player.shipParams.air_defense_p) : (varDynamicField2 == 5) ? (format(player.shipParams.visibilityDistByShip,1) + '/' + format(player.shipParams.visibilityDistByPlane,1)) :
											((player.shipParams.torpedoes_max_dist &gt; 0) ? (format(player.shipParams.torpedoes_max_dist, 1) + '/' + format(player.shipParams.torpedoes_time_reload, 1)) : '')"/>
								<bind name="style" value="'width';(showDynamicField3 ? '50%' : '100%')"/>
								<styleClass value="$FontEarsBold"/>
								<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
								: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
								: '$FontColorAlmostBlack'"/>
								<style>
									<height value="100%"/>
									<multiline value="false"/>
									<textAlign value="right"/>
									<dropShadowFilter value="1 90 0x08222a 0.7 2.0 2.0 1.0 2"/>
								</style>
								<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '10px' : ((scaleIcons == 90) ? '11px' : '12px'))"/>

							</block>
						</block>
				
					</block> <!-- End block dynamicSpecificationsLines -->
			
				</block> <!-- End block DynamicSpecifications -->

				<style>
					<flow value="horizontal"/>
				</style>
			</block>
		</block>
	</block>
	<block className="TeamStructureRendererEnemies">
		<bind name="name" value="'player_' + name"/>
		<bind name="controller" value="lesta.dialogs.controllers.CollectionController; 'players in battle'; 'name'; name; 'playerInCollection'"/>
		<bind name="watch" value="'player'; playerInCollection[0]"/>
		<bind name="watchDH" value="'clanTag'; []; player.clanTag"/>
		<bind name="controller" value="lesta.unbound.controls.UbInteractiveController"/>
		<bind name="controller" value="lesta.dialogs.controllers.EntitySingletonController; 'gameInfo'"/>
		<bind name="dataRefDH" value="'playerEntity'; '$dataRef.ref'"/>
		<bind name="firstEntityDH" value="'mouseEntity'; CC.mouse"/>
		<bind name="watchDH" value="'playerId'; 			[]; playerEntity.avatar.id"/>
		<bind name="watchDH" value="'relation'; 			['playerEntity.relation.evChanged']; playerEntity.relation.value"/>
		<bind name="watchDH" value="'isAlive'; 			['playerEntity.avatar.evKilled']; playerEntity.avatar.isAlive"/>
		<bind name="watchDH" value="'ttkStatus'; 		['playerEntity.avatar.evTTKStatusChanged']; playerEntity.avatar.ttkStatus"/>
		<bind name="watchDH" value="'frags'; 			['playerEntity.avatar.evFragsChanged']; playerEntity.avatar.frags"/>
		<bind name="watchDH" value="'division'; 			['playerEntity.avatar.evDivisionChanged']; playerEntity.avatar.division"/>
		<bind name="watchDH" value="'divisionId'; 		['playerEntity.avatar.evDivisionChanged']; playerEntity.avatar.divisionId"/>
		<bind name="watchDH" value="'isSpeaking'; 		['playerEntity.playerVoiceState.evIsSpeakingChanged']; playerEntity.playerVoiceState.isSpeaking"/>
		<bind name="watchDH" value="'isMuted'; 			['playerEntity.playerVoiceState.evIsMutedChanged']; playerEntity.playerVoiceState.isMuted"/>
		<bind name="watchDH" value="'mute'; 				['playerEntity.avatar.evMuteChanged']; playerEntity.avatar.mute"/>
		<bind name="watchDH" value="'active'; 			['playerEntity.voiceChat.evActiveChanged']; playerEntity.voiceChat.active"/>
		<bind name="watchDH" value="'flags'; 			['playerEntity.target.evChanged']; playerEntity.target.flags"/>
		<bind name="watchDH" value="'divisionSign'; 		['playerEntity.avatar.evDivisionChanged']; playerEntity.avatar.divisionSign"/>
		<bind name="watchDH" value="'isInSameDivision'; 	['playerEntity.avatar.evDivisionChanged']; playerEntity.avatar.isInSameDivision"/>
		<bind name="watchDH" value="'pathTinyIcon'; 		[]; playerEntity.avatar.ship.ref.ship.pathTinyIcon"/>
		<bind name="watchDH" value="'pathOwnTinyIcon'; 	[]; playerEntity.avatar.ship.ref.ship.pathOwnTinyIcon"/>
		<bind name="watchDH" value="'pathTinyDeadIcon'; 	[]; playerEntity.avatar.ship.ref.ship.pathTinyDeadIcon"/>
		<bind name="watchDH" value="'name'; 				[]; playerEntity.avatar.name"/>
		<bind name="watchDH" value="'pureName'; 			[]; playerEntity.avatar.pureName"/>
		<bind name="watchDH" value="'isCursorActive'; ['mouseEntity.mouse.evActiveChanged']; mouseEntity.mouse.active"/>
		<bind name="changeDispatch" value="isCursorActive; 'Tooltip.Close'; {}; 0; false"/>
		<bind name="watch" value="'isSelf'; (relation == 0)"/>
		<bind name="watch" value="'player'; {
							relation: relation,
							name: name,
							pureName: pureName,
							nameUpper: nameUpper,
							clanTag: clanTag,
							rLevel: rLevel,
							shipType: shipType,
							shipLevel: shipLevel,
							shipNation: shipNation,
							ttkStatus: ttkStatus,
							isInSameDivision: false,
							isDivisionCommander: false,
							isInVoiceChat: false,
							isMuted: isMuted,
							inviteCooldown: inviteCooldown,
							division: division,
							isAlive: isAlive,
							invitationsEnabled: false,
							isLeaver: isLeaver,
							id: playerId,
							mute: mute,
							isInSameDivisionOnStart: playerEntity.avatar.isInSameDivisionOnStart
		}"/>
		
		<bind name="var" value="{healthP:'100%'}"/>
		<bind name="watchDH" value="'healthP'; ['playerEntity.health.evValueChanged']; (((playerEntity.health.value &gt; 0) &amp;&amp; isAlive) ? ((100 * playerEntity.health.value / playerEntity.health.max) + '%'): ( isAlive ? healthP: '0%'))"/>
		<bind name="watchDH" value="'nameUpper'; 	[]; playerEntity.avatar.ship.ref.ship.nameUpper"/>
		<bind name="watchDH" value="'rLevel'; 	[]; playerEntity.avatar.ship.ref.ship.levelRome"/>
		<bind name="var" value="{wasVisible:false}"/>
		<bind name="watchDH" value="'visibleShip'; ['playerEntity.visibility.evChanged']; playerEntity.visibility.mapVisible"/>
		<bind name="watchDH" value="'wasVisible'; ['playerEntity.visibility.evChanged']; playerEntity.visibility.mapVisible || wasVisible "/>
		<bind name="collectionDH" value="CC.camera; 'cameraCollection'"/>
		<bind name="entityDH" value="'cameraEntity'; cameraCollection[0].id"/>
		<bind name="watchDH" value="'camera'; ['cameraEntity.camera.evTacticalStateChanged']; cameraEntity.camera"/>
		<bind name="collectionDH" value="CC.userPrefs; 'userPrefsCollection'"/>
		<bind name="entityDH" value="'userPrefsEntity'; userPrefsCollection[0].id"/>
		<bind name="watchDH" value="'userPrefs'; ['userPrefsEntity.userPrefs.evUserPrefsChanged']; userPrefsEntity.userPrefs.userPrefs"/>
		<bind name="watch" value="'earsEnabled'; (userPrefs.elementsGroupExpand.earsEnabled == null) ? true : userPrefs.elementsGroupExpand.earsEnabled "/>
		<bind name="watch" value="'varIcons'; ((userPrefs.chatBoxWidth.varIcons != 1) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 2) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 3) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 4) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 5) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 6) &amp;&amp; (userPrefs.chatBoxWidth.varIcons != 7)) ? 2 : userPrefs.chatBoxWidth.varIcons"/>
		<bind name="watch" value="'deadEnabled'; (userPrefs.elementsGroupExpand.deadEnabled == null) ? true : userPrefs.elementsGroupExpand.deadEnabled "/>
		<bind name="watch" value="'scaleIcons'; ((userPrefs.chatBoxWidth.scaleIcons != 80) &amp;&amp; (userPrefs.chatBoxWidth.scaleIcons != 90) &amp;&amp; (userPrefs.chatBoxWidth.scaleIcons != 100)) ? 90 : userPrefs.chatBoxWidth.scaleIcons"/>
		<bind name="watch" value="'nameEnabled'; (userPrefs.elementsGroupExpand.nameEnabled == null) ? true : userPrefs.elementsGroupExpand.nameEnabled "/>
		<bind name="watch" value="'hpEnabled'; (userPrefs.elementsGroupExpand.hpEnabled == null) ? true : userPrefs.elementsGroupExpand.hpEnabled "/>
		<bind name="watch" value="'indexHP'; (userPrefs.chatBoxWidth.indexHP == null)? 2 : userPrefs.chatBoxWidth.indexHP"/>
		<bind name="watch" value="'alphaHP'; (userPrefs.chatBoxWidth.alphaHP == null)? 0 : userPrefs.chatBoxWidth.alphaHP"/>
		<bind name="watch" value="'showPROAlfa'; (userPrefs.elementsGroupExpand.showPROAlfa == null) ? true : userPrefs.elementsGroupExpand.showPROAlfa "/>
		<bind name="watch" value="'showWinRate'; (userPrefs.elementsGroupExpand.showWinRate == null) ? true : userPrefs.elementsGroupExpand.showWinRate "/>
		<bind name="watch" value="'showAverageDamage'; (userPrefs.elementsGroupExpand.showAverageDamage == null) ? false : userPrefs.elementsGroupExpand.showAverageDamage "/>
		<bind name="watch" value="'widthNickname'; (userPrefs.chatBoxWidth.widthNickname == null) ? 40 : userPrefs.chatBoxWidth.widthNickname"/>
		<bind name="watch" value="'widthShipname'; (userPrefs.chatBoxWidth.widthShipname == null)  ? 50 : userPrefs.chatBoxWidth.widthShipname"/>	
		<bind name="watch" value="'staticTTX'; (userPrefs.elementsGroupExpand.staticTTX == null)? true : userPrefs.elementsGroupExpand.staticTTX"/>
		<bind name="watch" value="'shipShortName'; playerEntity.avatar.ship.ref.ship.shortName"/>
		<bind name="watch" value="'showRadar'; (userPrefs.elementsGroupExpand.showRadar == null) ? true : userPrefs.elementsGroupExpand.showRadar "/>
		<bind name="watchDH" value="'shipType'; 	[]; playerEntity.avatar.ship.ref.ship.subtype"/>
		<bind name="watchDH" value="'shipLevel'; 	[]; playerEntity.avatar.ship.ref.ship.level"/>
		<bind name="watchDH" value="'shipNation'; 	[]; playerEntity.avatar.ship.ref.ship.country"/>
		<bind name="watch" value="'varBackgroundIcons'; ((userPrefs.chatBoxWidth.varBackgroundIcons != 1) &amp;&amp; (userPrefs.chatBoxWidth.varBackgroundIcons != 2) &amp;&amp; (userPrefs.chatBoxWidth.varBackgroundIcons != 3)) ? 2 : userPrefs.chatBoxWidth.varBackgroundIcons"/>
		<bind name="watch" value="'showDynamicField1'; (userPrefs.elementsGroupExpand.showDynamicField1 == null) ? true : userPrefs.elementsGroupExpand.showDynamicField1 "/>
		<bind name="watch" value="'varDynamicField1'; (userPrefs.chatBoxWidth.varDynamicField1 == null)  ? 1 : userPrefs.chatBoxWidth.varDynamicField1"/>
		<bind name="watch" value="'showDynamicField2'; (userPrefs.elementsGroupExpand.showDynamicField2 == null) ? true : userPrefs.elementsGroupExpand.showDynamicField2 "/>
		<bind name="watch" value="'varDynamicField2'; (userPrefs.chatBoxWidth.varDynamicField2 == null)  ? 1 : userPrefs.chatBoxWidth.varDynamicField2"/>
		<bind name="watch" value="'showDynamicField3'; (userPrefs.elementsGroupExpand.showDynamicField3 == null) ? true : userPrefs.elementsGroupExpand.showDynamicField3 "/>
		<bind name="watch" value="'varDynamicField3'; (userPrefs.chatBoxWidth.varDynamicField3 == null)  ? 1 : userPrefs.chatBoxWidth.varDynamicField3"/>
		<bind name="watch" value="'showClanTag'; (userPrefs.elementsGroupExpand.showClanTag == null) ? true : userPrefs.elementsGroupExpand.showClanTag "/>
		<bind name="watch" value="'showClanIcon'; (userPrefs.elementsGroupExpand.showClanIcon == null) ? true : userPrefs.elementsGroupExpand.showClanIcon "/>
				
		<bind name="visible" value="earsEnabled &amp;&amp; !(camera.isTactical)"/>
		
		<block className="HealthRowHolder">
			<bind name="visible" value="hpEnabled"/>
			<bind name="style" value="'top'; ((indexHP == 2) ? '0px' :((scaleIcons == 80) ? '18px' : ((scaleIcons == 90) ? '21px' : '23px')))"/>
			<bind name="style" value="'width'; ((varIcons == 7 &amp;&amp; staticTTX) ?(widthNickname + 18 + widthShipname + 'px'):(widthNickname + 18 + 'px'))"/>
			<bind name="style" value="'height'; ((indexHP == 2) ? '100%' : ((scaleIcons == 100) ? '5px' : '4px'))"/>
			<bind name="style" value="'right'; ((varIcons == 7 &amp;&amp; staticTTX) ?('-' + (widthNickname + 5 + widthShipname) + 'px'):('-' + (5 + widthNickname) + 'px'))"/>
			<style>
				<position value="absolute"/>
            </style>
            <block className="HealthRow">
				<style>
                    <height value="100%"/>
					<blurFilter value="2 2"/>
                    <position value="absolute"/>
					<align value="right"/>
                </style>
				<bind name="scaleX" value="-1"/>
				<bind name="style" value="'width'; healthP"/>
				<bind name="style" value="'alpha'; ((100-alphaHP)/100)"/>
				<bind name="style" value="'backgroundColor'; '0xFF009900'"/>
            </block>
        </block>
		
		<block>
			<bind name="style" value="'height'; ((varIcons == 7 &amp;&amp; staticTTX) ? ((scaleIcons == 80) ? '22px' : ((scaleIcons == 90) ? '25px' : '28px')) : ((scaleIcons == 80) ? '24px' : ((scaleIcons == 90) ? '27px' : '30px')))"/>
			<bind name="style" value="'width'; ((varIcons == 7 &amp;&amp; staticTTX) ? (15 + widthNickname + 20 + widthShipname + 'px'):(15 + widthNickname + 20 + (122*scaleIcons/100) + 'px'))"/>
			<block>
				<bind name="style" value="'width'; ((varIcons == 7 &amp;&amp; staticTTX) ? (15 + widthNickname + 20 + widthShipname + 'px'):(15 + widthNickname + 20 + 'px'))"/>
				<style>
					<height value="100%"/>
					<right value="0px"/>
					<position value="absolute"/>
				</style>
				<block>
					<style>
						<width value="100%"/>
						<height value="100%"/>
						<blurFilter value="2 2"/>
					</style>
					<bind name="style" value="'backgroundColor'; '0x20000000'"/>
				</block>
			</block>
			
			<bind name="tooltip" value="'BattlePlayerTooltip'; {	_isInBattle: true,
												_player: player, _selfPlayer: _selfPlayer,
												_battleType: gameInfo.battleType}"/>
			<bind name="menu" value="'UIListPlayerContextMenu'; !(isSelf)	?	{_player: player, _selfPlayer: _selfPlayer, _battleType: gameInfo.battleType, 
																_complaintsAvailable: true, _isBattleStats: true}
															: 	null; null; 'contextMenuVisible'"/>
			<block>
				<style>
					<width value="100%"/>
					<height value="100%"/>
					<position value="absolute"/>
				</style>
				<bind name="scaleX" value="-1"/>
				<block className="dock_submenu_item_bg" type="native">
					<bind name="transition" value="mouseDown || contextMenuVisible || rollOver; 0.1; {alpha: 0}; {alpha: 1}"/>
					<style>
						<right value="((varIcons == 7 &amp;&amp; staticTTX) ? (15 + widthNickname + 20 + widthShipname + 'px'):(15 + widthNickname + 20 + (122*scaleIcons/100) + 'px'))"/>
					</style>
					<styleClass value="$FullsizeAbsolute"/>
				</block>
			</block>
			<block> 
				<bind name="visible" value="(wasVisible &amp;&amp; isAlive)"/>
				<styleClass value="$MiddleVAligned"/>
				<style>
					<width value="16px"/>
					<height value="16px"/>
					<position value="absolute"/>
					<left value="-25px"/>
				</style>
				<bind name="style" value="'backgroundImage'; visibleShip ? 'url:../mod_ship_icons/spotted_icons/visible.png' : 'url:../mod_ship_icons/spotted_icons/unvisible.png'"/>
			</block>
			<block>
				<bind name="visible" value="(((shipType=='Cruiser') &amp;&amp; (shipLevel&gt;7) &amp;&amp; (shipNation=='Russia' || shipNation=='USA' || 
						shipNation=='United_Kingdom') || (shipShortName == 'PASC507') || (shipShortName == 'PASC006') || 
						(shipShortName == 'PASB509') || (shipShortName == 'PBSC507')) &amp;&amp; showRadar  &amp;&amp; (shipShortName != 'PRSC508'))"/>
				<bind name="scaleX" value="0.3"/>
				<bind name="scaleY" value="0.3"/>
				<styleClass value="$MiddleVAligned"/>
				<style>
					<width value="16px"/>
					<height value="16px"/>
					<position value="absolute"/>
					<left value="-15px"/>
				</style>
				<bind name="style" value="'backgroundImage'; 'url:../mod_ship_icons/RLS.png'"/>
			</block>
			
			<block>
				<style>
					<width value="100%"/>
					<height value="100%"/>
					<position value="absolute"/>
				</style>
				
				<block className="EarsIcons">
					<bind name="alpha" value="(!isAlive)?0.4:1"/>
					<bind name="visible" value="(varIcons != 7) &amp;&amp; staticTTX"/>
					<!--<bind name="visible" value="(varIcons != 7)"/>-->
					<bind name="style" value="'width'; ((scaleIcons == 80) ? '98px' : ((scaleIcons == 90) ? '110px' : '122px'))"/>
					<style>
						<height value="100%"/>
						<!--<marginRight value="2px"/>-->
					</style>
					<bind name="scaleX" value="(scaleIcons>10)?(scaleIcons/100):1"/> 
					<bind name="scaleY" value="(scaleIcons>10)?(scaleIcons/100):1"/>
					<bind name="style" value="'backgroundImage'; ('url:../mod_ship_icons/' + varIcons + '/' + shipShortName + '.png') "/>
				</block>
				<block>
					<bind name="visible" value="(flags &amp; (1 &lt;&lt; WeaponType.ARTILLERY)) != 0"/>
					<styleClass value="$MiddleVAligned"/>
					<style>
						<width value="15px"/>
						<height value="15px"/>
						<position value="absolute"/>
						<left value="-25px"/>
						<backgroundImage value="symbol:aww_priority_attack_small"/>
					</style>
				</block>
				<block>
					<bind name="visible" value="(flags &amp; (1 &lt;&lt; WeaponType.ATBA)) != 0"/>
					<styleClass value="$MiddleVAligned"/>
					<style>
						<width value="15px"/>
						<height value="15px"/>
						<position value="absolute"/>
						<left value="-25px"/>
						<backgroundImage value="symbol:scaliber_priority_attack_small"/>
					</style>
				</block>
				<block className="dynamicSpecifications">
					<bind name="visible" value="!staticTTX"/>
					<bind name="style" value="'width'; ((scaleIcons == 80) ? '98px' : ((scaleIcons == 90) ? '110px' : '122px'))"/>
					<style>
						<height value="100%"/>
						<marginLeft value="2px"/>
					</style>
					<block className="BackgroundIcons">
						<bind name="visible" value="varBackgroundIcons != 3"/>
						<bind name="alpha" value="!isAlive ? 0.4 : 1"/>
						<bind name="style" value="'height'; ((scaleIcons == 80) ? '24px' : ((scaleIcons == 90) ? '27px' : '30px'))"/>
						<style>
							<width value="100%"/>
							<position value="absolute"/>
						</style>
						<bind name="scaleX" value="(scaleIcons &gt; 10)?(scaleIcons/100):1"/> 
						<bind name="scaleY" value="(scaleIcons &gt; 10)?(scaleIcons/100):1"/>
						<bind name="style" value="'backgroundImage'; (((varBackgroundIcons == 2) ? 'url:../mod_ship_icons/coloured/' : (varBackgroundIcons == 1) ? 'url:../mod_ship_icons/standart/' : 'url:../ship_icons/') + shipShortName + '.png') "/>
					</block>
					<block className="BackgroundWithoutIcons">
						<bind name="visible" value="varBackgroundIcons == 3"/>
						<style>
							<width value="100%"/>
							<height value="100%"/>
							<position value="absolute"/>
						</style>
						<bind name="style" value="'backgroundColor'; '0x20000000'"/>
					</block>
			
					<block className="dynamicSpecificationsLines">
						<style>
							<width value="100%"/>
							<height value="100%"/>
						</style>
						<block className="dynamicSpecificationsLine1">
							<style>
								<height value="50%"/>
								<width value="100%"/>
								<marginTop value="-2px"/>
								<flow value="horizontal"/>
							</style>
							<block type="text" className="dynamicSpecificationsShipName">
								<bind name="text" value="rLevel + ' ' + nameUpper"/>
								<bind name="style" value="'width';(showDynamicField1 ? '60%' : '100%')"/>
								<styleClass value="$FontEarsBold"/>
								<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
											: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
											: '$FontColorAlmostBlack'"/>
								<style>
									<height value="100%"/>
									<multiline value="false"/>
									<dropShadowFilter value="1 90 0x08222a 0.7 2.0 2.0 1.0 2"/>
								</style>
								<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '10px' : ((scaleIcons == 90) ? '11px' : '12px'))"/>

							</block> 
				
							<block type="text" className="dynamicSpecificationsField1">
								<bind name="visible" value="showDynamicField1"/>
								<bind name="text" value="(varDynamicField1 == 2) ? ((player.shipParams.torpedoes_max_dist &gt; 0) ? (format(player.shipParams.torpedoes_max_dist, 1) + '/' + format(player.shipParams.torpedoes_time_reload, 1)) : '') :
									(varDynamicField1 == 3) ? (format(player.shipParams.maxSpeed, 1)) : (varDynamicField1 == 4) ? (player.shipParams.air_defense_p) : (varDynamicField1 == 5) ? (format(player.shipParams.visibilityDistByShip,1) + '/' + format(player.shipParams.visibilityDistByPlane,1)) :
									((player.shipParams.artillery_max_dist &gt; 0) ? (format(player.shipParams.artillery_max_dist, 1) + '/' + format(player.shipParams.artillery_time_reload, 1)) : '')"/>
								<styleClass value="$FontEarsBold"/>
								<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
											: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
											: '$FontColorAlmostBlack'"/>
								<style>
									<width value="40%"/>
									<height value="100%"/>
									<multiline value="false"/>
									<textAlign value="right"/>
									<dropShadowFilter value="1 90 0x08222a 0.7 2.0 2.0 1.0 2"/>
								</style>
								<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '10px' : ((scaleIcons == 90) ? '11px' : '12px'))"/>

							</block>
						</block>
				
						<block className="dynamicSpecificationsLine2">
							<style>
								<height value="50%"/>
								<width value="100%"/>
								<flow value="horizontal"/>
							</style>
							<block type="text" className="dynamicSpecificationsField3">
								<bind name="visible" value="showDynamicField3"/>
								<bind name="text" value="(varDynamicField3 == 1) ? ((player.shipParams.artillery_max_dist &gt; 0) ? (format(player.shipParams.artillery_max_dist, 1) + '/' + format(player.shipParams.artillery_time_reload, 1)) : '') :
									(varDynamicField3 == 4) ? (player.shipParams.air_defense_p) : (varDynamicField3 == 5) ? (format(player.shipParams.visibilityDistByShip,1) + '/' + format(player.shipParams.visibilityDistByPlane,1)) :
									(varDynamicField3 == 2) ? ((player.shipParams.torpedoes_max_dist &gt; 0) ? (format(player.shipParams.torpedoes_max_dist, 1) + '/' + format(player.shipParams.torpedoes_time_reload, 1)) : '') : (format(player.shipParams.maxSpeed, 1))"/>
								<styleClass value="$FontEarsBold"/>
								<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
											: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
											: '$FontColorAlmostBlack'"/>
								<style>
									<width value="50%"/>
									<height value="100%"/>
									<multiline value="false"/>
									<dropShadowFilter value="1 90 0x08222a 0.7 2.0 2.0 1.0 2"/>
								</style>
								<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '10px' : ((scaleIcons == 90) ? '11px' : '12px'))"/>

							</block> 
				
							<block type="text" className="dynamicSpecificationsField2">
								<bind name="visible" value="showDynamicField2"/>
								<bind name="text" value="(varDynamicField2 == 1) ? ((player.shipParams.artillery_max_dist &gt; 0) ? (format(player.shipParams.artillery_max_dist, 1) + '/' + format(player.shipParams.artillery_time_reload, 1)) : '') :
									(varDynamicField2 == 3) ? (format(player.shipParams.maxSpeed, 1)) : (varDynamicField2 == 4) ? (player.shipParams.air_defense_p) : (varDynamicField2 == 5) ? (format(player.shipParams.visibilityDistByShip,1) + '/' + format(player.shipParams.visibilityDistByPlane,1)) :
									((player.shipParams.torpedoes_max_dist &gt; 0) ? (format(player.shipParams.torpedoes_max_dist, 1) + '/' + format(player.shipParams.torpedoes_time_reload, 1)) : '')"/>
								<bind name="style" value="'width';(showDynamicField3 ? '50%' : '100%')"/>
								<styleClass value="$FontEarsBold"/>
								<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
											: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
											: '$FontColorAlmostBlack'"/>
								<style>
									<height value="100%"/>
									<multiline value="false"/>
									<textAlign value="right"/>
									<dropShadowFilter value="1 90 0x08222a 0.7 2.0 2.0 1.0 2"/>
								</style>
								<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '10px' : ((scaleIcons == 90) ? '11px' : '12px'))"/>

							</block>
						</block>
				
					</block> <!-- End block dynamicSpecificationsLines -->
			
				</block> <!-- End block DynamicSpecifications -->
		
				<block>
					<styleClass value="$MiddleVAligned"/>
					
					<block type="text" className="ShipName">
						<bind name="visible" value="(varIcons == 7) &amp;&amp; staticTTX"/>
						<!--<bind name="visible" value="(varIcons == 7)"/>-->
						<bind name="text" value="rLevel + ' ' + nameUpper"/>
						<bind name="style" value="'width'; (widthShipname + 'px')"/>
						<styleClass value="$TextSecondary"/>
						<styleClass value="$MiddleVAligned"/>
						<style>
							<multiline value="false"/>
						</style>
						<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '13' : ((scaleIcons == 90) ? '14px' : '15px'))"/>
						<bind name="class" value="isSelf 	? '$Bold' : '$None'"/>
						<bind name="style" value="'textAlign'; 'left'"/>
						<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
								: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
								: '$FontColorAlmostBlack'"/>
					</block>
					<block type="text" className="FragsCount">
						<bind name="text" value="frags"/>
						<bind name="style" value="'width'; '20px'"/>
						<styleClass value="$TextSecondary"/>
						<styleClass value="$MiddleVAligned"/>
						<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '13' : ((scaleIcons == 90) ? '14px' : '15px'))"/>
						<bind name="class" value="isSelf 	? '$Bold' : '$None'"/>
						<bind name="style" value="'textAlign'; 'right'"/>
						<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
								: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
								: '$FontColorAlmostBlack'"/>
					</block>
					
					<block type="text" className="PlayerName">
						<styleClass value="$TextSecondary"/>
						<styleClass value="$MiddleVAligned"/>
						<style>
							<multiline value="false"/>
						</style>
						<bind name="style" value="'width'; (widthNickname + 'px')"/>
						<bind name="style" value="'fontSize'; ((scaleIcons == 80) ? '13' : ((scaleIcons == 90) ? '14px' : '15px'))"/>
						<bind name="style" value="'alpha'; isAlive ? 1 : 0.5"/>
						<bind name="class" value="isSelf 	? '$Bold' : '$None'"/>
						<bind name="style" value="'textAlign'; 'right'"/>
						<bind name="class" value="isAlive 	? tkStatus 	? '$FontColorTeamkiller'
												: ttkStatus 						? '$FontColorTTK'
												: (isSelf || isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
								: isSelf 	? tkStatus 	? '$FontColorTeamkiller' 
											: ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
								: '$FontColorAlmostBlack'"/>
						<bind name="text" value="showClanTag ? name : pureName"/>
					</block>
					
					<block type="text" className="ClanIcons">
						<bind name="alpha" value="!isAlive ? 0.4 : 1"/>
						<bind name="visible" value="showClanIcon"/>
						<bind name="style" value="'right'; ((widthNickname - 5) + 'px')"/>
						<style>
							<top value="-6px"/>
							<position value="absolute"/>
						</style>
						<bind name="scaleX" value="(scaleIcons &gt; 10)?(scaleIcons/120):0.85"/> 
						<bind name="scaleY" value="(scaleIcons &gt; 10)?(scaleIcons/120):0.85"/>
						<bind name="style" value="'backgroundImage'; ('url:../mod_ship_icons/clan_icons/' + clanTag + '.png') "/>
					</block>
					
					<style>
						<flow value="horizontal"/>
					</style>
				</block>
				<block>
					<bind name="visible" value="division &gt; 0"/>
					<styleClass value="$MiddleVAligned"/>
					<style>
						<position value="absolute"/>
						<right value="0px"/>
					</style>
					<block className="division_item" type="native">
						<bind name="gotoAndStop!" value="divisionSign + 1 + 10"/>
					</block>
				</block>
				<block>
					<style>
						<position value="absolute"/>
						<right value="0px"/>
						<marginTop value="-2px"/>
					</style>
					<bind name="instance" value="'UIListVoiceTextChatIcons'; {	_isSelf: isSelf, _isTextChatMuted: mute, _selfPlayerDivisionId: divisionId }"/>
				</block>
				<style>
					<flow value="horizontal"/>
				</style>
			</block>
		</block>
	</block>
	<block className="EarTextLine">
		<bind name="watch" value="'widthNickname'; (userPrefs.chatBoxWidth.widthNickname == null) ? 40 : userPrefs.chatBoxWidth.widthNickname"/>
		<bind name="watch" value="'widthShipname'; (userPrefs.chatBoxWidth.widthShipname == null)  ? 50 : userPrefs.chatBoxWidth.widthShipname"/>	
		
		<block type="text">
			<styleClass value="$TextSecondary"/>
			<style>
				<multiline value="false"/>
			</style>
			<bind name="style" value="'width'; _width"/>
			<!--<bind name="style" value="'fontSize'; _fontSize"/>-->
			<bind name="style" value="'alpha'; _isAlive ? 1 : 0.5"/>
			<bind name="class" value="_isSelf 	? '$Bold' : '$None'"/>
			<bind name="style" value="'textAlign'; ((_relation == 1) || (_relation == 0)) ? 'left' : 'right'"/>
			<bind name="class" value="_isAlive 	? _tkStatus 	? '$FontColorTeamkiller'
												: _ttkStatus 						? '$FontColorTTK'
												: (_isSelf || _isInSameDivision) 	? '$FontColorGolden'
																					: '$None'
								: _isSelf 	? _tkStatus 	? '$FontColorTeamkiller' 
											: _ttkStatus 	? '$FontColorTTK'
											: '$FontColorGolden'
								: '$FontColorAlmostBlack'"/>
			<bind name="text" value="_text"/>
		</block>
	</block>
</ui>
