<Page
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:local="clr-namespace:ForzaUI"
    mc:Ignorable="d"
	x:Class="ForzaUI.BMW_M5_18">
	
    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type local:FastTextBlock}">
            <Setter Property="FontFamily" Value="Moire"/>
            <Setter Property="Foreground" Value="White"/>
             
            <Setter Property="TextAlignment" Value="Right"/>
        </Style>
		
		<local:DigitalGaugeConfig x:Key="Config" HasClock="True" HasExternalTemp="True" UseDegreesF="False" UseMPH="False" UsePsi="True" MaxBoost="13" MinBoost="1" MaxSpeed="91.74" HasAbsLight="False" HasStmLight="False" HasTcsLight="False" HasGAccelX="False" HasGAccelY="False" HasShiftLights="False" HasTextTach="False" HasLapPlaceInfo="False" HasTextBoost="False" HasTextGAccel="False" HasTextOdometer="True" HasTextFuel="False" MaxFuel="20.0" MinGear="-1" MaxGear="6" MaxRpm="8000"></local:DigitalGaugeConfig>
        
		<Storyboard x:Key="Tach">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="Needle_Tach">
				<EasingDoubleKeyFrame KeyTime="0" Value="-90"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.126" Value="-60.631"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.251" Value="-30.976"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.375" Value="-1.362"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="27.596"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.626" Value="56.496"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="85.87"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.875" Value="114.913"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="144.265"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Tach_2">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.126" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.251" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.375" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.626" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Tach_3">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.126" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.251" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.626" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Tach_4">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.126" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.251" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.375" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.626" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.875" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Tach_1">
				<EasingDoubleKeyFrame KeyTime="0:0:0.251" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.375" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Tach_5">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.251" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.375" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.626" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.875" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Tach_6">
				<EasingDoubleKeyFrame KeyTime="0:0:0.375" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.626" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.875" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.65"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Tach_7">
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.626" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Tach_8">
				<EasingDoubleKeyFrame KeyTime="0:0:0.626" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.875" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="Start Up Animation">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Start_Up_Mask">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="Fuel Gauge">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="Needle_Fuel">
				<EasingDoubleKeyFrame KeyTime="0" Value="25.311"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="132.585"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="Speedo Analog">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="Needle_Speedo">
				<EasingDoubleKeyFrame KeyTime="0" Value="-144.418"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.09" Value="-123.025"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.182" Value="-101.548"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.273" Value="-80.349"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.363" Value="-59.005"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.455" Value="-37.728"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.546" Value="-16.115"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.636" Value="5.242"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.728" Value="26.362"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.818" Value="47.913"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.909" Value="68.904"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="90"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Speedo_60">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.09" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.182" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.273" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.363" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.455" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Speedo_90">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.09" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.182" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.273" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.363" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.455" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.546" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Speed_0">
				<EasingDoubleKeyFrame KeyTime="0:0:0.09" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.182" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.273" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Speedo_120">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.09" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.182" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.273" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.363" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.455" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.546" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.636" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Speedo_30">
				<EasingDoubleKeyFrame KeyTime="0:0:0.182" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.273" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.363" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Speedo_150">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.182" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.273" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.363" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.455" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.546" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.636" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.728" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Speedo_180">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.273" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.363" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.455" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.546" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.636" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.728" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.818" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Speedo_210">
				<EasingDoubleKeyFrame KeyTime="0:0:0.363" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.455" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.546" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.636" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.728" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.818" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.909" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Speedo_240">
				<EasingDoubleKeyFrame KeyTime="0:0:0.455" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.546" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.636" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.728" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.818" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.909" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.5"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Speedo_270">
				<EasingDoubleKeyFrame KeyTime="0:0:0.546" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.636" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.728" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.818" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.909" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.65"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Speedo_300">
				<EasingDoubleKeyFrame KeyTime="0:0:0.636" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.728" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.818" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Speedo_330">
				<EasingDoubleKeyFrame KeyTime="0:0:0.728" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.818" Value="0.65"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.909" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</Page.Resources>
	<Page.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded" SourceName="LayoutRoot">
			<BeginStoryboard Storyboard="{StaticResource Fuel Gauge}"/>
			<BeginStoryboard Storyboard="{StaticResource Speedo Analog}"/>
		</EventTrigger>
	</Page.Triggers>
	  

	<Canvas x:Name="LayoutRoot" Background="Transparent" Width="1280" Height="720">
		<VisualStateManager.VisualStateGroups>
			<VisualStateGroup x:Name="NightDaySplit">
				<VisualState x:Name="Day"/>
				<VisualState x:Name="Night"/>
			</VisualStateGroup>
		</VisualStateManager.VisualStateGroups>
        <Rectangle x:Name="Background_Black" Fill="Black" Height="720" Width="1280" Canvas.Left="0" Canvas.Top="0"/>
		<Rectangle x:Name="Background_Grey" Fill="Black" Height="600" Canvas.Top="7" Width="1280"/>
		<Image x:Name="Graphics_Main" Height="439" Canvas.Left="80" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Graphics.png" Stretch="Fill" Canvas.Top="143" Width="1120"/>
		<Canvas x:Name="Fuel_Animation" Height="105" Canvas.Left="902.667" Canvas.Top="607" Width="302.666"/>
		<Canvas x:Name="Temperature_Graphics" Height="250" Canvas.Left="46" Canvas.Top="357" Width="250">
			<Image x:Name="Needle_Fuel" Height="63" Canvas.Left="115.004" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Needle_sm.png" Stretch="Fill" Canvas.Top="122.342" Width="7" RenderTransformOrigin="0.5,0.03">
				<Image.RenderTransform>
					<TransformGroup>
						<ScaleTransform/>
						<SkewTransform/>
						<RotateTransform Angle="25.311"/>
						<TranslateTransform/>
					</TransformGroup>
				</Image.RenderTransform>
			</Image>
			<Image x:Name="Needle_Water" Height="63" Canvas.Left="1066" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Needle_sm.png" Stretch="Fill" Canvas.Top="122.342" Width="7" RenderTransformOrigin="0.5,0.03">
				<Image.RenderTransform>
					<TransformGroup>
						<ScaleTransform/>
						<SkewTransform/>
						<RotateTransform Angle="-79.085"/>
						<TranslateTransform/>
					</TransformGroup>
				</Image.RenderTransform>
			</Image>
		</Canvas>
		<Canvas x:Name="Text" Height="720" Width="1280">
			<local:FastTextBlock x:Name="Text_Clock" Canvas.Left="328" Canvas.Top="550" Text="{Binding Time}" FontSize="18.667" Style="{StaticResource TextBlockStyle}" Width="120" FontFamily="DG1_Arial" Foreground="White" RenderTransformOrigin="0.5,0.5" TextAlignment="Right"/>
			<local:FastTextBlock x:Name="Text_External_Temp" Canvas.Left="758.479" Canvas.Top="550" Text="{Binding ExternalTemp}" FontSize="18.667" Style="{StaticResource TextBlockStyle}" Width="120" FontFamily="DG1_Arial" Foreground="White" RenderTransformOrigin="0.5,0.5" TextAlignment="Right"/>
			<local:FastTextBlock x:Name="Text_Speed" Canvas.Left="265.5" Canvas.Top="317" Text="{Binding Speed}" FontSize="42.667" Style="{StaticResource TextBlockStyle}" Width="200" FontFamily="Moire" Foreground="White" RenderTransformOrigin="0.5,0.5" TextAlignment="Center">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="0.9"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Trip_Odo" Canvas.Left="641.5" Canvas.Top="545.5" Text="{Binding TripMeter}" FontSize="21.333" Style="{StaticResource TextBlockStyle}" Width="120" FontFamily="DG1_Arial" Foreground="White" RenderTransformOrigin="0.5,0.5" TextAlignment="Right"/>
			<local:FastTextBlock x:Name="Text_Odometer" Canvas.Left="460.5" Canvas.Top="545.5" Text="{Binding TripMeter}" FontSize="21.333" Style="{StaticResource TextBlockStyle}" Width="150" FontFamily="DG1_Arial" Foreground="White" RenderTransformOrigin="0.5,0.5" TextAlignment="Right"/>
			<local:FastTextBlock x:Name="Text_Gear" Canvas.Left="566" Canvas.Top="346.563" Text="{Binding Gear}" FontSize="69.333" Style="{StaticResource TextBlockStyle}" Width="150" FontFamily="Moire" Foreground="White" RenderTransformOrigin="0.5,0.5" TextAlignment="Center">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="0.8"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
		</Canvas>
		<Canvas x:Name="Speedo" Height="500" Canvas.Left="115.909" Canvas.Top="146.085" Width="500">
			<Image x:Name="Speed_0" Height="15" Canvas.Left="158.089" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Speed_0.png" Stretch="Fill" Canvas.Top="359.914" Width="13"/>
			<Image x:Name="Speedo_30" Height="15" Canvas.Left="122.093" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Speed_30.png" Stretch="Fill" Canvas.Top="319.914" Width="28"/>
			<Image x:Name="Speedo_60" Height="15" Canvas.Left="100.091" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Speed_60.png" Stretch="Fill" Canvas.Top="270.915" Width="29" Opacity="0.65"/>
			<Image x:Name="Speedo_90" Height="15" Canvas.Left="99.425" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Speed_90.png" Stretch="Fill" Canvas.Top="219.983" Width="29" Opacity="0.5"/>
			<Image x:Name="Speedo_120" Height="15" Canvas.Left="119" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Speed_120.png" Stretch="Fill" Canvas.Top="170.982" Width="40" Opacity="0.5"/>
			<Image x:Name="Speedo_150" Height="15" Canvas.Left="150.089" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Speed_150.png" Stretch="Fill" Canvas.Top="132.916" Width="40" Opacity="0.5"/>
			<Image x:Name="Speedo_180" Height="15" Canvas.Left="193" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Speed_180.png" Stretch="Fill" Canvas.Top="107.917" Width="40" Opacity="0.5"/>
			<Image x:Name="Speedo_210" Height="15" Canvas.Left="246.333" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Speed_210.png" Stretch="Fill" Canvas.Top="99.917" Width="40" Opacity="0.5"/>
			<Image x:Name="Speedo_240" Height="15" Canvas.Left="289.333" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Speed_240.png" Stretch="Fill" Canvas.Top="119.914" Width="46" Opacity="0.5"/>
			<Image x:Name="Speedo_270" Height="15" Canvas.Left="325.417" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Speed_270.png" Stretch="Fill" Canvas.Top="150.915" Width="46" Opacity="0.5"/>
			<Image x:Name="Speedo_300" Height="15" Canvas.Left="348.086" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Speed_300.png" Stretch="Fill" Canvas.Top="192.913" Width="45" Opacity="0.5"/>
			<Image x:Name="Speedo_330" Height="15" Canvas.Left="359.424" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Speed_330.png" Stretch="Fill" Canvas.Top="240.921" Width="45" Opacity="0.5"/>
			<Image x:Name="Needle_Speedo" Height="235" Canvas.Left="218.424" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Needle_lg.png" Stretch="Fill" Canvas.Top="79.724" Width="63" RenderTransformOrigin="0.5,0.724">
				<Image.RenderTransform>
					<TransformGroup>
						<ScaleTransform/>
						<SkewTransform/>
						<RotateTransform Angle="-144.418"/>
						<TranslateTransform/>
					</TransformGroup>
				</Image.RenderTransform>
			</Image>
		</Canvas>
		<Canvas x:Name="Tach_Animation" Height="500" Canvas.Left="664" Canvas.Top="146.085" Width="500">
			<Image x:Name="Needle_Tach" Height="235" Canvas.Left="218.424" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Needle_lg.png" Stretch="Fill" Canvas.Top="79.724" Width="63" RenderTransformOrigin="0.5,0.724">
				<Image.RenderTransform>
					<TransformGroup>
						<ScaleTransform/>
						<SkewTransform/>
						<RotateTransform Angle="-90"/>
						<TranslateTransform/>
					</TransformGroup>
				</Image.RenderTransform>
			</Image>
			<Image x:Name="Tach_1" Height="18" Canvas.Left="121" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Tach_1.png" Stretch="Fill" Canvas.Top="175.915" Width="13"/>
			<Image x:Name="Tach_2" Height="18" Canvas.Left="168" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Tach_2.png" Stretch="Fill" Canvas.Top="122.915" Width="22" Opacity="0.65"/>
			<Image x:Name="Tach_3" Height="18" Canvas.Left="235" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Tach_3.png" Stretch="Fill" Canvas.Top="99.915" Width="22" Opacity="0.5"/>
			<Image x:Name="Tach_4" Height="18" Canvas.Left="301" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Tach_4.png" Stretch="Fill" Canvas.Top="116.915" Width="24" Opacity="0.5"/>
			<Image x:Name="Tach_5" Height="18" Canvas.Left="356.5" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Tach_5.png" Stretch="Fill" Canvas.Top="163.915" Width="22" Opacity="0.5"/>
			<Image x:Name="Tach_6" Height="18" Canvas.Left="381" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Tach_6.png" Stretch="Fill" Canvas.Top="230.915" Width="21" Opacity="0.5"/>
			<Image x:Name="Tach_7" Height="18" Canvas.Left="369.5" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Tach_7.png" Stretch="Fill" Canvas.Top="302.915" Width="23" Opacity="0.5"/>
			<Image x:Name="Tach_8" Height="18" Canvas.Left="322" Source="game:/media/cars/BMW_M5_18/UI/Textures/BMW_M5_18_Tach_8.png" Stretch="Fill" Canvas.Top="356.915" Width="22" Opacity="0.5"/>
		</Canvas>
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="720" Stroke="Black" Width="1280" Opacity="0"/>
		
				<!-- Storyboard binding controllers -->
		<local:StoryboardController SeekPct="{Binding Tach}" Target="{StaticResource Tach}"/>
		<local:StoryboardController SeekPct="{Binding Fuel}" Target="{StaticResource Fuel Gauge}"/>
		<local:StoryboardController SeekPct="{Binding AnalogSpeed}" Target="{StaticResource Speedo Analog}"/>
	
		
	</Canvas>
</Page>