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

	<AlphaAnim ID="Timer" Cycle="Once" Stopped="1" />

	<Box ID="BGBlock" Style="BGBlock" />

	<!-- Listing Button Instance -->

	<Grid Size="960,658" Anchor="C,C" Offset="0,36" Style="Grid9DetailFive140" ConsumeMouse="1">

		<!-- Side treatments -->
		<Box Style="MenuLeftSideTreatment"/>
		<Box Style="MenuRightSideTreatment"/>

		<Box Style="MenuTopTreatment"/>
		<Box Style="MenuBottomTreatment"/>

		<!-- Panel Header Text -->
		<Label ID="TitleLabel" Style="MenuTitleCaption" />

		<Label Anchor="C,T" Offset="0,18" Font="TwCenMT22" FontStyle="SoftShadow" ColorSet="Beige_Black_Alpha" />

		<!-- Top Panel GridSquareHL8-->
		<Box Anchor="C,T" Size="926,29" Offset="0,44" Color="0.0.0.128" >

			<Stack Anchor="L,T" Size="926,32" Offset="20,3" Padding="0" StackGrowth="Right">


			<Button ID="GameButton" Void1="1" Anchor="L,T" Size="160,24" Font="TwCenMT18" String="TXT_KEY_GAME_OPTIONS" >
				<ShowOnMouseOver>
				<AlphaAnim Anchor="L,T" Size="160,27" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1">
					<Grid Size="160,27" Offset="0,-1" Style="Grid9FrameTurnsHL" />
				</AlphaAnim>
				</ShowOnMouseOver>
				<Grid ID="GameHighlight" Anchor="C,C" Size="160,26" Style="Grid9FrameTurns" Hidden="1" />
			</Button>

			<Button ID="IFaceButton" Void1="2" Anchor="L,T" Size="185,24" Font="TwCenMT18" String="TXT_KEY_INTERFACE_OPTIONS" >
				<ShowOnMouseOver>
				<AlphaAnim Anchor="L,T" Size="185,27" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1">
					<Grid Size="185,27" Offset="0,-1" Style="Grid9FrameTurnsHL" />
				</AlphaAnim>
				</ShowOnMouseOver>
				<Grid ID="IFaceHighlight" Anchor="C,C" Size="185,26" Style="Grid9FrameTurns" Hidden="1" />
			</Button>

			<Button ID="VideoButton" Void1="3" Anchor="L,T" Size="160,24" Font="TwCenMT18" String="TXT_KEY_VIDEO_OPTIONS" >
				<ShowOnMouseOver>
				<AlphaAnim Anchor="L,T" Size="160,27" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1">
					<Grid Size="160,27" Offset="0,-1" Style="Grid9FrameTurnsHL" />
				</AlphaAnim>
				</ShowOnMouseOver>
				<Grid ID="VideoHighlight" Anchor="C,C" Size="160,26" Style="Grid9FrameTurns" Hidden="1" />
			</Button>

			<Button ID="AudioButton" Void1="4" Anchor="L,T" Size="160,24" Font="TwCenMT18" String="TXT_KEY_AUDIO_OPTIONS" >
				<ShowOnMouseOver>
				<AlphaAnim Anchor="L,T" Size="160,27" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1">
					<Grid Size="160,27" Offset="0,-1" Style="Grid9FrameTurnsHL" />
				</AlphaAnim>
				</ShowOnMouseOver>
				<Grid ID="AudioHighlight" Anchor="C,C" Size="160,26" Style="Grid9FrameTurns" Hidden="1" />
			</Button>

			<Button ID="MultiplayerButton" Void1="5" Anchor="L,T" Size="200,24" Font="TwCenMT18" String="TXT_KEY_MULTIPLAYER_OPTIONS" >
				<ShowOnMouseOver>
				<AlphaAnim Anchor="L,T" Size="200,27" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1">
					<Grid Size="200,27" Offset="0,-1" Style="Grid9FrameTurnsHL" />
				</AlphaAnim>
				</ShowOnMouseOver>
				<Grid ID="MultiplayerHighlight" Anchor="C,C" Size="200,26" Style="Grid9FrameTurns" Hidden="1" />
			</Button>

			</Stack>

			<Image Anchor="C,B" Offset="1,-6" Texture="HorizontalTrim.dds" Size="926.5" />

		</Box>


		<!-- <Image Anchor="C,B" Offset="0,150" Texture="HorizontalTrim.dds" Size="971.5" / -->

		<!-- Game Options -->
		<Container ID="GamePanel" Size="971,500" Offset="0,44" Hidden="1" >

			<Stack Anchor="R,T" Offset="550,50" Padding="12" >
				<CheckBox ID="SkipIntroVideoCheck" Anchor="R,C" String="TXT_KEY_OPSCREEN_SKIP_INTRO_VIDEO" LeadingOffset="-10" WrapWidth="350" ToolTip="TXT_KEY_OPSCREEN_SKIP_INTRO_VIDEO_TT" />
				<CheckBox ID="NoRewardPopupsCheckbox" Anchor="R,C" String="TXT_KEY_OPSCREEN_NO_REWARD_POPUPS" LeadingOffset="-10" WrapWidth="350" ToolTip="TXT_KEY_OPSCREEN_NO_REWARD_POPUPS_TT" />
				<CheckBox ID="SinglePlayerAutoEndTurnCheckBox" Anchor="R,C" String="TXT_KEY_OPSCREEN_SPLAYER_AUTO_END_TURN" LeadingOffset="-10" WrapWidth="350" ToolTip="TXT_KEY_OPSCREEN_SPLAYER_AUTO_END_TURN_TT" />
				<CheckBox ID="MultiplayerAutoEndTurnCheckbox" Anchor="R,C" String="TXT_KEY_OPSCREEN_MULTIPLAYER_AUTO_END_TURN" LeadingOffset="-10" WrapWidth="350" ToolTip="TXT_KEY_OPSCREEN_MULTIPLAYER_AUTO_END_TURN_TT" />
				<CheckBox ID="SPQuickCombatCheckBox" Anchor="R,C" String="TXT_KEY_OPSCREEN_SPLAYER_QUICK_COMBAT" LeadingOffset="-10" WrapWidth="350" ToolTip="TXT_KEY_OPSCREEN_SPLAYER_QUICK_COMBAT_TT" />
				<CheckBox ID="SPQuickMovementCheckBox" Anchor="R,C" String="TXT_KEY_OPSCREEN_SPLAYER_QUICK_MOVEMENT" LeadingOffset="-10" WrapWidth="350" ToolTip="TXT_KEY_OPSCREEN_SPLAYER_QUICK_MOVEMENT_TT" />
				<CheckBox ID="MPQuickCombatCheckbox" Anchor="R,C" String="TXT_KEY_OPSCREEN_MULTIPLAYER_QUICK_COMBAT" LeadingOffset="-10" WrapWidth="350" ToolTip="TXT_KEY_OPSCREEN_MULTIPLAYER_QUICK_COMBAT_TT" />
				<CheckBox ID="MPQuickMovementCheckbox" Anchor="R,C" String="TXT_KEY_OPSCREEN_MULTIPLAYER_QUICK_MOVEMENT" LeadingOffset="-10" WrapWidth="350" ToolTip="TXT_KEY_OPSCREEN_MULTIPLAYER_QUICK_MOVEMENT_TT" />
				<CheckBox ID="QuickSelectionAdvCheckbox" Anchor="R,C" String="TXT_KEY_OPSCREEN_QUICK_SELECTION_ADVANCE" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_OPSCREEN_QUICK_SELECTION_ADVANCE_TT" />
				<CheckBox ID="PredictiveRangeCheckbox" Anchor="R,C" String="TXT_KEY_EUI_PREDICTIVE_RANGE" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_EUI_PREDICTIVE_RANGE_TT" />
				<CheckBox ID="AutoUnitCycleCheck" Anchor="R,C" String="TXT_KEY_AUTO_UNIT_CYCLE" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_AUTO_UNIT_CYCLE_TT" />
			</Stack>

			<Stack Anchor="R,T" Offset="50,50" Padding="12" >
				<Box Anchor="R,T" Size="54,30" Color="255,255,200,255" >
					<Box Anchor="C,C" Size="52,28" Color="0,0,0,255" >
						<EditBox ID="AutosaveTurnsEdit" EditMode="1" Size="50,24" Anchor="C,C" Font="TwCenMT24" NumberInput="1" MaxLength="3" />
					</Box>
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" LeadingOffset="-10" WrapWidth="300" String="TXT_KEY_OPSCREEN_TURNS_FOR_AUTOSAVES" ToolTip="TXT_KEY_OPSCREEN_TURNS_FOR_AUTOSAVES_TT"/>
				</Box>
				<Box Anchor="R,T" Size="54,30" Color="255,255,200,255" >
					<Box Anchor="C,C" Size="52,28" Color="0,0,0,255" >
						<EditBox ID="AutosaveMaxEdit" EditMode="1" Size="50,24" Anchor="C,C" Font="TwCenMT24" NumberInput="1" MaxLength="3" />
					</Box>
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" LeadingOffset="-10" WrapWidth="300" String="TXT_KEY_OPSCREEN_MAX_AUTOSAVES_KEPT" ToolTip="TXT_KEY_OPSCREEN_MAX_AUTOSAVES_KEPT_TT"/>
				</Box>
				<CheckBox ID="AutoWorkersDontReplaceCB" Anchor="R,C" String="TXT_KEY_OPSCREEN_AUTO_WORKERS_DONT_REPLACE" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_OPSCREEN_AUTO_WORKERS_DONT_REPLACE_TT" />
				<CheckBox ID="AutoWorkersDontRemoveFeaturesCB" Anchor="R,C" String="TXT_KEY_OPSCREEN_AUTO_WORKERS_DONT_REMOVE_FEATURES" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_OPSCREEN_AUTO_WORKERS_DONT_REMOVE_FEATURES_TT" />
				<CheckBox ID="CivilianYieldsCheckbox" Anchor="R,C" String="TXT_KEY_OPSCREEN_CIVILIAN_YIELDS" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_OPSCREEN_CIVILIAN_YIELDS_TT" Hidden="1" />
				<CheckBox ID="NoTileRecommendationsCheckbox" Anchor="R,C" String="TXT_KEY_OPSCREEN_NO_TILE_RECOMMENDATIONS" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_OPSCREEN_NO_TILE_RECOMMENDATIONS_TT" Hidden="1" />
				<GridButton ID="ResetTutorialButton" Offset="0,15" Anchor="C,B" Size="300,32" Style="SmallButton" ToolTip="TXT_KEY_OPSCREEN_RESET_TUTORIAL_TT">
					<Label Anchor="C,C" String="TXT_KEY_OPSCREEN_RESET_TUTORIAL" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" />
				</GridButton>
				<PullDown ID="TutorialPull" Anchor="R,C" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="300,32" ToolTip="TXT_KEY_OPSCREEN_TUTORIAL_LEVEL_TT" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" String="TXT_KEY_OPSCREEN_TUTORIAL_LEVEL" />
				</PullDown>
				<PullDown ID="SpokenLanguagePull" Anchor="R,C" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="230,32" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" String="TXT_KEY_OPSCREEN_SELECT_SPOKEN_LANG" />
				</PullDown>
				<PullDown ID="LanguagePull" Anchor="R,C" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="230,32" Hidden="1" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" String="TXT_KEY_OPSCREEN_SELECT_LANG" />
				</PullDown>
			</Stack>

		</Container>

		<!-- Interface Options -->
		<Container ID="IFacePanel" Size="971,500" Offset="0,44" Hidden="1">
			<Stack Anchor="R,T" Offset="550,50" Padding="8" >
				<CheckBox ID="NoBasicHelpCheckbox" String="TXT_KEY_OPSCREEN_NO_BASIC_HELP" LeadingOffset="-10" WrapWidth="450" Anchor="R,C" ToolTip="TXT_KEY_OPSCREEN_NO_BASIC_HELP_TT" />
				<CheckBox ID="PolicyInfo" Anchor="R,C" String="TXT_KEY_OPSCREEN_SHOW_ALL_POLICY_INFO" IsChecked="0" ToolTip="TXT_KEY_OPSCREEN_SHOW_ALL_POLICY_INFO_TT" />
				<CheckBox ID="ScoreListCheck" Anchor="R,C" String="TXT_KEY_OPSCREEN_SCORE_LIST" IsChecked="0" ToolTip="TXT_KEY_OPSCREEN_SCORE_LIST_TT" />
				<CheckBox ID="MPScoreListCheck" Anchor="R,C" String="TXT_KEY_OPSCREEN_MP_SCORE_LIST" IsChecked="0" ToolTip="TXT_KEY_OPSCREEN_MP_SCORE_LIST_TT" />
				<CheckBox ID="CivRibbonCheckbox" Anchor="R,C" String="TXT_KEY_ADVISOR_SCREEN_DIPLOMACY_LIST_DISPLAY" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_ADVISOR_SCREEN_DIPLOMACY_OVERVIEW_BODY"/>
				<CheckBox ID="CityRibbonCheckbox" Anchor="R,C" String="TXT_KEY_ADVISOR_SCREEN_CITY_LIST_DISPLAY" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_ADVISOR_SCREEN_CITY_LIST_BODY"/>
				<CheckBox ID="UnitRibbonCheckbox" Anchor="R,C" String="TXT_KEY_ADVISOR_SCREEN_UNIT_LIST_DISPLAY" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_ADVISOR_SCREEN_UNIT_LIST_BODY"/>
				<CheckBox ID="FlagPromotionsCheckbox" Anchor="R,C" String="TXT_KEY_EUI_FLAG_PROMO_ENABLE" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_EUI_FLAG_PROMO_ENABLE_TT"/>
				<CheckBox ID="NoCitizenWarningCheckbox" Anchor="R,C" String="TXT_KEY_CITYVIEW_CITIZEN_ALLOCATION" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_OPSCREEN_NO_CITIZEN_WARNING" />
				<CheckBox ID="CityAdvisorCheckbox" Anchor="R,C" >
					<Stack Offset="30.0" Anchor="R,C" StackGrowth="L" >
						<Image ID="ScienceRecommendation" ToolTip="TXT_KEY_CITY_CONSTRUCTION_ADVISOR_RECOMMENDATION_SCIENCE" Anchor="L,C" Size="32,32" Texture="AdvisorSymbolScience.dds" >
							<ScrollAnim Size="32.32" Speed=".2" Pause=".5" Texture="AdvisorShine.dds" MaskTexture="AdvisorMaskScience.dds"/>
							<AlphaAnim Anchor="C,C" Offset="4,4" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="5" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd="1"/>
							<AlphaAnim Anchor="C,C" Offset="0,-4" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="3" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd="1"/>
						</Image>
						<Image ID="ForeignRecommendation" ToolTip="TXT_KEY_CITY_CONSTRUCTION_ADVISOR_RECOMMENDATION_FOREIGN" Anchor="L,C" Size="32,32" Texture="AdvisorSymbolForeign.dds" >
							<ScrollAnim Size="32.32" Speed=".2" Pause=".5" Texture="AdvisorShine.dds" MaskTexture="AdvisorMaskForeign.dds"/>
							<AlphaAnim Anchor="C,C" Offset="6,5" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="5" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd=".7"/>
							<AlphaAnim Anchor="C,C" Offset="-2,-5" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="3" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd=".7"/>
						</Image>
						<Image ID="EconomicRecommendation" ToolTip="TXT_KEY_CITY_CONSTRUCTION_ADVISOR_RECOMMENDATION_ECONOMIC" Anchor="L,C" Size="32,32" Texture="AdvisorSymbolEconomic.dds" >
							<ScrollAnim Size="32.32" Speed=".2" Pause=".5" Texture="AdvisorShine.dds" MaskTexture="AdvisorMaskEconomic.dds"/>
							<AlphaAnim Anchor="C,C" Offset="4,4" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="5" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd="1"/>
							<AlphaAnim Anchor="C,C" Offset="0,-4" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="3" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd="1"/>
						</Image>
						<Image ID="MilitaryRecommendation" ToolTip="TXT_KEY_CITY_CONSTRUCTION_ADVISOR_RECOMMENDATION_MILITARY" Anchor="L,C" Size="32,32" Texture="AdvisorSymbolMilitary.dds" >
							<ScrollAnim Size="32.32" Speed=".2" Pause=".5" Texture="AdvisorShine.dds" MaskTexture="AdvisorMaskMilitary.dds"/>
							<AlphaAnim Anchor="C,C" Offset="4,4" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="5" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd=".7"/>
							<AlphaAnim Anchor="C,C" Offset="-3,-6" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="3" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd=".7"/>
						</Image>
						<Label Anchor="L,C" String="TXT_KEY_ADVISOR_CITY_SCREEN_DISPLAY" />
					</Stack>
				</CheckBox>
				<CheckBox ID="AutoCloseCheckbox" Anchor="R,C" >
					<Stack Offset="30.0" Anchor="R,C" StackGrowth="L" Padding="10" >
						<Label Anchor="L,C" String="TXT_KEY_ADVISOR_CITY_SCREEN_DISPLAY" />
						<Label Anchor="L,C" String="TXT_KEY_ADVISOR_SCREEN_TECH_TREE_DISPLAY" />
						<Label Anchor="L,C" String="TXT_KEY_CLOSE" />
					</Stack>
				</CheckBox>
				<CheckBox ID="CSLCheckbox" Anchor="R,C" String="TXT_KEY_CSL_ENABLE" LeadingOffset="-10" WrapWidth="450" ToolTip="TXT_KEY_CSL_ENABLE_TT"/>
			</Stack>

			<Stack Anchor="R,T" Offset="110,50" Padding="12" >
				<Label ID="Tooltip1TimerLength" Anchor="C,T" ToolTip="TXT_KEY_OPSCREEN_TOOLTIP_1_TIMER_LENGTH_TT" />
				<Slider ID="Tooltip1TimerSlider" Length="300" Anchor="C,C" Style="Slider" WheelSteps="10" />
				<Label ID="Tooltip2TimerLength" Anchor="C,T" ToolTip="TXT_KEY_OPSCREEN_TOOLTIP_2_TIMER_LENGTH_TT" />
				<Slider ID="Tooltip2TimerSlider" Length="300" Anchor="C,C" Style="Slider" WheelSteps="10" />
				<PullDown ID="BindMousePull" Anchor="R,T" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="200,32" ToolTip="TXT_KEY_BIND_MOUSE_TT" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" String="TXT_KEY_BIND_MOUSE" />
				</PullDown>
				<CheckBox ID="EnableMapInertiaCheck" Anchor="R,C" String="TXT_KEY_OPSCREEN_ENABLE_MAP_INERTIA" IsChecked="1" ToolTip="TXT_KEY_OPSCREEN_ENABLE_MAP_INERTIA_TT" />
				<Label ID="DragSpeedValue" Anchor="C,C" ToolTip="TXT_KEY_DRAG_SPEED_TT" />
				<Slider ID="DragSpeedSlider" Anchor="C,C" Length="300" Style="Slider" WheelSteps="10" ToolTip="TXT_KEY_DRAG_SPEED_TT" />
				<Label ID="PinchSpeedValue" Anchor="C,C" ToolTip="TXT_KEY_PINCH_SPEED_TT" />
				<Slider ID="PinchSpeedSlider" Anchor="C,C" Length="300" Style="Slider" WheelSteps="10" ToolTip="TXT_KEY_PINCH_SPEED_TT" />
				<CheckBox ID="ZoomCheck" Anchor="R,C" String="TXT_KEY_OPSCREEN_DYNAMIC_CAMERA_ZOOM" IsChecked="0" ToolTip="TXT_KEY_OPSCREEN_DYNAMIC_CAMERA_ZOOM_TT" />
				<Image Anchor="R,C" Offset="30.0" Texture="TopPanelBar.dds" Size="100.32" >
					<CheckBox ID="ClockCheckbox" String="12:34" LeadingOffset="-10" WrapWidth="450" Anchor="R,C" Offset="-30.0"/>
				</Image>
			</Stack>

		</Container>

		<!-- Video Options -->
		<Container ID="VideoPanel" Size="971,500" Offset="0,44" Hidden="1" >

			<!-- Resolution Options-->
			<Grid Offset="40,50" Size="395,200" Color="White,128" Style="Grid9FrameButtons" >
				<Stack Anchor ="R,T" Offset ="10,20">
					<PullDown ID="FSResolutionPull" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="210,32" >
						<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" String="TXT_KEY_OPSCREEN_RESOLUTION" />
					</PullDown>
					<PullDown ID="WResolutionPull" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="210,32" Hidden="1" >
						<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" String="TXT_KEY_OPSCREEN_RESOLUTION" />
					</PullDown>
					<PullDown ID="MSAAPull" Style="GenericPullDown" Anchor="R,T" Offset="0,4" ScrollThreshold="200" SpaceForScroll="0" Size="130,32" Hidden="0" >
						<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" String="TXT_KEY_OPSCREEN_MSAA" />
					</PullDown>
					<CheckBox ID="FullscreenCheck" Anchor="R,T" String="TXT_KEY_OPSCREEN_FULLSCREEN" IsChecked="0" />
				</Stack>
				<GridButton ID="ApplyResButton" Anchor="C,B" Size="200,32" Offset="0,20" Style="SmallButton" ToolTip="TXT_KEY_OPSCREEN_APPLY_RESOLUTION_TT">
					<Label Anchor="C,C" String="TXT_KEY_OPSCREEN_APPLY_RESOLUTION" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" />
				</GridButton>
			</Grid>

			<!-- Other Video Options-->
			<Stack Offset="546,270" Anchor="R,T">
				<CheckBox ID="VSyncCheck" Anchor="R,T" String="TXT_KEY_OPSCREEN_VSYNC" IsChecked="1" ToolTip="TXT_KEY_OPSCREEN_RESTART_REQ_TT" />
				<CheckBox ID="HDStratCheck" Anchor="R,T" String="TXT_KEY_OPSCREEN_HIGH_DETAIL_STRAT_VIEW" IsChecked="0" ToolTip="TXT_KEY_OPSCREEN_HIGH_DETAIL_STRAT_VIEW_TT" />
				<CheckBox ID="GPUDecodeCheck" Anchor="R,T" String="TXT_KEY_OPSCREEN_GPU_TEXTURE_DECODE" IsChecked="0" ToolTip="TXT_KEY_OPSCREEN_GPU_TEXTURE_DECODE_TT" />
				<CheckBox ID="MinimizeGrayTilesCheck" Anchor="R,T" String="TXT_KEY_OPSCREEN_MINIMIZE_GRAY_TILES" IsChecked="0" ToolTip="TXT_KEY_OPSCREEN_MINIMIZE_GRAY_TILES_TT"/>
				<CheckBox ID="FadeShadowsCheck" Anchor="R,T" String="TXT_KEY_OPSCREEN_FADE_SHADOWS" IsChecked="0" ToolTip="TXT_KEY_OPSCREEN_FADE_SHADOWS_TT"/>
				<CheckBox ID="AutoUIAssetsCheck" Anchor="R,T" String="TXT_KEY_OPSCREEN_AUTOSIZE_UI" IsChecked="1" ToolTip="TXT_KEY_OPSCREEN_AUTOSIZE_UI_TT" />
				<CheckBox ID="SmallUIAssetsCheck" Anchor="R,T" Offset="0,-10" String="TXT_KEY_OPSCREEN_USE_SMALL_UI" Font="TwCenMT16" IsChecked="0" NoStateChange="1" Disabled="1" ToolTip="TXT_KEY_OPSCREEN_USE_SMALL_UI_TT" />
			</Stack>

			<Stack Offset="700,50" Padding="10" >
				<PullDown ID="LeaderPull" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="230,32" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" WrapWidth="250" LeadingOffset="-10" String="TXT_KEY_OPSCREEN_LEADER_QUALITY" />
				</PullDown>

				<PullDown ID="OverlayPull" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="230,32" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" WrapWidth="250" LeadingOffset="-10" String="TXT_KEY_OPSCREEN_OVERLAY_DETAIL" />
				</PullDown>

				<PullDown ID="ShadowPull" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="230,32" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" WrapWidth="250" LeadingOffset="-10" String="TXT_KEY_OPSCREEN_SHADOW_QUALITY" />
				</PullDown>

				<PullDown ID="FOWPull" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="230,32" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" WrapWidth="250" LeadingOffset="-10" String="TXT_KEY_OPSCREEN_FOW_QUALITY" />
				</PullDown>

				<PullDown ID="TerrainDetailPull" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="230,32" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" WrapWidth="250" LeadingOffset="-10" String="TXT_KEY_OPSCREEN_TERRAIN_DETAIL_LEVEL" />
				</PullDown>

				<PullDown ID="TerrainTessPull" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="230,32" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" WrapWidth="250" LeadingOffset="-10" String="TXT_KEY_OPSCREEN_TERRAIN_TESS_LEVEL" />
				</PullDown>

				<PullDown ID="TerrainShadowPull" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="230,32" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" WrapWidth="250" LeadingOffset="-10" String="TXT_KEY_OPSCREEN_TERRAIN_SHADOW_QUALITY" />
				</PullDown>

				<PullDown ID="WaterPull" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="230,32" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" WrapWidth="250" LeadingOffset="-10" String="TXT_KEY_OPSCREEN_WATER_QUALITY" />
				</PullDown>

				<PullDown ID="TextureQualityPull" Style="GenericPullDown" ScrollThreshold="200" SpaceForScroll="0" Size="230,32" >
					<Label Anchor="L,C" AnchorSide="o,i" Offset="10,0" WrapWidth="250" LeadingOffset="-10" String="TXT_KEY_OPSCREEN_TEXTURE_QUALITY" />
				</PullDown>

				<!--
						&TerrainSettings::g_uCacheSize
						&TerrainSettings::g_uTilesToCalcPerFrame
						&TerrainSettings::g_uNumContinents
						-->
			</Stack>
			<Box ID="VideoPanelBlock" Offset="16,28" Size="928,460" Color="Black.200" Hidden="1" ConsumeMouse="1" >
				<Label Font="TwCenMT24" Offset="0,30" Anchor="C,T" String="TXT_KEY_OPSCREEN_VDOP_DISABLED" />
			</Box>
		</Container>

		<!-- Audio Options -->
		<Container ID="AudioPanel" Size="971,500" Hidden="1" >

			<Stack Anchor="C,T" Padding="12" Offset="0,130" >
				<GridButton ID="AudioNextSong" Size="260,45" Style="BaseButton" String="TXT_KEY_EUI_PLAY_NEXT_SONG"/>

				<Label ID="MusicVolumeSliderValue" Anchor="L,C" Offset="0,20" />
				<Slider ID="MusicVolumeSlider" Length="500" Style="Slider" WheelSteps="1" />

				<Label ID="EffectsVolumeSliderValue" Anchor="L,C" Offset="0,20" />
				<Slider ID="EffectsVolumeSlider" Length="500" Style="Slider" WheelSteps="1" />

				<Label ID="AmbienceVolumeSliderValue" Anchor="L,C" Offset="0,20" />
				<Slider ID="AmbienceVolumeSlider" Length="500" Style="Slider" WheelSteps="1" />

				<Label ID="SpeechVolumeSliderValue" Anchor="L,C" Offset="0,20" />
				<Slider ID="SpeechVolumeSlider" Length="500" Style="Slider" WheelSteps="1" />
			</Stack>

		</Container>

		<!-- Multiplayer Options -->
		<Container ID="MultiplayerPanel" Size="971,500" Hidden="1" >

			<!-- Turn Notify Options -->
			<Grid Offset="40,100" Size="395,200" Color="White,128" Style="Grid9FrameButtons" >
			<Label Anchor="C,T" Offset="0,5" WrapWidth="250" LeadingOffset="-10" String="TXT_KEY_OPSCREEN_TURN_NOTIFY_OPTIONS" />
			<Box Anchor="C,T" Offset="0,30" Size="375,160" Color="0,0,0,0">
				<Stack Anchor="L,T" Padding="0" StackGrowth="Bottom">
				<CheckBox ID="TurnNotifySteamInviteCheckbox" Anchor="R,T" Offset="-32,0" String="TXT_KEY_OPSCREEN_TURN_NOTIFY_STEAM_INVITE" LeadingOffset="0" WrapWidth="350" ToolTip="TXT_KEY_OPSCREEN_TURN_NOTIFY_STEAM_INVITE_TT" />
				<CheckBox ID="TurnNotifyEmailCheckbox" Anchor="R,T" Offset="-32,0" String="TXT_KEY_OPSCREEN_TURN_NOTIFY_EMAIL" LeadingOffset="0" WrapWidth="350" ToolTip="TXT_KEY_OPSCREEN_TURN_NOTIFY_EMAIL_TT" />
				<Label Anchor="L,T" Offset="0,10" LeadingOffset="-10" WrapWidth="300" String="TXT_KEY_OPSCREEN_TURN_NOTIFY_EMAIL_ADDRESS" ToolTip="TXT_KEY_OPSCREEN_TURN_NOTIFY_EMAIL_ADDRESS_TT" >
					<Box Anchor="R,C" AnchorSide="o,i" Offset="10,0" Size="184,24" Color="255,255,200,255" >
					<Box Anchor="C,C" Size="182,22" Color="0,0,0,255" >
						<EditBox ID="TurnNotifyEmailAddressEdit" EditMode="1" Size="180,18" Anchor="C,C" Font="TwCenMT16" NumberInput="0" MaxLength="64" />
					</Box>
					</Box>
				</Label>
				</Stack>
			</Box>
			</Grid>

			<!-- Turn Notify Host Options -->
			<Grid Offset="440,100" Size="460,280" Color="White,128" Style="Grid9FrameButtons" >
			<Label Anchor="C,T" Offset="0,5" WrapWidth="250" LeadingOffset="-10" String="TXT_KEY_OPSCREEN_TURN_NOTIFY_HOST_OPTIONS" />
			<Stack Anchor="L,T" Offset="10,30" Padding="10" StackGrowth="Bottom">
				<Label Anchor="L,C" Offset="0,10" LeadingOffset="-10" WrapWidth="300" String="TXT_KEY_OPSCREEN_TURN_NOTIFY_EMAIL_ADDRESS" >
				<Box Anchor="R,C" AnchorSide="o,i" Offset="10,0" Size="184,24" Color="255,255,200,255" >
					<Box Anchor="C,C" Size="182,22" Color="0,0,0,255" >
					<EditBox ID="TurnNotifySmtpEmailEdit" EditMode="1" Size="180,18" Anchor="C,C" Font="TwCenMT16" 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_HOST" ToolTip="TXT_KEY_OPSCREEN_TURN_NOTIFY_SMTP_HOST_TT" >
				<Box Anchor="R,C" AnchorSide="o,i" Offset="10,0" Size="184,24" Color="255,255,200,255" >
					<Box Anchor="C,C" Size="182,22" Color="0,0,0,255" >
					<EditBox ID="TurnNotifySmtpHostEdit" EditMode="1" Size="180,18" Anchor="C,C" Font="TwCenMT16" NumberInput="0" MaxLength="64" />
					</Box>
				</Box>
				</Label>
				<Stack Anchor="C,C" Offset="30,0" Padding="0" StackGrowth="Right">
				<CheckBox ID="TurnNotifySmtpTLS" Anchor="L,C" Offset="0,10" String="TXT_KEY_OPSCREEN_TURN_NOTIFY_SMTP_TLS" LeadingOffset="0" WrapWidth="350" ToolTip="TXT_KEY_OPSCREEN_TURN_NOTIFY_SMTP_TLS_TT" />
				<Label Anchor="L,C" Offset="0,10" LeadingOffset="-10" WrapWidth="300" String="TXT_KEY_OPSCREEN_TURN_NOTIFY_SMTP_PORT" ToolTip="TXT_KEY_OPSCREEN_TURN_NOTIFY_SMTP_PORT_TT" >
					<Box Anchor="R,C" AnchorSide="o,i" Offset="10,0" Size="34,24" Color="255,255,200,255" >
					<Box Anchor="C,C" Size="32,22" Color="0,0,0,255" >
						<EditBox ID="TurnNotifySmtpPortEdit" EditMode="1" Size="30,18" Anchor="C,C" Font="TwCenMT16" NumberInput="0" MaxLength="64" />
					</Box>
					</Box>
				</Label>
				</Stack>
				<Label Anchor="L,C" Offset="0,10" LeadingOffset="-10" WrapWidth="300" String="TXT_KEY_OPSCREEN_TURN_NOTIFY_SMTP_USERNAME" ToolTip="TXT_KEY_OPSCREEN_TURN_NOTIFY_SMTP_USERNAME_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="TurnNotifySmtpUserEdit" EditMode="1" Size="80,18" Anchor="C,C" Font="TwCenMT16" 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_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="TurnNotifySmtpPassEdit" EditMode="1" CallOnChar="1" Obscure="1" Size="80,18" Anchor="C,C" Font="TwCenMT16" NumberInput="0" MaxLength="64" />
					</Box>
				</Box>
				</Label>
				<Stack Anchor="C,C" Padding="0" StackGrowth="Right">
				<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="L,C" Offset="10,10" Size="84,24" Color="255,255,200,255" >
					<Box Anchor="C,C" Size="82,22" Color="0,0,0,255" >
					<EditBox ID="TurnNotifySmtpPassRetypeEdit" EditMode="1" CallOnChar="1" Obscure="1" Size="80,18" Anchor="C,C" Font="TwCenMT16" NumberInput="0" MaxLength="64" />
					</Box>
				</Box>
				<Label ID="StmpPasswordMatchLabel" Anchor="L,C" Offset="5,10" LeadingOffset="-10" WrapWidth="300" String="test" ToolTip="test tt" />
				</Stack>
			</Stack>
			</Grid>

			<!-- LAN Nick Name Option -->
			<Grid Offset="40,350" Size="395,200" Color="White,128" Style="Grid9FrameButtons" >
				<Label Anchor="C,T" Offset="0,5" WrapWidth="250" LeadingOffset="-10" String="TXT_KEY_MULTIPLAYER_LAN_GAME" />
				<Stack Anchor="L,T" Offset="10,30" Padding="10" StackGrowth="Bottom">
					<Label Anchor="L,C" Offset="0,10" LeadingOffset="-10" WrapWidth="300" String="TXT_KEY_MP_NICK_NAME">
						<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="LANNickNameEdit" EditMode="1" Size="80,18" Anchor="C,C" Font="TwCenMT16" NumberInput="0" MaxLength="64" />
							</Box>
						</Box>
					</Label>
				</Stack>
			</Grid>
		</Container>

		<!-- Cancel Button -->
		<Box Anchor="C,B" AnchorSide="I.I" Offset="0,54" Size="910,56" Color="255,255,255,0" >
			<GridButton ID="CancelButton" Anchor="L,B" Style="SmallButton" Size="150,32" Offset="14,0" StateOffsetIncrement="0,0" >
			<Label Anchor="C,C" String="TXT_KEY_OPSCREEN_CANCEL_BUTTON" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" />
			</GridButton>
		</Box>

		<!-- Defaults Button -->
		<GridButton ID="DefaultButton" Anchor="C,B" Size="200,32" Offset="0,54" Style="SmallButton" ToolTip="TXT_KEY_OPSCREEN_DEFAULTS_BUTTON_TT">
			<Label Anchor="C,C" String="TXT_KEY_OPSCREEN_DEFAULTS_BUTTON" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" />
		</GridButton>

		<!-- Accept Button -->
		<GridButton ID="AcceptButton" Anchor="R,B" Offset="38,54" Size="260,45" Style="BaseButton" String="TXT_KEY_OPSCREEN_SAVE_BUTTON" ToolTip="TXT_KEY_OPSCREEN_SAVE_BUTTON_TT" />
	</Grid>

	<!-- Graphics options changed popup -->
	<Box ID="GraphicsChangedPopup" Color="Black.128" Size="Full.Full" Hidden="1" ConsumeMouseOver="1" >
		<Grid Size="400,225" Anchor="C,C" Padding="0,20" Style="Grid9DetailFive140" Hidden="0" >

			<!-- Side treatments -->
			<Box Style="PopupLeftSideTreatment"/>
			<Box Style="PopupRightSideTreatment"/>
			<Box Style="PopupNotificationTopTreatment"/>

			<Label ID="GraphicsChangedMessage" Anchor="C,T" Offset="0,60" WrapWidth="300" String="TXT_KEY_OPSCREEN_VDOP_RESTART" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" />

			<!-- OK Button -->
			<GridButton ID="GraphicsChangedOK" Style="BaseButton" Size="300,30" Anchor="C,B" Offset="0,60" Hidden="0">
			<Label Anchor="C,C" String="TXT_KEY_OK_BUTTON" ColorSet="Beige_Black" Font="TwCenMT20" FontStyle="Shadow" />
			</GridButton>
		</Grid>
	</Box>

	<!-- Resolution/Language Countdown -->
	<Box ID="Countdown" Color="Black.128" Size="Full.Full" Hidden="1" ConsumeMouseOver="1" >
		<Grid Size="400,300" Anchor="C,C" Padding="0,20" Style="Grid9DetailFive140" Hidden="0" >

			<!-- Side treatments -->
			<Box Style="PopupLeftSideTreatment"/>
			<Box Style="PopupRightSideTreatment"/>
			<Box Style="PopupNotificationTopTreatment"/>

			<Stack ID="LabelStack" Anchor="C,T" Offset="0,60" Padding="10" StackGrowth="Bottom">
			<Label ID="CountdownMessage" Anchor="C,T" WrapWidth="300" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" />
			<Label ID="CountdownTimer" Anchor="C,T" WrapWidth="300" Font="TwCenMT24" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" />
			</Stack>

			<Stack ID="ButtonStack" Anchor="C,B" Offset="0,60" Padding="10" StackGrowth="Bottom">
			<!-- Yes Button -->
			<GridButton ID="CountYes" Style="BaseButton" Size="300,30" Anchor="C,T" Hidden="0">
				<Label Anchor="C,C" ColorSet="Beige_Black" Font="TwCenMT20" FontStyle="Shadow" />
			</GridButton>
			<!-- No Button -->
			<GridButton ID="CountNo" Style="BaseButton" Size="300,30" Anchor="C,T" Hidden="0">
				<Label Anchor="C,C" ColorSet="Beige_Black" Font="TwCenMT20" FontStyle="Shadow" />
			</GridButton>
			</Stack>
		</Grid>
	</Box>

</Context>
