<?xml version="1.0" encoding="utf-8"?>
<Context ColorSet="Beige_Black" Font="TwCenMT20" FontStyle="Base" >
	<Container ID="Scrap" Hidden="1" />

	<Instance Name="ReplayMessageInstance" >
		<Container ID="Base" Anchor="L,C" Size="890,63" >
			<Label ID="MessageText" Offset="0,5" Font="TwCenMT18" FontStyle="Base" WrapWidth="890" />
			<Image ID="LineLeft" Anchor="L,B" Texture="BlueBar500x3.dds" Size="500,1" />
			<Image ID="LineRight" Anchor="R,B" Texture="BlueBar500x3.dds" Size="500,1"/>
		</Container>
	</Instance>

	<Instance Name="GraphLineInstance">
		<Line ID="LineSegment" />
	</Instance>

	<Instance Name="Label">
		<Label ID="Label" Font="TwCenMT14" ColorSet="Beige_Black_Alpha" FontStyle="Base" />
	</Instance>

	<Instance Name="GraphLegendInstance" >
		<Container ID="GraphLegend" Size="150,30" >
			<Grid	ULSize="60,1" ULTexStart="0,0"
					UCSize="60,1" UCTexStart="60,0"
					URSize="60,1" URTexStart="240,0"
					LSize="60,1" LTexStart="0,0"
					CSize="60,1" CTexStart="60,0"
					RSize="60,1" RTexStart="240,0"
					LLSize="60,1" LLTexStart="0,0"
					LCSize="60,1" LCTexStart="60,0"
					LRSize="60,1" LRTexStart="240,0"
					NoStateChange="1" UL="0" UC="" Texture="bar300x2.dds" Size="150,1" Anchor="C,B" />
			<Image ID="CivIconBG" Size="32,32" Anchor="L,C">
				<Image ID="CivIconShadow" Size="24,24" Offset="5,5"/>
				<Image ID="CivIcon" Size="24,24" Offset="4,4"/>
			</Image>
			<Line ID="LegendLine" Color="0,255,255,120" Start="40,8" End="110,8" Width="2"/>
			<Label ID="LegendName" Offset="36,14" String="America" Font="TwCenMT14" ColorSet="Beige_Black_Alpha" FontStyle="Base" />
			<CheckBox ID="ShowHide" ButtonTexture="CheckBox.dds" Anchor="R,C" Offset="5,0" TextOffset="40,0" IsChecked="1" />
		</Container>
	</Instance>

	<Grid ID="FrontEndReplayViewer" Size="990,592" Anchor="C,C" Offset="0,20" Style="Grid9DetailFive140" ConsumeMouse="1" >
		<!--Screen Title-- >
		<Label Anchor="C,T" String="TXT_KEY_REPLAY_TITLE" Offset="0,19" Font="TwCenMT20" Color0="30.50.80.255" Color1="133.184.186.255" Color2="133.184.186.255" FontStyle="SoftShadow" />
		<!--Side treatments-->
		<AlphaAnim Anchor="R,C" AnchorSide="O.O" Offset="-8,0" Size="16,32" TextureOffset="16.0" Texture="buttonsidesglow.dds" Pause="0" Cycle="Bounce" Speed="1" AlphaStart=".99" AlphaEnd=".25" Hidden="0"/>
		<AlphaAnim Anchor="L,C" AnchorSide="O.O" Offset="-8,0" Size="16,32" TextureOffset="0.0" Texture="buttonsidesglow.dds" Pause="0" Cycle="Bounce" Speed="1" AlphaStart=".99" AlphaEnd=".25" Hidden="0"/>
		<Image Anchor="R,C" Offset="-8,0" TextureOffset="8.0" AnchorSide="O.O" Texture="buttonsides.dds" Size="8,16" />
		<Image Anchor="L,C" Offset="-8,0" TextureOffset="0.0" AnchorSide="O.O" Texture="buttonsides.dds" Size="8,16" />
		<Image Anchor="C,T" Offset="0,-33" AnchorSide="O.O" Texture="topframe.dds" Size="512,128" />
		<Image Anchor="C,B" Offset="0,-109" AnchorSide="O.O" Texture="bottomframe.dds" Size="512,128" />
		<!--Back Button-->
		<GridButton ID="BackButton" Anchor="L,B" Offset="44,50" Size="150,32" Style="SmallButton" StateOffsetIncrement="0,0" String="TXT_KEY_BACK_BUTTON" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" />
	</Grid>

	<Container ID="MainPanel" Anchor="C,C" Size="956,466" >

		<Container ID="MessagesPanel" Hidden="1" >
			<ScrollPanel ID="ReplayMessageScrollPanel" Offset="23,0" Size="910,460" Vertical="1" AutoScrollBar="0" >
				<Stack ID="ReplayMessageStack" StackGrowth="Bottom" Padding="1" />
				<ScrollBar Style="VertSlider" Length="424" Anchor="R,C" />
				<UpButton Style="ScrollBarUp" Anchor="R,T" />
				<DownButton Style="ScrollBarDown" Anchor="R,B" />
			</ScrollPanel>
		</Container>

		<Container ID="GraphsPanel" Anchor="C,T" Size="950,450" Hidden="1" >
			<ScrollPanel ID="GraphLegendScrollPanel" AutoScrollBar="1" Size="160,440" Vertical="1" >
				<ScrollBar Style="VertSlider" Anchor="R,C" Length="404" />
				<UpButton Style="ScrollBarUp" Anchor="R,T" />
				<DownButton Style="ScrollBarDown" Anchor="R,B" />
				<Stack ID="GraphLegendStack" StackGrowth="Bottom" Padding="2" />
			</ScrollPanel>
			<Container ID="GraphDisplay" Offset="160,10" Size="750,430">
				<Button ID="GraphCanvas" Color="0,0,0,200" Size="750,430" NoStateChange="1" >
					<Box ID="Negative" Size="750,0" Anchor="L,B" Color="255,0,0,64" />
					<Container ID="HorizontalMouseCrosshair" >
						<Line Color="90,90,90,90" Start="0,0" End="750,0" Width="1" />
						<Line Color="255,0,0,255" Start="750,0" End="758,0" Width="1" />
					</Container>
					<Container ID="VerticalMouseCrosshair" >
						<Line Color="90,90,90,90" Start="0,0" End="0,430" Width="1" />
						<Line Color="255,0,0,255" Start="0,430" End="0,438" Width="1" />
					</Container>
				</Button>
				<Line Color="255,255,200,255" Start="0,430" End="750,430" Width="1" />
				<Line Color="255,255,200,255" Start="750,0" End="750,430" Width="1" />
				<Label ID="NoGraphData" Anchor="C,C" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Base" String="TXT_KEY_REPLAY_NOGRAPHDATA" Hidden="1"/>
			</Container>
		</Container>

		<AlphaAnim ID="MapTimer" Speed="3" Pause="0" Cycle="Bounce" Stopped="1" />
		<Container ID="MapPanel" Size="950,470" Hidden="1" ConsumeMouse="1" >
			<ReplayMap ID="ReplayMap" Size="950,450" >
				<ScrollPanel ID="MapScrollPanel" AutoScrollBar="1" Size="160,440" Vertical="1" >
					<ScrollBar Style="VertSlider" Anchor="L,C" Length="404" />
					<UpButton Style="ScrollBarUp" Anchor="L,T" />
					<DownButton Style="ScrollBarDown" Anchor="L,B" />
					<Label ID="TurnMessages" Font="TwCenMT14" ColorSet="Beige_Black_Alpha" FontStyle="Stroke" WrapWidth="400" />
				</ScrollPanel>
			</ReplayMap>
			<Label ID="TurnLabel" Anchor="C,B" Offset="0,-20" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Base" />
			<Slider ID="TurnSlider" Anchor="C,B" Length="950" WheelSteps="3" Style="Slider" />
			<GridButton ID="PlayPauseButton" Anchor="R,B" Style="SmallButton" Size="150,32" Offset="10,-30" StateOffsetIncrement="0,0" String="TXT_KEY_REPLAY_PLAYPAUSE" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" />
		</Container>
		<ReplayMap ID="ReplayMapFS" Anchor="C,C" Size="F,F" Hidden="1" ConsumeMouse="1" >
			<Button ID="MapMinimize" Anchor="R,T" Size="32,32" Texture="IconFrame32CheckDownload.dds" />
			<Button ID="MapCloseButton" Anchor="L,T" Size="32,32" Texture="IconFrame32Search.dds" />
		</ReplayMap>

		<Box Anchor="C,T" Offset="0,-30" Size="350,27" Color="0,0,0,255">
			<PullDown ID="ReplayInfoPulldown" Style="GenericPullDown" ScrollThreshold="500" Size="350,27" AutoSizePopUp="1" SpaceForScroll="1" />
		</Box>
	</Container>
</Context>