<?xml version="1.0" encoding="utf-8"?>
<Context Font="TwCenMT18" FontStyle="Shadow" ColorSet="Beige_Black_Alpha">

	<Image ID="AtlasLogo" Anchor="C,C" Hidden="1"/>

	<!-- Game Option Instance -->
	<Instance Name="GameOption" Size="320.24">
		<Label ID="Text" Anchor="C,T" String="Era Started: Ancient"/>
	</Instance>

	<!-- Player Slot Instance Style="Grid9FrameTurns" -->
	<Instance Name="PlayerSlot">

		<Container ID="Root" Size="575,107" Hidden="1">

			<!-- Ready to Play Highlight-->
			<Grid ID="ReadyHighlight" Size="575,107" Style="Grid9FrameGreenFade" Color="White.164" Anchor="C,C" Hidden="1"/>

			<!-- Leader Portrait -->
			<Image Anchor="L,C" Size="64,64" Texture="IconFrame64.dds">
				<Image ID="Portrait" Size="64,64"/>
			</Image>

			<!-- Civ Icon -->
			<Box ID="CivIconBox" Anchor="L,C" Size="64,64" Offset="58,0" Color="255.0.0.0">
				<AlphaAnim ID="ActiveTurnAnim" Stopped="1" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="1" AlphaEnd="0">
					<Image Size="64,64" Texture="IconFrame64.dds">
						<Image ID="CivIconBG" Size="64,64"/>
						<Image ID="CivIconShadow" Size="48,48" Offset="9,9"/>
						<Image ID="CivIcon" Size="48,48" Offset="8,8"/>
					</Image>
				</AlphaAnim>
			</Box>

			<!-- WaitOnPlayer -->
			<Image ID="WaitOnPlayer" Anchor="L,C" Hidden="1" Size="32,32" Texture="WaitOnPlayer32.dds"/>

			<!-- PlayerNameLabel -->
			<Box ID="PlayerNameBox" Size="260,32" Offset="128,38" Color="255.255.255.0">
				<Stack Anchor="L,B" StackGrowth="Right">
					<Box ID="HostBox" Color="0,0,255,0" Anchor="L,C" Size="24,32">
						<Label ID="HostIcon" Anchor="C,C" String="[ICON_CAPITAL]" Hidden="1" ToolTip="TXT_KEY_HOST"/>
					</Box>
					<Box ID="ConnectedBox" Color="0,255,0,0" Anchor="L,C" Size="32,32">
						<Image ID="ConnectionStatus" Anchor="C,C" Offset="-2,2" Size="32,32" Texture="MarcPips.DDS" ToolTip="TXT_KEY_MP_PLAYER_CONNECTED" hidden="1"/>
					</Box>
					<Label ID="PlayerNameLabel" Anchor="L,C" Font="TwCenMT20" TruncateWidth="200"/>
				</Stack>
			</Box>

			<Stack Offset="128,6" Padding="6" StackGrowth="Right">

				<Stack Anchor="L,B" Padding="6" StackGrowth="Top">
					<!-- Invite Option -->
					<Box Size="260,27" Color="255.255.255.0" Hidden="1">
						<PullDown ID="InvitePulldown" Anchor="L,C" Style="GenericPullDown" ScrollThreshold="110" Size="260,27" AutoSizePopUp="1" SpaceForScroll="1"/>
					</Box>
					<!-- Civ Dropdown -->
					<Box Size="260,27" Color="255.255.255.0">
						<PullDown ID="CivPulldown" Anchor="L,C" Style="GenericPullDown" ScrollThreshold="90" Size="260,27" AutoSizePopUp="1" SpaceForScroll="1"/>
						<Label ID="CivLabel" Anchor="C,C" Font="TwCenMT20" TruncateWidth="250"/>
					</Box>
				</Stack>

				<!-- Team & Handicap Dropdowns -->
				<Stack Padding="6" StackGrowth="Top">
					<!-- Team Dropdown -->
					<Box Size="160,27" Color="255.255.255.0">
						<PullDown ID="TeamPulldown" Anchor="L,C" Style="GenericPullDown" ScrollThreshold="400" Size="160,27" AutoSizePopUp="1" SpaceForScroll="0"/>
						<Label ID="TeamLabel" Anchor="C,C" Font="TwCenMT20"/>
					</Box>
					<!-- Slot Type Dropdown -->
					<Box Size="160,27" Color="255.255.255.0">
						<PullDown ID="SlotTypePulldown" Anchor="L,C" Style="GenericPullDown" ScrollThreshold="400" Size="160,27" AutoSizePopUp="1" SpaceForScroll="0"/>
						<Label ID="SlotTypeLabel" Anchor="C,C" Font="TwCenMT20"/>
					</Box>
					<!-- Handicap Dropdown -->
					<Box Size="160,27" Color="255.255.255.0">
						<PullDown ID="HandicapPulldown" Anchor="L,C" Style="GenericPullDown" ScrollThreshold="400" Size="160,27" AutoSizePopUp="1" SpaceForScroll="0"/>
						<Label ID="HandicapLabel" Anchor="C,C" Font="TwCenMT20"/>
					</Box>
				</Stack>

			</Stack>

			<!-- Kick Button -->
			<Button ID="KickButton" Anchor="R,T" Size="32,32" Offset="5,3" Texture="IconFrame32Delete.DDS" ToolTip="TXT_KEY_MP_KICK_PLAYER"/>

			<!-- Swap Button -->
			<GridButton ID="SwapButton" Style="SmallButton" Anchor="R,T" Size="42,32" Offset="165,8" String="[ICON_SWAP]" ToolTip="TXT_KEY_MP_SWAP_BUTTON_TT">
				<AlphaAnim ID="SwapButtonHighAlpha" Anchor="C,C" Size="300,36" TextureOffset="0.0" Pause="0" Cycle="Bounce" Speed="1" AlphaStart=".25" AlphaEnd=".6" Hidden="1">
					<Grid	Size="42,32" Anchor="C,C" Style="Grid9Highlight8" Color="0,255,0,255"/>
				</AlphaAnim>
			</GridButton>

			<!-- Lock/Unlock Checkbox -->
			<CheckBox ID="LockCheck" Anchor="R,B" Offset="0,7" ButtonTexture="IconFrame32Lock.DDS" CheckTexture="IconFrame32Unlock.DDS" ToolTip="TXT_KEY_MP_LOCK_SLOT"/>

			<!-- Disabled Slot Panel Cover -->
			<Box ID="DisableBlock" Size="450,107" Offset="0,33" Color="Black.220" Hidden="1">
				<Box Size="125,74" Anchor="R,B" AnchorSide="O.I" Color="Black.220"/>
			</Box>

			<!-- Enable/Disable Checkbox -->
			<CheckBox ID="EnableCheck"	Anchor="R,T" Offset="6,3" ToolTip="TXT_KEY_MP_DISABLE_SLOT" Hidden="1"/>

			<!-- Edit Entry (hotseat) -->
			<Container Anchor="R,B" Size="50,32" Offset="-25,5">
				<TextButton ID="EditButton" Anchor="C,C" Font="TwCenMT14" String="TXT_KEY_EDIT_BUTTON" ToolTip="TXT_KEY_NAME_CIV_TITLE" MouseOverStyle="SoftShadow"/>
			</Container>

			<!-- Ping Time -->
			<Container Anchor="R,B" Size="50,32" Offset="-20,16">
				<Label ID="PingTimeLabel" Anchor="L,B" Offset="8,-2" Font="TwCenMT14"/>
			</Container>

			<Image Anchor="C,B" Texture="bar500x2.dds" Size="500.1"/>
			<Label ID="PlayerID" Font="TwCenMT14"/>

		</Container>
	</Instance>

	<Instance Name="ChatEntry">
		<Label ID="String" WrapWidth="900" LeadingOffset="-4" Font="TwCenMT16" FontStyle="Base"/>
	</Instance>

	<!-- Editiable Game Option Checkbox Instance -->
	<Instance Name="GameOptionInstance">
		<CheckBox ID="GameOptionRoot" ButtonTexture="CheckBox2TheBox.dds" Anchor="L,C" TextAnchorSide="Right" Font="TwCenMT20" Offset="10,0" TextOffset="40,0" IsChecked="0"/>
	</Instance>

	<!-- Editiable Game Option Dropdown Instance -->
	<Instance Name="DropDownOptionInstance">
		<Container ID="DropDownOptionRoot" Size="450,32" Offset="20,0">
			<Label ID="OptionName" Anchor="L,C" Font="TwCenMT20"/>
			<PullDown ID="OptionDropDown" Style="GenericPullDown" ScrollThreshold="400" Offset="150,0" Size="300,27" SpaceForScroll="0"/>
		</Container>
	</Instance>

	<Grid ID="MainGrid" Size="960,Full" Anchor="C,B" Offset="0,-39" Style="Grid9DetailFive140" ConsumeMouse="1" Hidden="1">

		<!-- Side treatments -->
		<Box Style="MenuLeftSideTreatment"/>
		<Box Style="MenuRightSideTreatment"/>
		<Box Style="MenuTopTreatment"/>
		<Label ID="TitleLabel" Style="MenuTitleCaption" String="{TXT_KEY_MULTIPLAYER_STAGING_ROOM:upper}"/>

		<!-- Top Panel	-->
		<Box Anchor="C,T" Size="926,32" Offset="0,44" Color="0.0.0.128">
			<Box Size="608,24" Color="0.0.0.128">
			<Stack Size="608,24" Offset="0,2" Padding="0" StackGrowth="Right">
				<Button ID="PlayersPageTab"	Anchor="L,T" Size="304,24" String="{TXT_KEY_MULTIPLAYER_STAGING_ROOM_HEADER_PLAYER:upper}" ToolTip="TXT_KEY_MULTIPLAYER_STAGING_ROOM_HEADER_PLAYER_TT">
				<ShowOnMouseOver>
					<AlphaAnim Size="304,27" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1">
					<Grid Size="304,27" Offset="0,-1" Style="Grid9FrameTurnsHL"/>
					</AlphaAnim>
				</ShowOnMouseOver>
				<Grid ID="PlayersPageTabHighlight" Anchor="C,C" Size="304,26" Style="Grid9FrameTurns" Hidden="1"/>
				</Button>
				<Button ID="OptionsPageTab"	Anchor="L,T" Size="304,24" String="{TXT_KEY_AD_SETUP_GAME_OPTIONS:upper}" ToolTip="TXT_KEY_MULTIPLAYER_STAGING_ROOM_GAME_OPTIONS_TT">
				<ShowOnMouseOver>
					<AlphaAnim Size="304,27" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1">
					<Grid Size="304,27" Offset="0,-1" Style="Grid9FrameTurnsHL"/>
					</AlphaAnim>
				</ShowOnMouseOver>
				<Grid ID="OptionsPageTabHighlight" Anchor="C,C" Size="304,26" Style="Grid9FrameTurns" Hidden="1"/>
				</Button>

			</Stack>
			</Box>

			<Image Offset="608,0" Texture="VerticalTrim.dds" Size="5.27"/>
			<Box ID="GameOptionsSummaryTitle" Size="320,24" Offset="614,0" Color="255.255.255.0">
			<Label Anchor="C,C" Font="TwCenMT22" String="TXT_KEY_AD_SETUP_GAME_OPTIONS"/>
			</Box>
			<Image Anchor="C,B" Texture="HorizontalTrim.dds" Size="924.5"/>
		</Box>


		<!-- Host Player Info -->
		<Grid ID="Host" Size="610,107" Offset="17,76" Style="Grid9FrameTurns">

			<!-- Bottom divider line -->
			<Image Anchor="C,B" Texture="HorizontalTrim.dds" Size="610.5"/>

			<!-- Ready to Play Highlight-->
			<Grid ID="ReadyHighlight" Size="575,107" Style="Grid9FrameGreenFade" Color="White.164" Anchor="C,C" Hidden="1"/>

			<!-- Leader Portrait -->
			<Image Anchor="L,C" Size="64,64" Texture="IconFrame64.dds">
				<Image ID="Portrait" Size="64,64"/>
			</Image>

			<!-- Civ Icon -->
			<Box ID="CivIconBox" Anchor="L,C" Size="64,64" Offset="58,0" Color="255.0.0.0">
				<AlphaAnim ID="ActiveTurnAnim" Stopped="1" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="1" AlphaEnd="0">
					<Image Size="64,64" Texture="IconFrame64.dds">
						<Image ID="CivIconBG" Size="64,64"/>
						<Image ID="CivIconShadow" Size="48,48" Offset="9,9"/>
						<Image ID="CivIcon" Size="48,48" Offset="8,8"/>
					</Image>
				</AlphaAnim>
			</Box>

			<!-- Left to Right Stack of Elements -->
			<Stack Offset="128,3" Padding="6" StackGrowth="Right">
			<!-- Slot Leader Name & Civ Dropdown -->
			<Stack Padding="6" StackGrowth="Bottom">

				<!-- -->
				<Box ID="PlayerNameBox" Size="260,27" Color="255.255.255.0">

				<Label ID="PlayerNameLabel" Anchor="L,B" Offset="25,-2" Font="TwCenMT20" TruncateWidth="200"/>
				<Label ID="HostIcon" Anchor="L,B" String="[ICON_CAPITAL]" Hidden="1" ToolTip="TXT_KEY_HOST"/>

				</Box>
				<!-- Civ Dropdown -->
				<Box Size="260,27" Color="255.255.255.0">
				<PullDown ID="CivPulldown" Anchor="C,C" Style="GenericPullDown" ScrollThreshold="400" Size="260,27" AutoSizePopUp="1" SpaceForScroll="1"/>
				<Label ID="CivLabel" Anchor="C,C" Font="TwCenMT20" TruncateWidth="250"/>
				</Box>
			</Stack>
			<!-- Team & Handicap Dropdowns -->
			<Stack Padding="6" StackGrowth="Top">
				<!-- Team Dropdown -->
				<Box Size="128,27" Color="255.255.255.0">
				<PullDown ID="TeamPulldown" Anchor="C,C" Style="GenericPullDown" ScrollThreshold="400" Size="128,27" AutoSizePopUp="1" SpaceForScroll="0"/>
				<Label ID="TeamLabel" Anchor="C,C" Font="TwCenMT20"/>
				</Box>
				<!-- Slot Type Dropdown -->
				<Box Size="128,27" Color="255.255.255.0">
				<PullDown ID="SlotTypePulldown" Anchor="L,C" Style="GenericPullDown" ScrollThreshold="400" Size="128,27" AutoSizePopUp="1" SpaceForScroll="0"/>
				<Label ID="SlotTypeLabel" Anchor="C,C" Font="TwCenMT20"/>
				</Box>
				<!-- Handicap Dropdown -->
				<Box Size="128,27" Color="255.255.255.0">
				<PullDown ID="HandicapPulldown" Anchor="C,C" Style="GenericPullDown" ScrollThreshold="400" Size="128,27" AutoSizePopUp="1" SpaceForScroll="0"/>
				<Label ID="HandicapLabel" Anchor="C,C" Font="TwCenMT20"/>
				</Box>
			</Stack>


			</Stack>

			<!-- Ready Checkbox -->
			<CheckBox ID="LocalReadyCheck" Anchor="R,T" Offset="6,6" ButtonTexture="IconFrame32CheckOff.DDS" CheckTexture="IconFrame32Check.DDS" ToolTip="TXT_KEY_MP_READY_CHECK"/>

			<!-- Edit Button -->
			<Container Anchor="R,B" Size="50,32" Offset="34,5">
				<TextButton ID="LocalEditButton" Anchor="C,C" Font="TwCenMT14" String="TXT_KEY_EDIT_BUTTON" ToolTip="TXT_KEY_NAME_CIV_TITLE" MouseOverStyle="SoftShadow" Hidden="1">
					<TextButton ID="RemoveButton" Offset="20,0" Anchor="L,C" AnchorSide="o,i" Font="TwCenMT14" String="TXT_KEY_CANCEL_BUTTON" MouseOverStyle="SoftShadow">
					<Box Offset="-10,0" Anchor="R,C" Size="1,16" Color="Beige.128"/>
					</TextButton>
				</TextButton>
			</Container>
			<Label ID="PlayerID" Font="TwCenMT14"/>

		</Grid>

		<!-- Player Listing Background -->
		<ScrollPanel ID="ListingScrollPanel" Vertical="1" Offset="18,185" Size="588,360" AutoScrollBar="1">

			<!-- Listing Stack (Dynamic) -->
			<Stack ID="SlotStack" StackGrowth="Bottom" Padding="0"/>

			<!-- Scroll Controls -->
			<ScrollBar	Style="VertSlider" Length="357" Offset="0.18" Anchor="R,T" AnchorSide="O,I"/>
			<UpButton Style="ScrollBarUp" Anchor="R,T" AnchorSide="O,I"/>
			<DownButton Style="ScrollBarDown" Anchor="R,B" AnchorSide="O,I"/>

		</ScrollPanel>

		<!-- Game Options Page -->
		<ScrollPanel ID="OptionsScrollPanel" Vertical="1" Offset="18,76" Size="906,393" AutoScrollBar="1" Hidden="1">

			<!-- Scroll Controls -->
			<ScrollBar	Style="VertSlider" Anchor="R,T" Offset="0,18" AnchorSide="O,I" Length="344"/>
			<UpButton Style="ScrollBarUp" Anchor="R,T" AnchorSide="O,I"/>
			<DownButton Style="ScrollBarDown" Anchor="R,B" AnchorSide="O,I"/>

			<Stack ID="GameOptionsFullStack" Padding="0" StackGrowth="Bottom">

			<!-- City State Options -->
			<Box Size="480,36" Color="255.255.255.0">
				<Stack ID="CityStateStack" Size="463,32" StackGrowth="Right">
				<Box Anchor="L,C" Size="160,32" Offset="10,5" Color="255.255.255.0">
					<Label ID="MinorCivsLabel" Offset="10,0" Font="TwCenMT20"/>
				</Box>
				<Slider ID="MinorCivsSlider" Anchor="L,C" Length="300" Style="Slider" WheelSteps="10"/>
				</Stack>
			</Box>

			<!-- List of Combo Box Options -->
			<Stack ID="DropDownOptionsStack" Offset="0,3" Padding="0" StackGrowth="Bottom">

				<Container Size="450,32" Offset="20,0">
				<Label Anchor="L,C" Font="TwCenMT20" String="TXT_KEY_AD_SETUP_MAP_TYPE"/>
				<PullDown ID="MapTypePullDown" Style="GenericPullDown" ScrollThreshold="400" Offset="150,0" Size="300,27" SpaceForScroll="0"/>
				</Container>

				<Container Size="450,32" Offset="20,0">
				<Label Anchor="L,C" Font="TwCenMT20" String="TXT_KEY_AD_SETUP_MAP_SIZE"/>
				<PullDown ID="MapSizePullDown" Style="GenericPullDown" ScrollThreshold="400" Offset="150,0" Size="300,27" SpaceForScroll="0"/>
				</Container>

				<Container Size="450,32" Offset="20,0">
				<Label Anchor="L,C" Font="TwCenMT20" String="TXT_KEY_AD_SETUP_GAME_SPEED"/>
				<PullDown ID="GameSpeedPullDown" Style="GenericPullDown" ScrollThreshold="400" Offset="150,0" Size="300,27" SpaceForScroll="0"/>
				</Container>

				<Container Size="450,32" Offset="20,0">
				<Label Anchor="L,C" Font="TwCenMT20" String="TXT_KEY_AD_SETUP_GAME_ERA"/>
				<PullDown ID="EraPull" Style="GenericPullDown" ScrollThreshold="400" Offset="150,0" Size="300,27" SpaceForScroll="0"/>
				</Container>

				<Container ID="TurnModeRoot" Size="450,32" Offset="20,0">
				<Label Anchor="L,C" Font="TwCenMT20" String="TXT_KEY_AD_SETUP_GAME_TURN_MODE"/>
				<PullDown ID="TurnModePull" Style="GenericPullDown" ScrollThreshold="400" Offset="150,0" Size="300,27" SpaceForScroll="0"/>
				</Container>
			</Stack>

			<!-- Victory Conditions -->
			<Box Anchor="C,T" Size="500,30" Color="White.0">
				<Image	Anchor="C,T" Texture="bar500x2.dds" Size="500.1"/>
				<Label	Anchor="C,B" Offset="0,5" String="TXT_KEY_VICTORYS_FORMAT" Font="TwCenMT20"/>
				<Image	Anchor="C,B" Texture="bar500x2.dds" Size="500.1"/>
			</Box>
			<Stack ID="VictoryConditionsStack" Offset="20,0" Padding="-7" StackGrowth="Bottom"/>

			<Box Anchor="C,T" Size="500,30" Color="White.0">
				<Image	Anchor="C,T" Texture="bar500x2.dds" Size="500.1"/>
				<Label	Anchor="C,B" Offset="0,5" String="TXT_KEY_ADVANCED_OPTIONS" Font="TwCenMT20"/>
				<Image	Anchor="C,B" Texture="bar500x2.dds" Size="500.1"/>
			</Box>

			<!-- Max Turn Check & Edit Box -->
			<Box Size="480,24" Offset="20,0" Color="255,255,255,0">
				<Stack ID="MaxTurnStack" Size="463,32" Offset="10,0" StackGrowth="Right">
				<Box Anchor="L,C" Size="161,32" Color="255,255,200,0">
					<CheckBox ID="MaxTurnsCheck" ButtonTexture="CheckBox2TheBox.dds" Font="TwCenMT20" Anchor="L,C" TextAnchorSide="Right" TextOffset="40,0" String="TXT_KEY_AD_SETUP_MAX_TURNS" ToolTip="TXT_KEY_AD_SETUP_MAX_TURNS_TT" IsChecked="0"/>
				</Box>
				<Box ID="MaxTurnsEditbox" Hidden="1" Anchor="L,C" Size="34,24" Color="255,255,200,255">
					<Box Anchor="C,C" Size="32,22" Color="0,0,0,255">
					<EditBox ID="MaxTurnsEdit" Size="30,18" Anchor="L,C" Font="TwCenMT14" NumberInput="1" MaxLength="3" CallOnChar="1"/>
					</Box>
				</Box>
				</Stack>
			</Box>

			<!-- Turn Timer Check & Edit Box -->
			<Box Size="480,25" Offset="30,0" Color="255,255,255,0">
				<Stack ID="TurnTimerStack" Size="463,32" StackGrowth="Right">
				<Box Anchor="L,C" Size="200,32" Color="255,255,200,0">
					<CheckBox ID="TurnTimerCheck" ButtonTexture="CheckBox2TheBox.dds" Font="TwCenMT20" Anchor="L,C" TextAnchorSide="Right" TextOffset="40,0" String="TXT_KEY_GAME_OPTION_END_TURN_TIMER_ENABLED" ToolTip="TXT_KEY_GAME_OPTION_END_TURN_TIMER_ENABLED_HELP" IsChecked="0"/>
				</Box>
				<Box ID="TurnTimerEditbox" Hidden="1" Anchor="L,C" Size="34,24" Color="255,255,200,255">
					<Box Anchor="C,C" Size="32,22" Color="0,0,0,255">
					<EditBox ID="TurnTimerEdit" Size="30,18" Anchor="L,C" Font="TwCenMT14" NumberInput="1" MaxLength="3" CallOnChar="1"/>
					</Box>
					<Label ID="TurnTimerUnits"	Anchor="R,C" AnchorSide="O,I" Offset="5,0" Font="TwCenMT20"/>
				</Box>
				</Stack>
			</Box>
			<!-- List of Check Boxes -->
			<Stack ID="GameOptionsStack" Offset="20,0" Padding="-7" StackGrowth="Bottom"/>

			<!-- DLC -->
			<Box Anchor="C,T" Size="500,30" Color="White.0">
				<Image	Anchor="C,T" Texture="bar500x2.dds" Size="500.1"/>
				<Label	Anchor="C,B" Offset="0,5" String="TXT_KEY_DLC_ALLOWED" Font="TwCenMT20"/>
				<Image	Anchor="C,B" Texture="bar500x2.dds" Size="500.1"/>
			</Box>

			<Stack ID="DLCAllowedStack" Offset="20,0" Padding="-7" StackGrowth="Bottom"/>

			<!-- Mods -->
			<Stack Offset="0,12" Size="128,128" StackGrowth="Bottom" Padding="3" Hidden="1">

				<Box ID="LoadScenarioBox" Anchor="L,B" Offset="116,0" Color="White.24" Size="430,30">
				<CheckBox ID="ScenarioCheck" ButtonTexture="CheckBox2TheBox.dds" Anchor="L,C" TextAnchorSide="Right" TextOffset="40,0" String="TXT_KEY_LOAD_SCENARIO"/>
				</Box>

				<GridButton ID="ModsButton"	Style="ZoomButton" Size="340,27">
				<Stack Anchor="C,C" Size="565,128" StackGrowth="Bottom" Padding="6">
					<Label ID="ModsName" Anchor="C,C" Font="TwCenMT22" String="TXT_KEY_ACTIVE_MODS"/>
					<Label ID="ModsHelp" WrapWidth="410" LeadingOffset="-6" Color="Beige.128" FontStyle="Base"/>
				</Stack>
				</GridButton>

			</Stack>

			</Stack>
		</ScrollPanel>

		<Image ID="VerticalTrim" Offset="625,75" Texture="VerticalTrim.dds" Size="5,475"/>

		<!-- Game Options -->
		<ScrollPanel ID="GameOptionsSummary" Size="300,359" Offset="629,80" Color="255,255,255,0" Vertical="1" AutoScrollBar="1">

			<!-- Scroll Controls -->
			<ScrollBar	Style="VertSlider" Anchor="R,C" AnchorSide="O,I"/>
			<UpButton Style="ScrollBarUp" Anchor="R,T" AnchorSide="O,I"/>
			<DownButton Style="ScrollBarDown" Anchor="R,B" AnchorSide="O,I"/>

			<Stack ID="AdvancedOptions" Offset="10,0" Padding="6" StackGrowth="Bottom">

				<Label Anchor="C,C" String="TXT_KEY_GAME_NAME" Font="TwCenMT20"/>
				<Label ID="NameLabel" Anchor="C,C" Font="TwCenMT20"/>
				<Image	Anchor="C,T" Texture="bar300x2.dds" Size="300.1"/>

				<Container ID="LoadingBox" Size="200,30" Anchor="C,C">
					<Label Anchor="C,C" Offset="0,-3" Font="TwCenMT20" ColorSet="Red_Black" String="TXT_KEY_LOADING_SAVED_GAME"/>
					<Image	Anchor="C,B" Texture="bar300x2.dds" Size="300.1"/>
				</Container>

				<Container ID="HotJoinBox" Size="200,30" Anchor="C,C">
					<Label Anchor="C,C" Offset="0,-3" Font="TwCenMT20" ColorSet="Red_Black" String="TXT_KEY_GAME_IN_PROGRESS"/>
					<Image	Anchor="C,B" Texture="bar300x2.dds" Size="300.1"/>
				</Container>

				<Grid Size="300,27" Anchor="L,C" Style="Grid9FrameTurns">
					<Label ID="MapTypeLabel" Anchor="C,C" Font="TwCenMT20"/>
				</Grid>
				<Grid Size="300,27" Anchor="L,C" Style="Grid9FrameTurns">
					<Label ID="MapSizeLabel" Anchor="C,C" Font="TwCenMT20"/>
				</Grid>
				<Grid Size="300,27" Anchor="L,C" Style="Grid9FrameTurns">
					<Label ID="GameSpeedLabel" Anchor="C,C" Font="TwCenMT20"/>
				</Grid>
				<Grid Size="300,27" Anchor="L,C" Style="Grid9FrameTurns">
					<Label ID="StartEraLabel" Anchor="C,C" Font="TwCenMT20"/>
				</Grid>
				<Grid Size="300,27" Anchor="L,C" Style="Grid9FrameTurns">
					<Label ID="TurnModeLabel" Anchor="C,C" Font="TwCenMT20"/>
				</Grid>

				<Image	Anchor="C,T" Texture="bar300x2.dds" Size="300.1"/>

				<Label ID="MaxTurns" Anchor="C,C" Font="TwCenMT20"/>
				<Label ID="TurnTimer" Anchor="C,C" Font="TwCenMT20"/>

			</Stack>
		</ScrollPanel>

		<!-- Chat Panel -->
		<Box ID="ChatBox" Anchor="R,B" Size="925,164" Offset="17,110" Color="255,255,255,0">

			<Grid ID="ChatPanel" Size="925,160" Color="White.128" Style="GridGlass16">
				<Stack StackGrowth="Bottom">
					<Image Texture="HorizontalTrim.dds" Size="925.5"/>
					<Container Size="1,4"/>
					<!-- Chat ScrollPanel -->
					<ScrollPanel ID="ChatScroll" Size="897,115" Vertical="1" AutoScrollBar="1">
						<!-- Scroll Controls -->
						<UpButton	Style="ScrollBarUp" Anchor="R,T" AnchorSide="O,I"/>
						<ScrollBar	Style="VertSlider" Length="79" Anchor="R,C" AnchorSide="O,I"/>
						<DownButton Style="ScrollBarDown" Anchor="R,B" AnchorSide="O,I"/>
						<!-- Listing Stack (Dynamic) -->
						<Stack ID="ChatStack" Offset="8,0" StackGrowth="B" Padding="8"/>
					</ScrollPanel>
					<Container Size="1,4"/>
					<Image Texture="HorizontalTrim.dds" Size="925.5"/>
					<!-- Chat	-->
					<Box Size="924,36" Color="White.0">
						<GridButton Size="100,27" Style="BoxButton" Disabled="1">
							<Label Anchor="R,C" Offset="10,0" String="TXT_KEY_MULTIPLAYER_TO_ALL" Font="TwCenMT20"/>
							<Image Anchor="R,T" Texture="VerticalTrim.dds" Size="5.27"/>
							<Box Anchor="R,C" AnchorSide="O.I" Size="825,27" Color="0,0,0,200">
								<EditBox ID="ChatEntry" Size="825,23" MaxLength="255" KeepFocus="1" Anchor="L,C"/>
							</Box>
						</GridButton>
					</Box>
				</Stack>
			</Grid>
		</Box>
		<Image Anchor="C,B" Offset="0,110" Texture="HorizontalTrim.dds" Size="924.5"/>

		<!-- Bottom Buttons -->
		<Stack Anchor="L,B" Offset="38,54" StackGrowth="Right" Padding="8">
			<GridButton ID="ExitButton" Anchor="L,B" Style="SmallButton" Size="150,32" String="TXT_KEY_EXIT_BUTTON"/>
			<GridButton ID="BackButton" Anchor="L,B" Style="SmallButton" Size="150,32" String="TXT_KEY_BACK_BUTTON"/>
			<GridButton ID="InviteButton" Anchor="R,B" Style="SmallButton" Size="150,32" String="TXT_KEY_MULTIPLAYER_INVITE" ToolTip="TXT_KEY_MULTIPLAYER_INVITE_TT" Hidden="1"/>
			<GridButton ID="SaveButton" Anchor="R,B" Style="SmallButton" Size="150,32" String="TXT_KEY_ACTION_SAVE_NORMAL"/>
			<Button ID="StrategicViewButton" ConsumeMouseOver="1" Anchor="C,T" Size="45.45" Texture="MainStrategicButton.dds" Hidden="1" ToolTip="TXT_KEY_POP_STRATEGIC_VIEW_TT">
				<ShowOnMouseOver>
					<Image ID="StrategicMO" Anchor="C,C" Size="45.45" Texture="MainStrategicButton.dds"/>
					<AlphaAnim ID="StrategicHL" Anchor="C,C" Size="45.45" TextureOffset="0.0" Texture="MainStrategicButtonHL.dds" Pause="0" Cycle="Bounce" Speed="2" AlphaStart="0.95" AlphaEnd="0.55"/>
				</ShowOnMouseOver>
			</Button>
		</Stack>
		<GridButton ID="LaunchButton" Anchor="R,B" Font="TwCenMT22" Offset="38,54" Size="260,45" Style="BaseButton" String="TXT_KEY_MULTIPLAYER_LAUNCH_GAME"/>
		<GridButton ID="CountdownButton" Anchor="R,B" Font="TwCenMT22" Offset="38,54" Size="260,45" Style="BaseButton" String="Unknown Time: " Hidden="1"/>
		<GridButton ID="BadTeams" Anchor="R,B" Offset="38,54" String="TXT_KEY_BAD_TEAMS"/>
	</Grid>

	<Grid ID="HotJoinPopup" Size="400,210" Anchor="C,C" Padding="0,20" Style="Grid9DetailFive140" ConsumeMouse="1" Hidden="1">
		<!-- Side treatments -->
		<Box Style="MenuLeftSideTreatment"/>
		<Box Style="MenuRightSideTreatment"/>
		<Image Anchor="C,T" AnchorSide="I.O" Offset="0,-14" Size="256,64" Texture="Top512IconTrim.dds">
			<Image Anchor="C,C" Offset="0,-6" Size="80,80" Texture="NotificationFrameBase.dds">
				<AlphaAnim Anchor="C,C" Size="80,80" Texture="NotificationGenericGlow.dds" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="1" AlphaEnd=".5"/>
			</Image>
		</Image>
		<Label Anchor="C,T" String="TXT_KEY_JOINING_GAME_IN_PROGRESS" Offset="0,74" WrapWidth="440" Font="TwCenMT22"/>
		<GridButton ID="HotJoinCancelButton" Style="BaseButton" Size="300,42" Anchor="C,B" Offset="0,50" String="TXT_KEY_CANCEL_BUTTON" Font="TwCenMT24"/>
	</Grid>

	<Box ID="KickPopup" Color="Black.200" Size="Full.Full" >
		<Grid Anchor="C,C" Size="354,200" Style="GridBlackIndent8">
			<Grid Anchor="L,T" Size="354,200" Style="Grid9Frame">
				<Label Style="MenuTitleCaption" String="TXT_KEY_CONFIRM_KICK_PLAYER_TITLE"/>
				<Label ID="KickDialog" Anchor="C,C" Font="TwCenMT20" WrapWidth="330"/>
				<GridButton ID="KickCancelButton" Anchor="L,B" Offset="10,10" Style="SmallButton" Size="150,32" String="TXT_KEY_CANCEL_BUTTON"/>
				<GridButton ID="KickAcceptButton" Anchor="R,B" Offset="10,10" Style="SmallButton" Size="150,32" String="TXT_KEY_ACCEPT_BUTTON"/>
			</Grid>
		</Grid>
	</Box>

	<Box ID="SmtpPopup" Color="Black.200" Size="Full.Full" >
		<Grid Anchor="C,C" Size="354,284" Style="GridBlackIndent8">
			<Grid Anchor="L,T" Size="354,284" Style="Grid9Frame">
				<Label Style="MenuTitleCaption" String="TXT_KEY_NAME_REENTER_MAIL_PASSWORD"/>
				<Stack Anchor="L,T" Offset="20,50" StackGrowth="Bottom" Padding="20">
					<Label Anchor="L,C" Offset="0,10" LeadingOffset="-10" WrapWidth="300" String="TXT_KEY_OPSCREEN_TURN_NOTIFY_SMTP_PASSWORD" ToolTip="TXT_KEY_OPSCREEN_TURN_NOTIFY_SMTP_PASSWORD_TT" >
						<Box Anchor="R,C" AnchorSide="o,i" Offset="10,0" Size="84,24" Color="255,255,200,255" >
							<Box Anchor="C,C"  Size="82,22" Color="0,0,0,255" >
								<EditBox ID="SmtpPasswordEdit" EditMode="1" CallOnChar="1" FocusStop="0" Obscure="1" Size="80,18" Anchor="C,C" Font="TwCenMT14" NumberInput="0" MaxLength="64" />
							</Box>
						</Box>
					</Label>
					<Label Anchor="L,C" Offset="0,10" LeadingOffset="-10" WrapWidth="300" String="TXT_KEY_OPSCREEN_TURN_NOTIFY_SMTP_RETYPE_PASSWORD" ToolTip="TXT_KEY_OPSCREEN_TURN_NOTIFY_SMTP_RETYPE_PASSWORD_TT">
						<Box Anchor="R,C" AnchorSide="o,i" Offset="10,0" Size="84,24" Color="255,255,200,255" >
							<Box Anchor="C,C"  Size="82,22" Color="0,0,0,255" >
								<EditBox ID="SmtpPasswordRetypeEdit" EditMode="1" CallOnChar="1" FocusStop="1" Obscure="1" Size="80,18" Anchor="C,C" Font="TwCenMT14" NumberInput="0" MaxLength="64" />
							</Box>
						</Box>
					</Label>
					<Label ID="StmpPasswordMatchLabel" Offset="0,10" LeadingOffset="-10" WrapWidth="300"/>
					<Label LeadingOffset="-5" WrapWidth="300" String="TXT_KEY_MAIL_PASSWORD_USAGE_INFO"/>
				</Stack>
				<GridButton ID="SmptCancelButton" Anchor="L,B" Offset="10,10" Style="SmallButton" Size="150,32" String="TXT_KEY_CANCEL_BUTTON"/>
				<GridButton ID="SmptAcceptButton" Anchor="R,B" Offset="10,10" Style="SmallButton" Size="150,32" String="TXT_KEY_ACCEPT_BUTTON"/>
			</Grid>
		</Grid>
	</Box>

	<LuaContext ID="SetCivNames" FileName="SetCivNames" Hidden="1" DeferLoad="1"/>
	<LuaContext ID="SaveMenu" FileName="SaveMenu" Hidden="1" DeferLoad="1"/>
</Context>