<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:mscorlib="clr-namespace:System;assembly=mscorlib"
		xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows">
	<?BODY BEGIN?>
	<!--ValidationToolTipTemplate-->
	<?WPF BEGIN?>
	<ControlTemplate x:Key="ValidationToolTipTemplate" TargetType="{x:Type ToolTip}">
		<?WPF END?>
		<?SILVERLIGHT BEGIN?>
		<ControlTemplate x:Key="ValidationToolTipTemplate" TargetType="ToolTip">
			<?SILVERLIGHT END?>
			<Grid x:Name="Root" Margin="5,0" RenderTransformOrigin="0,0" Opacity="0">
				<?SILVERLIGHT BEGIN?>
				<Grid.RenderTransform>
					<TranslateTransform x:Name="xform" X="-25" />
				</Grid.RenderTransform>
				<?SILVERLIGHT END?>

				<?WPF BEGIN?>
				<Grid.RenderTransform>
					<TranslateTransform X="-25" />
				</Grid.RenderTransform>
				<?WPF END?>

				<?SILVERLIGHT BEGIN?>
				<vsm:VisualStateManager.VisualStateGroups>
					<vsm:VisualStateGroup Name="OpenStates">
						<vsm:VisualStateGroup.Transitions>
							<vsm:VisualTransition GeneratedDuration="0" />
							<vsm:VisualTransition To="Open" GeneratedDuration="0:0:0.2">
								<Storyboard>
									<DoubleAnimation Storyboard.TargetName="xform"
											Storyboard.TargetProperty="X" To="0" Duration="0:0:0.2">
										<DoubleAnimation.EasingFunction>
											<BackEase Amplitude=".3" EasingMode="EaseOut" />
										</DoubleAnimation.EasingFunction>
									</DoubleAnimation>
									<DoubleAnimation Storyboard.TargetName="Root"
											Storyboard.TargetProperty="Opacity" To="1"
											Duration="0:0:0.2" />
								</Storyboard>
							</vsm:VisualTransition>
						</vsm:VisualStateGroup.Transitions>
						<vsm:VisualState x:Name="Closed">
							<Storyboard>
								<DoubleAnimation Storyboard.TargetName="Root"
										Storyboard.TargetProperty="Opacity" To="0" Duration="0" />
							</Storyboard>
						</vsm:VisualState>
						<vsm:VisualState x:Name="Open">
							<Storyboard>
								<DoubleAnimation Storyboard.TargetName="xform"
										Storyboard.TargetProperty="X" To="0" Duration="0" />
								<DoubleAnimation Storyboard.TargetName="Root"
										Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
							</Storyboard>
						</vsm:VisualState>
					</vsm:VisualStateGroup>
				</vsm:VisualStateManager.VisualStateGroups>
				<?SILVERLIGHT END?>

				<Border Margin="4,4,-4,-4" Background="#052A2E31" CornerRadius="5" />
				<Border Margin="3,3,-3,-3" Background="#152A2E31" CornerRadius="4" />
				<Border Margin="2,2,-2,-2" Background="#252A2E31" CornerRadius="3" />
				<Border Margin="1,1,-1,-1" Background="#352A2E31" CornerRadius="2" />

				<Border Background="#FFDC000C" CornerRadius="2" />
				<Border CornerRadius="2">
					<TextBlock Foreground="White" Margin="8,4,8,4" MaxWidth="250"
							TextWrapping="Wrap" Text="{Binding (Validation.Errors)[0].ErrorContent}" />
				</Border>
			</Grid>
			<?WPF BEGIN?>
			<ControlTemplate.Triggers>
				<Trigger Property="IsOpen" Value="True">
					<Trigger.EnterActions>
						<BeginStoryboard>
							<Storyboard Name="OpenAnimation">
								<DoubleAnimation Storyboard.TargetName="xform"
										Storyboard.TargetProperty="X" To="0" Duration="0:0:0.2" />
								<DoubleAnimation Storyboard.TargetName="Root"
										Storyboard.TargetProperty="Opacity" To="1"
										Duration="0:0:0.2" />
							</Storyboard>
						</BeginStoryboard>
					</Trigger.EnterActions>
					<Trigger.ExitActions>
						<StopStoryboard BeginStoryboardName="OpenAnimation" />
					</Trigger.ExitActions>
				</Trigger>
				<Trigger Property="IsOpen" Value="True">
					<Setter TargetName="Root" Property="RenderTransform">
						<Setter.Value>
							<TranslateTransform X="0" />
						</Setter.Value>
					</Setter>
					<Setter Property="Opacity" Value="1" TargetName="Root" />
				</Trigger>
				<Trigger Property="IsOpen" Value="False">
					<Setter Property="Opacity" Value="0" TargetName="Root" />
				</Trigger>
			</ControlTemplate.Triggers>
			<?WPF END?>
		</ControlTemplate>
		<LinearGradientBrush x:Key="VerticalScrollBarBackground" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFB4B7BF" Offset="0.08"/>
		<GradientStop Color="#FFB4B7BF" Offset="0.93"/>
		<GradientStop Color="#FF9D9FA6" Offset="0.07"/>
		<GradientStop Color="#FF9D9FA6" Offset="0.94"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="HorizontalScrollBarBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFB4B7BF" Offset="0.08"/>
		<GradientStop Color="#FFB4B7BF" Offset="0.93"/>
		<GradientStop Color="#FF9D9FA6" Offset="0.07"/>
		<GradientStop Color="#FF9D9FA6" Offset="0.94"/>
	</LinearGradientBrush>
	
	<LinearGradientBrush x:Key="ScrollBarBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFB4B7BF" Offset="0"/>
		<GradientStop Color="#FFB4B7BF" Offset="0.93"/>
		<GradientStop Color="#FF9D9FA6" Offset="0.94"/>
	</LinearGradientBrush>
	
	<SolidColorBrush x:Key="RepeatButtonOuterBorder_Over" Color="#FFF1973B"/>
	<SolidColorBrush x:Key="RepeatButtonOuterBorder_Pressed" Color="#FFF2682B"/>
	<SolidColorBrush x:Key="RepeatButtonInnerBorder_Over" Color="White"/>
	<SolidColorBrush x:Key="RepeatButtonInnerBorder_Selected" Color="#FFFEF4B4"/>
	<LinearGradientBrush x:Key="VerticalRepeatButtonBackground_Over" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFFFE391" Offset="1"/>
		<GradientStop Color="#FFFFFDEB" Offset="0"/>
		<GradientStop Color="#FFFFD563" Offset="0.51"/>
		<GradientStop Color="#FFFFEDB3" Offset="0.5"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="VderticalRepeatButtonBackground_Pressed" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFFCE79F" Offset="1"/>
		<GradientStop Color="#FFFDD3A8" Offset="0"/>
		<GradientStop Color="#FFF9932E" Offset="0.51"/>
		<GradientStop Color="#FFFAAD5F" Offset="0.5"/>
	</LinearGradientBrush>
	
	<SolidColorBrush x:Key="ThumbOuterBorder" Color="Transparent"/>
	<SolidColorBrush x:Key="ThumbInnerBorder"  Color="#6f6e73" />

	<LinearGradientBrush  x:Key="VerticalThumbBackground" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFF6F6F6" Offset="0"/>
		<GradientStop Color="#FFC1C1C5" Offset="1"/>
		<GradientStop Color="#FFEAEAEC" Offset="0.5"/>
		<GradientStop Color="#FFDADBDD" Offset="0.5"/>
	</LinearGradientBrush>
	
	<SolidColorBrush x:Key="ScrollBarArrowFill" Color="#FF4B4F55" />
	
	<LinearGradientBrush x:Key="HorizontalThumbBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF6F6F6" Offset="0"/>
		<GradientStop Color="#FFC1C1C5" Offset="1"/>
		<GradientStop Color="#FFEAEAEC" Offset="0.5"/>
		<GradientStop Color="#FFDADBDD" Offset="0.5"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="HorizontalRepeatButtonBackground_Over" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFE391" Offset="1"/>
		<GradientStop Color="#FFFFFDEB" Offset="0"/>
		<GradientStop Color="#FFFFD563" Offset="0.51"/>
		<GradientStop Color="#FFFFEDB3" Offset="0.5"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="HorizontalRepeatButtonBackground_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFCE79F" Offset="1"/>
		<GradientStop Color="#FFFDD3A8" Offset="0"/>
		<GradientStop Color="#FFF9932E" Offset="0.51"/>
		<GradientStop Color="#FFFAAD5F" Offset="0.5"/>
	</LinearGradientBrush>

	<?SILVERLIGHT BEGIN?>
	<!-- scrollBar-->
	<Style TargetType="ScrollBar" x:Key="StyleScrollBar">
		<Setter Property="MinWidth" Value="16" />
		<Setter Property="MinHeight" Value="16" />
		<Setter Property="IsTabStop" Value="False" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ScrollBar">
					<Grid x:Name="Root">
						<Grid.Resources>

							<!-- RepeatButton Templates -->
							<ControlTemplate x:Key="RepeatButtonTemplate" TargetType="RepeatButton">
								<Grid x:Name="Root" Background="Transparent">
									<vsm:VisualStateManager.VisualStateGroups>
										<vsm:VisualStateGroup x:Name="CommonStates">
											<vsm:VisualState x:Name="Normal" />
										</vsm:VisualStateGroup>
									</vsm:VisualStateManager.VisualStateGroups>
								</Grid>
							</ControlTemplate>

							<!-- Horizontal Inc/Dec Templates -->
							<ControlTemplate x:Key="HorizontalIncrementTemplate" TargetType="RepeatButton">
								<Grid x:Name="Root">
									<vsm:VisualStateManager.VisualStateGroups>
										<vsm:VisualStateGroup x:Name="CommonStates">
											<vsm:VisualState x:Name="Normal" />
											<vsm:VisualState x:Name="MouseOver">
												<Storyboard>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="Background" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource HorizontalRepeatButtonBackground_Over}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="borderInner"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonInnerBorder_Over}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonOuterBorder_Over}" />
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</vsm:VisualState>
											<vsm:VisualState x:Name="Pressed">
												<Storyboard>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="Background" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource HorizontalRepeatButtonBackground_Pressed}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="borderInner"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonInnerBorder_Selected}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonOuterBorder_Pressed}" />
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</vsm:VisualState>
											<vsm:VisualState x:Name="Disabled">
												<Storyboard>
													<DoubleAnimation Duration="0:0:0" Storyboard.TargetName="DisabledElement" Storyboard.TargetProperty="Opacity" To=".7" />
												</Storyboard>
											</vsm:VisualState>
										</vsm:VisualStateGroup>
									</vsm:VisualStateManager.VisualStateGroups>
									<Border x:Name="border"  BorderThickness="1" Background="Transparent" BorderBrush="Transparent" CornerRadius="2" Margin="0">
										<Border x:Name="borderInner" BorderBrush="Transparent" BorderThickness="1" CornerRadius="1"/>
									</Border>
									<Path Stretch="Uniform" Height="8" Width="4" Fill="{StaticResource ScrollBarArrowFill}"
										  Data="F1 M 511.047,352.682L 511.047,342.252L 517.145,347.467L 511.047,352.682 Z " />
									<Rectangle x:Name="DisabledElement" Opacity="0" RadiusX="1" RadiusY="1" Fill="#FFFFFFFF"/>
								</Grid>
							</ControlTemplate>
							<ControlTemplate x:Key="HorizontalDecrementTemplate" TargetType="RepeatButton">
								<Grid x:Name="Root">
									<vsm:VisualStateManager.VisualStateGroups>
										<vsm:VisualStateGroup x:Name="CommonStates">
											<vsm:VisualState x:Name="Normal" />
											<vsm:VisualState x:Name="MouseOver">
												<Storyboard>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="Background" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource HorizontalRepeatButtonBackground_Over}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="borderInner"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonInnerBorder_Over}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonOuterBorder_Over}" />
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</vsm:VisualState>
											<vsm:VisualState x:Name="Pressed">
												<Storyboard>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="Background" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource HorizontalRepeatButtonBackground_Pressed}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="borderInner"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonInnerBorder_Selected}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonOuterBorder_Pressed}" />
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</vsm:VisualState>
											<vsm:VisualState x:Name="Disabled">
												<Storyboard>
													<DoubleAnimation Duration="0:0:0" Storyboard.TargetName="DisabledElement" Storyboard.TargetProperty="Opacity" To=".7" />
												</Storyboard>
											</vsm:VisualState>
										</vsm:VisualStateGroup>
									</vsm:VisualStateManager.VisualStateGroups>
									<Border x:Name="border"  BorderThickness="1" Background="Transparent" BorderBrush="Transparent" CornerRadius="2" Margin="0">
										<Border x:Name="borderInner" BorderBrush="Transparent" BorderThickness="1" CornerRadius="1"/>
									</Border>									
									<Path Stretch="Uniform" Height="8" Width="4" Fill="{StaticResource ScrollBarArrowFill}"
										  Data="F1 M 110.692,342.252L 110.692,352.682L 104.594,347.467L 110.692,342.252 Z " />
									<Rectangle x:Name="DisabledElement" Opacity="0" RadiusX="1" RadiusY="1" Fill="#FFFFFFFF"/>
								</Grid>
							</ControlTemplate>


							<!-- Vertical Inc/Dec Templates -->
							<ControlTemplate x:Key="VerticalIncrementTemplate"
									TargetType="RepeatButton">
								<Grid x:Name="Root">
									<vsm:VisualStateManager.VisualStateGroups>
										<vsm:VisualStateGroup x:Name="CommonStates">
											<vsm:VisualState x:Name="Normal" />
											<vsm:VisualState x:Name="MouseOver">
												<Storyboard>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="Background" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource VerticalRepeatButtonBackground_Over}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="borderInner"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonInnerBorder_Over}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonOuterBorder_Over}" />
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</vsm:VisualState>
											<vsm:VisualState x:Name="Pressed">
												<Storyboard>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="Background" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource VderticalRepeatButtonBackground_Pressed}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="borderInner"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonInnerBorder_Selected}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonOuterBorder_Pressed}" />
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</vsm:VisualState>
											<vsm:VisualState x:Name="Disabled">
												<Storyboard>
													<DoubleAnimation Duration="0:0:0"
															Storyboard.TargetName="DisabledElement"
															Storyboard.TargetProperty="Opacity"
															To=".7" />
												</Storyboard>
											</vsm:VisualState>
										</vsm:VisualStateGroup>
									</vsm:VisualStateManager.VisualStateGroups>
									<Border x:Name="border"  BorderThickness="1" Background="Transparent" BorderBrush="Transparent" CornerRadius="2" Margin="0">
										<Border x:Name="borderInner" BorderBrush="Transparent" BorderThickness="1" CornerRadius="1"/>
									</Border>
									<Path Stretch="Uniform" Height="4" Width="8" Fill="{StaticResource ScrollBarArrowFill}"
											Data="F1 M 531.107,321.943L 541.537,321.943L 536.322,328.042L 531.107,321.943 Z " />
										
									<Rectangle x:Name="DisabledElement" Opacity="0" RadiusX="1"
											RadiusY="1" Fill="#FFFFFFFF" />
								</Grid>
							</ControlTemplate>
							<ControlTemplate x:Key="VerticalDecrementTemplate"
									TargetType="RepeatButton">
								<Grid x:Name="Root">
									<vsm:VisualStateManager.VisualStateGroups>
										<vsm:VisualStateGroup x:Name="CommonStates">
											<vsm:VisualState x:Name="Normal" />
											<vsm:VisualState x:Name="MouseOver">
												<Storyboard>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="Background" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource VerticalRepeatButtonBackground_Over}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="borderInner"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonInnerBorder_Over}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonOuterBorder_Over}" />
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</vsm:VisualState>
											<vsm:VisualState x:Name="Pressed">
												<Storyboard>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="Background" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource VderticalRepeatButtonBackground_Pressed}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="borderInner"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonInnerBorder_Selected}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonOuterBorder_Pressed}" />
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</vsm:VisualState>
											<vsm:VisualState x:Name="Disabled">
												<Storyboard>
													<DoubleAnimation Duration="0:0:0"
															Storyboard.TargetName="DisabledElement"
															Storyboard.TargetProperty="Opacity"
															To=".7" />
												</Storyboard>
											</vsm:VisualState>
										</vsm:VisualStateGroup>
									</vsm:VisualStateManager.VisualStateGroups>
									<Border x:Name="border"  BorderThickness="1" Background="Transparent" BorderBrush="Transparent" CornerRadius="2" Margin="0">
										<Border x:Name="borderInner" BorderBrush="Transparent" BorderThickness="1" CornerRadius="1"/>
									</Border>
									<Path Stretch="Uniform" Height="4" Width="8" Fill="{StaticResource ScrollBarArrowFill}"
											Data="F1 M 541.537,173.589L 531.107,173.589L 536.322,167.49L 541.537,173.589 Z " />
									<Rectangle x:Name="DisabledElement" Opacity="0" RadiusX="1"
											RadiusY="1" Fill="#FFFFFFFF" />
								</Grid>
							</ControlTemplate>

							<!-- Thumb Templates -->
							<ControlTemplate x:Key="VerticalThumbTemplate" TargetType="Thumb">
								<Grid>
									<vsm:VisualStateManager.VisualStateGroups>
										<vsm:VisualStateGroup x:Name="CommonStates">
											<vsm:VisualState x:Name="Normal" />
											<vsm:VisualState x:Name="MouseOver">
												<Storyboard>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="Background" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource VerticalRepeatButtonBackground_Over}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="borderInner"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonInnerBorder_Over}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonOuterBorder_Over}" />
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</vsm:VisualState>
											<vsm:VisualState x:Name="Pressed">
												<Storyboard>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="Background" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource VderticalRepeatButtonBackground_Pressed}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="borderInner"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonInnerBorder_Selected}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonOuterBorder_Pressed}" />
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</vsm:VisualState>
											<vsm:VisualState x:Name="Disabled">
												<Storyboard>
													<DoubleAnimation Duration="0:0:0"
															Storyboard.TargetName="ThumbVisual"
															Storyboard.TargetProperty="Opacity"
															To="0" />
												</Storyboard>
											</vsm:VisualState>
										</vsm:VisualStateGroup>
									</vsm:VisualStateManager.VisualStateGroups>
									<Grid x:Name="ThumbVisual" Margin="1,0,1,0">
										<Border x:Name="border" BorderThickness="1" Background="{StaticResource VerticalThumbBackground}" BorderBrush="{StaticResource ThumbInnerBorder}" CornerRadius="2" Margin="0">
											<Border x:Name="borderInner" BorderBrush="{StaticResource ThumbOuterBorder}" BorderThickness="1" CornerRadius="1"/>
										</Border>
										<StackPanel HorizontalAlignment="Center"  Width="7"  VerticalAlignment="Center">
											<Rectangle x:Name="Line1" Fill="#787777" Height="1"  Margin="0,0,0,1" />
											<Rectangle x:Name="Line2" Fill="#787777" Height="1" Margin="0,0,0,1" />
											<Rectangle x:Name="Line3" Fill="#787777" Height="1" />
										</StackPanel>

										<Rectangle x:Name="Highlight" RadiusX="1" RadiusY="1"
												Opacity="0" IsHitTestVisible="false"
												Stroke="#b28d3f" StrokeThickness="1" />
									</Grid>
								</Grid>
							</ControlTemplate>
							<ControlTemplate x:Key="HorizontalThumbTemplate" TargetType="Thumb">
								<Grid>
									<vsm:VisualStateManager.VisualStateGroups>
										<vsm:VisualStateGroup x:Name="CommonStates">
											<vsm:VisualState x:Name="Normal" />
											<vsm:VisualState x:Name="MouseOver">
												<Storyboard>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="Background" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource HorizontalRepeatButtonBackground_Over}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="borderInner"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonInnerBorder_Over}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonOuterBorder_Over}" />
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</vsm:VisualState>
											<vsm:VisualState x:Name="Pressed">
												<Storyboard>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="Background" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource HorizontalRepeatButtonBackground_Pressed}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="borderInner"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonInnerBorder_Selected}" />
													</ObjectAnimationUsingKeyFrames>
													<ObjectAnimationUsingKeyFrames
														Storyboard.TargetName="border"
														Storyboard.TargetProperty="BorderBrush" Duration="0">
														<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RepeatButtonOuterBorder_Pressed}" />
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</vsm:VisualState>
											<vsm:VisualState x:Name="Disabled">
												<Storyboard>
													<DoubleAnimation Duration="0:0:0"
															Storyboard.TargetName="ThumbVisual"
															Storyboard.TargetProperty="Opacity"
															To="0" />
												</Storyboard>
											</vsm:VisualState>
										</vsm:VisualStateGroup>
									</vsm:VisualStateManager.VisualStateGroups>
									<Grid x:Name="ThumbVisual" Margin="0,1,0,1">
										<Border x:Name="border" BorderThickness="1" Background="{StaticResource HorizontalThumbBackground}" BorderBrush="{StaticResource ThumbInnerBorder}" CornerRadius="2" Margin="0">
											<Border x:Name="borderInner" BorderBrush="{StaticResource ThumbOuterBorder}" BorderThickness="1" CornerRadius="1"/>
										</Border>

										<Border x:Name="Line1" Height="7" HorizontalAlignment="Center" VerticalAlignment="Center" BorderBrush="#787777" BorderThickness="1,0,0,0" Margin="1,0,0,0">
											<Border x:Name="Line2" Height="7" HorizontalAlignment="Center" VerticalAlignment="Center" BorderBrush="#787777" BorderThickness="1,0,0,0" Margin="1,0,0,0">
												<Border x:Name="Line3" Height="7" HorizontalAlignment="Center" VerticalAlignment="Center" BorderBrush="#787777" BorderThickness="1,0,0,0" Margin="1,0,0,0" />
											</Border>
										</Border>

										<Rectangle x:Name="Highlight" RadiusX="1" RadiusY="1" Opacity="0" IsHitTestVisible="false" Stroke="#b28d3f" StrokeThickness="1" />
									</Grid>


								</Grid>
							</ControlTemplate>
						</Grid.Resources>

						<vsm:VisualStateManager.VisualStateGroups>
							<vsm:VisualStateGroup x:Name="CommonStates">
								<vsm:VisualState x:Name="Normal" />
								<vsm:VisualState x:Name="MouseOver" />
								<vsm:VisualState x:Name="Disabled">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="Root"
												Storyboard.TargetProperty="Opacity" To="0.5"
												Duration="0" />
									</Storyboard>
								</vsm:VisualState>
							</vsm:VisualStateGroup>
						</vsm:VisualStateManager.VisualStateGroups>

						<!-- Horizontal Template -->
						<Grid x:Name="HorizontalRoot">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="Auto" />
								<ColumnDefinition Width="Auto" />
								<ColumnDefinition Width="Auto" />
								<ColumnDefinition Width="*" />
								<ColumnDefinition Width="Auto" />
							</Grid.ColumnDefinitions>

							<!-- Track Layer -->
							<Rectangle Grid.ColumnSpan="5" RadiusX="0" RadiusY="0"
									StrokeThickness="1"  Fill="{StaticResource HorizontalScrollBarBackground}" />

							<!-- Repeat Buttons + Thumb -->
							<RepeatButton x:Name="HorizontalSmallDecrease" Grid.Column="0"
									Width="16" IsTabStop="False" Interval="50"
									Template="{StaticResource HorizontalDecrementTemplate}"
									Margin="1" />
							<RepeatButton x:Name="HorizontalLargeDecrease" Grid.Column="1" Width="0"
									Template="{StaticResource RepeatButtonTemplate}" Interval="50"
									IsTabStop="False" />
							<Thumb x:Name="HorizontalThumb"
									Background="{TemplateBinding Background}" MinWidth="18"
									Width="18" Grid.Column="2"
									Template="{StaticResource HorizontalThumbTemplate}" />
							<RepeatButton x:Name="HorizontalLargeIncrease" Grid.Column="3"
									Template="{StaticResource RepeatButtonTemplate}" Interval="50"
									IsTabStop="False" />
							<RepeatButton x:Name="HorizontalSmallIncrease" Grid.Column="4"
									Width="16" IsTabStop="False" Interval="50"
									Template="{StaticResource HorizontalIncrementTemplate}"
									Margin="1" />
						</Grid>

						<!-- Vertical Template -->
						<Grid x:Name="VerticalRoot" Visibility="Collapsed">
							<Grid.RowDefinitions>
								<RowDefinition Height="Auto" />
								<RowDefinition Height="Auto" />
								<RowDefinition Height="Auto" />
								<RowDefinition Height="*" />
								<RowDefinition Height="Auto" />
							</Grid.RowDefinitions>

							<!-- Track Layer -->
							<Rectangle Grid.RowSpan="5" RadiusX="0" RadiusY="0" StrokeThickness="1"
									Fill="{StaticResource VerticalScrollBarBackground}" />
							<!-- Repeat Buttons + Thumb -->
							<RepeatButton x:Name="VerticalSmallDecrease" Grid.Row="0" Height="16"
									IsTabStop="False" Interval="50"
									Template="{StaticResource VerticalDecrementTemplate}" Margin="1" />
							<RepeatButton x:Name="VerticalLargeDecrease" Grid.Row="1" Height="0"
									Template="{StaticResource RepeatButtonTemplate}" Interval="50"
									IsTabStop="False" />
							<Thumb x:Name="VerticalThumb" MinHeight="18" Height="18" Grid.Row="2"
									Template="{StaticResource VerticalThumbTemplate}" />
							<RepeatButton x:Name="VerticalLargeIncrease" Grid.Row="3"
									Template="{StaticResource RepeatButtonTemplate}" Interval="50"
									IsTabStop="False" />
							<RepeatButton x:Name="VerticalSmallIncrease" Grid.Row="4" Height="16"
									IsTabStop="False" Interval="50"
									Template="{StaticResource VerticalIncrementTemplate}" Margin="1" />
						</Grid>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<!--end scrollBar-->

	<!-- ScrollViewer-->
	<Style TargetType="ScrollViewer" x:Key="System.Windows.Controls.ScrollViewer">
		<Setter Property="HorizontalContentAlignment" Value="Left" />
		<Setter Property="VerticalContentAlignment" Value="Top" />
		<Setter Property="VerticalScrollBarVisibility" Value="Visible" />
		<Setter Property="Padding" Value="0" />
		<Setter Property="BorderThickness" Value="0" />
		<Setter Property="BorderBrush" Value="Transparent" />
		<Setter Property="Background" Value="Transparent" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ScrollViewer">

					<Border CornerRadius="0" BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Background="{TemplateBinding Background}">

						<Grid Background="{TemplateBinding Background}">
							<Grid.RowDefinitions>
								<RowDefinition Height="*" />
								<RowDefinition Height="Auto" />
							</Grid.RowDefinitions>
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="*" />
								<ColumnDefinition Width="Auto" />
							</Grid.ColumnDefinitions>

							<ScrollContentPresenter x:Name="ScrollContentPresenter"
									Cursor="{TemplateBinding Cursor}"
									Margin="{TemplateBinding Padding}"
									ContentTemplate="{TemplateBinding ContentTemplate}" />
							
							<Border Grid.Column="1" Grid.Row="1" Background="{StaticResource ScrollBarBackground}"
									BorderThickness="0 0 1 0" BorderBrush="#9d9fa6"/>
								

							<ScrollBar x:Name="VerticalScrollBar" Width="16" IsTabStop="False"
									Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"
									Grid.Column="1" Grid.Row="0" Orientation="Vertical"
									ViewportSize="{TemplateBinding ViewportHeight}"
									Maximum="{TemplateBinding ScrollableHeight}" Minimum="0"
									Value="{TemplateBinding VerticalOffset}" 
									Style="{StaticResource StyleScrollBar}" />

							<ScrollBar x:Name="HorizontalScrollBar" Height="16" IsTabStop="False"
									Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"
									Grid.Column="0" Grid.Row="1" Orientation="Horizontal"
									ViewportSize="{TemplateBinding ViewportWidth}"
									Maximum="{TemplateBinding ScrollableWidth}" Minimum="0"
									Value="{TemplateBinding HorizontalOffset}" 
									Style="{StaticResource StyleScrollBar}" />
						</Grid>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<!--End ScrollViewer-->
	<?SILVERLIGHT END?>
	
	<?WPF BEGIN?>

	<!--SCROLL VIEWER BRUSHES BLACK-->
	<!--<SolidColorBrush x:Key="DisabledForegroundBrush" Color="#FF8D8D8D" />-->
	<SolidColorBrush x:Key="DisabledBorderBrush" Color="#FFBBBBBB" />
	<SolidColorBrush x:Key="DisabledBackgroundBrush" Color="#FFFFFFFF" />
	<SolidColorBrush x:Key="VerticalThumbGrip1" Color="#CC7E7E80"/>
	<SolidColorBrush x:Key="VerticalThumbGrip2" Color="#66FFFFFF"/>

	<Style x:Key="VerticalRepeatButtonStyle" TargetType="{x:Type RepeatButton}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type RepeatButton}">
					<Grid>
						<Border x:Name="border" BorderThickness="1" Background="Transparent" CornerRadius="2" Margin="0,0,0,0">
							<Border x:Name="Border" BorderThickness="1" CornerRadius="1"/>
						</Border>
						<ContentPresenter HorizontalAlignment="Center" x:Name="ContentPresenter" VerticalAlignment="Center" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true">
							<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource RepeatButtonOuterBorder_Over}"/>
							<Setter Property="BorderBrush" TargetName="Border" Value="{StaticResource RepeatButtonInnerBorder_Over}"/>
							<Setter Property="Background" TargetName="Border" Value="{StaticResource VerticalRepeatButtonBackground_Over}"/>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Background" TargetName="Border" Value="{StaticResource VerticalRepeatButtonBackground_Over}"/>
							<Setter Property="BorderBrush" TargetName="Border" Value="{StaticResource RepeatButtonInnerBorder_Over}"/>
							<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource RepeatButtonOuterBorder_Over}"/>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
							<Setter Property="BorderBrush" TargetName="Border" Value="{StaticResource RepeatButtonInnerBorder_Selected}"/>
							<Setter Property="Background" TargetName="Border" Value="{StaticResource VderticalRepeatButtonBackground_Pressed}"/>
							<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource RepeatButtonOuterBorder_Pressed}"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Background" TargetName="Border" Value="{StaticResource DisabledBackgroundBrush}"/>
							<Setter Property="BorderBrush" TargetName="Border" Value="{StaticResource DisabledBorderBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="VerticalScrollBarThumbStyle"  TargetType="{x:Type Thumb}" BasedOn="{x:Null}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Thumb}">
					<Grid Margin="0,0,0,0" x:Name="Grid">
						<Border x:Name="border" HorizontalAlignment="Stretch" Margin="0" VerticalAlignment="Stretch" BorderBrush="{StaticResource ThumbOuterBorder}" BorderThickness="1" CornerRadius="2">
							<Rectangle x:Name="Rectangle" RadiusX="1" RadiusY="1" Fill="{StaticResource VerticalThumbBackground}" Stroke="{StaticResource ThumbInnerBorder}"/>
						</Border>
						<Path x:Name="path" Fill="{StaticResource VerticalThumbGrip1}" Stretch="Fill" HorizontalAlignment="Center" Margin="0,0,0,1" VerticalAlignment="Center" Width="9" Height="5" Data="M0,4 L8,4 8,5 0,5 z M0,2 L8,2 8,3 0,3 z M0,0 L8,0 8,1 0,1 z" SnapsToDevicePixels="True"/>
						<Path Fill="{StaticResource VerticalThumbGrip2}" Stretch="Fill" HorizontalAlignment="Center" Margin="0,1,0,0" VerticalAlignment="Center" Width="9" Height="5" Data="M0,4 L8,4 8,5 0,5 z M0,2 L8,2 8,3 0,3 z M0,0 L8,0 8,1 0,1 z" SnapsToDevicePixels="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter Property="Stroke" TargetName="Rectangle" Value="{StaticResource RepeatButtonInnerBorder_Over}"/>
							<Setter Property="Fill" TargetName="Rectangle" Value="{StaticResource VerticalRepeatButtonBackground_Over}"/>
							<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource RepeatButtonOuterBorder_Over}"/>
							<Setter Property="Fill" TargetName="path" Value="{StaticResource ScrollBarArrowFill}"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False"/>
						<Trigger Property="IsDragging" Value="True">
							<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource RepeatButtonOuterBorder_Pressed}"/>
							<Setter Property="Fill" TargetName="Rectangle" Value="{StaticResource VderticalRepeatButtonBackground_Pressed}"/>
							<Setter Property="Stroke" TargetName="Rectangle" Value="{StaticResource RepeatButtonInnerBorder_Selected}"/>
							<Setter Property="Fill" TargetName="path" Value="{StaticResource ScrollBarArrowFill}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="RepeatButtonStyle" TargetType="{x:Type RepeatButton}">
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ButtonBase}">
					<Border x:Name="ContentContainer" SnapsToDevicePixels="true" Background="Transparent">
						<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True"/>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="VerticalScrollBarStyle" TargetType="{x:Type ScrollBar}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ScrollBar}">
					<Border x:Name="border" SnapsToDevicePixels="True" Background="{StaticResource VerticalScrollBarBackground}" BorderBrush="{x:Null}" BorderThickness="0,0,0,0">
						<Grid x:Name="GridRoot" Height="Auto">
							<Grid.RowDefinitions>
								<RowDefinition Height="17"/>
								<RowDefinition x:Name="rowDefinition" Height="1*"/>
								<RowDefinition Height="17"/>
							</Grid.RowDefinitions>

							<RepeatButton x:Name="DecreaseRepeat" Style="{StaticResource VerticalRepeatButtonStyle}" Command="ScrollBar.LineUpCommand">
								<Grid>
									<Path x:Name="DecreaseArrow" Data="M 0 4 L 8 4 L 4 0 Z" Fill="{StaticResource ScrollBarArrowFill}" />
								</Grid>
							</RepeatButton>

							<Track Grid.Row="1" x:Name="PART_Track" Orientation="Vertical" IsDirectionReversed="true">
								<Track.Thumb>
									<Thumb x:Name="thumb" Style="{StaticResource VerticalScrollBarThumbStyle}"/>
								</Track.Thumb>
								<Track.IncreaseRepeatButton>
									<RepeatButton x:Name="PageUp" Style="{StaticResource RepeatButtonStyle}" Command="ScrollBar.PageDownCommand" />
								</Track.IncreaseRepeatButton>
								<Track.DecreaseRepeatButton>
									<RepeatButton x:Name="PageDown" Style="{StaticResource RepeatButtonStyle}" Command="ScrollBar.PageUpCommand" />
								</Track.DecreaseRepeatButton>
							</Track>

							<RepeatButton Grid.Row="2" x:Name="IncreaseRepeat" Style="{StaticResource VerticalRepeatButtonStyle}" Command="ScrollBar.LineDownCommand">
								<Grid>
									<Path x:Name="IncreaseArrow" Stroke="{TemplateBinding Foreground}" StrokeThickness="0" Data="M 0 0 L 4 4 L 8 0 Z" Fill="{StaticResource ScrollBarArrowFill}"/>
								</Grid>
							</RepeatButton>
						</Grid>

					</Border>

					<!-- This uses a single template for ScrollBar and rotate it to be Horizontal
					It also changes the commands so that the it does Left and Right instead of Up and Down Commands -->
					<ControlTemplate.Triggers>
						<Trigger Property="Orientation" Value="Horizontal">

							<!-- Rotate the ScrollBar from Vertical to Horizontal -->
							<Setter Property="LayoutTransform" TargetName="GridRoot">
								<Setter.Value>
									<TransformGroup>
										<ScaleTransform ScaleX="-1" ScaleY="1"/>
										<RotateTransform Angle="-90"/>
									</TransformGroup>
								</Setter.Value>
							</Setter>

							<!-- Track is bound to Orientation internally, so we need to rotate it back to Vertical -->
							<Setter TargetName="PART_Track" Property="Orientation" Value="Vertical"/>

							<!-- Change the commands to do Horizontal commands -->
							<Setter Property="Command" Value="ScrollBar.LineLeftCommand" TargetName="DecreaseRepeat"/>
							<Setter Property="Command" Value="ScrollBar.LineRightCommand" TargetName="IncreaseRepeat"/>
							<Setter Property="Command" Value="ScrollBar.PageLeftCommand" TargetName="PageDown"/>
							<Setter Property="Command" Value="ScrollBar.PageRightCommand" TargetName="PageUp"/>
							<Setter Property="Background" TargetName="border" Value="{StaticResource HorizontalScrollBarBackground}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<ControlTemplate x:Key="ScrollViewerTemplate" TargetType="ScrollViewer">
		<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="{TemplateBinding Background}">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="Auto" />
			</Grid.ColumnDefinitions>
			<Grid.RowDefinitions>
				<RowDefinition Height="*" />
				<RowDefinition Height="Auto" />
			</Grid.RowDefinitions>

			<ScrollContentPresenter Grid.Column="0" Grid.Row="0" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" CanContentScroll="{TemplateBinding CanContentScroll}"/>
			<Border Grid.Column="1" Grid.Row="1" Background="{StaticResource ScrollBarBackground}"
									BorderThickness="0 0 1 0" BorderBrush="#9d9fa6"/>
			<ScrollBar Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Grid.Column="1" Grid.Row="0" x:Name="PART_VerticalScrollBar" Style="{StaticResource VerticalScrollBarStyle}" Orientation="Vertical" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Minimum="0" Maximum="{TemplateBinding ScrollableHeight}" Background="{StaticResource VerticalScrollBarBackground}" />
			<ScrollBar Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Grid.Column="0" Grid.Row="1" x:Name="PART_HorizontalScrollBar" Style="{StaticResource VerticalScrollBarStyle}" Orientation="Horizontal" Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}" Minimum="0" Maximum="{TemplateBinding ScrollableWidth}" Background="{StaticResource VerticalScrollBarBackground}" />
		</Grid>
	</ControlTemplate>

	<Style x:Key="System.Windows.Controls.ScrollViewer" TargetType="ScrollViewer">
		<Setter Property="Template" Value="{StaticResource ScrollViewerTemplate}" />
	</Style>
	<?WPF END?>
	

	<SolidColorBrush x:Key="DisabledForegroundBrush" Color="#33000000"></SolidColorBrush>
	<SolidColorBrush x:Key="Foreground_brush" Color="#FF000000" />
	
	<!-- backgrounds-->
	<SolidColorBrush x:Key="ContentBackgroundBrush" Color="#FFFFFFFF" />
	
	<SolidColorBrush x:Key="RadUpload_BackgroundBrush" Color="#FFDADBE4" />

	<SolidColorBrush x:Key="ProgresBackground" Color="#FFFFFFFF" />

	<SolidColorBrush x:Key="PopUpBackgroundBrush" Color="#FFFFFFFF" />

	<!-- calendar Clock Upload-->
	<SolidColorBrush x:Key="BorderOuterColor" Color="#FF9D9DB9" />


	<SolidColorBrush x:Key="BorderInnerBrushInput" Color="#FF9D9DB9" />

	<SolidColorBrush x:Key="BorderInnerBrush" Color="#FF9D9DB9" />

	<SolidColorBrush x:Key="BorderOuterBrush" Color="#FFFFFFFF"></SolidColorBrush>

	<SolidColorBrush x:Key="DisabledBrush" Color="#99FFFFFF"></SolidColorBrush>

	<SolidColorBrush x:Key="FocusBrush" Color="#ffbd69" />

	<SolidColorBrush x:Key="FocusBrushBlack" Color="#FF000000" />

	<LinearGradientBrush x:Key="HeaderBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFFFF" Offset="0"/>
		<GradientStop Color="#FFDADAE8" Offset="1"/>
		<GradientStop Color="#FFB3B9CC" Offset="0.51"/>
		<GradientStop Color="#FFDADCEB" Offset="0.5"/>
	</LinearGradientBrush>

	<SolidColorBrush x:Key="HeaderForegroundBrush" Color="#FF000000"></SolidColorBrush>

	<Color x:Key="HeaderElement_NormalColor1">#FFFFFFFF</Color>
	<Color x:Key="HeaderElement_NormalColor2">#FF5B5A5A</Color>

	<Color x:Key="HeaderElement_DisabledColor">#599199a4</Color>

	<SolidColorBrush x:Key="HeaderButton_NormalBrush"
			Color="{StaticResource HeaderElement_NormalColor2}"></SolidColorBrush>
	<SolidColorBrush x:Key="HeaderButton_OverBrush" Color="#FF9199a4"></SolidColorBrush>
	<SolidColorBrush x:Key="HeaderButton_DisabledBrush"
			Color="{StaticResource HeaderElement_DisabledColor}"></SolidColorBrush>
	<SolidColorBrush x:Key="HeaderButton_PressedBrush" Color="#FF9199a4"></SolidColorBrush>

	<Style TargetType="Button" x:Key="System.Windows.Controls.Button">
		<Setter Property="IsEnabled" Value="true" />
		<Setter Property="IsTabStop" Value="true" />
		<Setter Property="MinWidth" Value="5" />
		<Setter Property="MinHeight" Value="5" />
		<Setter Property="Margin" Value="0" />
		<Setter Property="HorizontalContentAlignment" Value="Center" />
		<Setter Property="VerticalContentAlignment" Value="Center" />
		<Setter Property="Cursor" Value="Arrow" />
		<Setter Property="Padding" Value="20 0 20 0" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="Button">
					<Grid>
						<?SILVERLIGHT BEGIN?>
						<vsm:VisualStateManager.VisualStateGroups>
							<vsm:VisualStateGroup x:Name="CommonStates">
								<vsm:VisualState x:Name="Normal" />
								<vsm:VisualState x:Name="MouseOver">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="outer"
												Storyboard.TargetProperty="BorderBrush" Duration="0">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
														<GradientStop Color="#FFDBCE99" Offset="0"/>
														<GradientStop Color="#FFCCC4AC" Offset="1"/>
														<GradientStop Color="#FFB89F73" Offset="0.5"/>
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="innerMost"
												Storyboard.TargetProperty="Background" Duration="0">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
														<GradientStop Color="#FFFFE391" Offset="1"/>
														<GradientStop Color="#FFFFFDEB" Offset="0"/>
														<GradientStop Color="#FFFFD563" Offset="0.43"/>
														<GradientStop Color="#FFFFEDB3" Offset="0.42"/>
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Pressed">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="outer"
												Storyboard.TargetProperty="BorderBrush" Duration="0">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
														<GradientStop Color="#FF8E8165" Offset="0"/>
														<GradientStop Color="#FFC6C0B2" Offset="1"/>
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="innerMost"
												Storyboard.TargetProperty="Background" Duration="0">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
														<GradientStop Color="#FFFCE79F" Offset="1"/>
														<GradientStop Color="#FFFDD3A8" Offset="0.07"/>
														<GradientStop Color="#FFF9932E" Offset="0.43"/>
														<GradientStop Color="#FFFAAD5F" Offset="0.42"/>
														<GradientStop Color="#FFB0987C" Offset="0"/>
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Disabled">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="outer"
												Storyboard.TargetProperty="BorderBrush" Duration="0">
											<DiscreteObjectKeyFrame KeyTime="0"  Value="#FF9EBFDB" />
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="innerMost"
												Storyboard.TargetProperty="Background" Duration="0">
											<DiscreteObjectKeyFrame KeyTime="0" Value="Transparent" />
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
							</vsm:VisualStateGroup>
							<vsm:VisualStateGroup x:Name="FocusStates">
								<vsm:VisualState x:Name="Focused">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="FocusVisual"
												Storyboard.TargetProperty="Visibility" Duration="0">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Unfocused" />
							</vsm:VisualStateGroup>
						</vsm:VisualStateManager.VisualStateGroups>
						<?SILVERLIGHT END?>
						<Border x:Name="outer" CornerRadius="2" BorderThickness="1"
								BorderBrush="#FFB1B1C4">

							<Border x:Name="innerMost" CornerRadius="1">
								<Border.Background>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FFDADAE8" Offset="1"/>
										<GradientStop Color="#FFFFFFFF" Offset="0"/>
										<GradientStop Color="#FFB3B9CC" Offset="0.51"/>
										<GradientStop Color="#FFDADCEB" Offset="0.5"/>
									</LinearGradientBrush>
								</Border.Background>
								<ContentPresenter VerticalAlignment="Center" x:Name="Content"
											HorizontalAlignment="Center"
											Content="{TemplateBinding Content}"
											ContentTemplate="{TemplateBinding ContentTemplate}"
											Margin="6,2" />
							</Border>

						</Border>
						<Rectangle Stroke="#FF83868a" StrokeThickness="1" Margin="0" RadiusX="2"
								RadiusY="2" Fill="Transparent" x:Name="FocusVisual"
								Visibility="Collapsed" />
					</Grid>
					<?WPF BEGIN?>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter TargetName="outer" Property="BorderBrush">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FFDBCE99" Offset="0"/>
										<GradientStop Color="#FFCCC4AC" Offset="1"/>
										<GradientStop Color="#FFB89F73" Offset="0.5"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter TargetName="innerMost" Property="Background">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FFFFE391" Offset="1"/>
										<GradientStop Color="#FFFFFDEB" Offset="0"/>
										<GradientStop Color="#FFFFD563" Offset="0.43"/>
										<GradientStop Color="#FFFFEDB3" Offset="0.42"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="outer" Property="BorderBrush">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FF8E8165" Offset="0"/>
										<GradientStop Color="#FFC6C0B2" Offset="1"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter TargetName="innerMost" Property="Background">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FFFCE79F" Offset="1"/>
										<GradientStop Color="#FFFDD3A8" Offset="0.07"/>
										<GradientStop Color="#FFF9932E" Offset="0.43"/>
										<GradientStop Color="#FFFAAD5F" Offset="0.42"/>
										<GradientStop Color="#FFB0987C" Offset="0"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>						
						</Trigger>
						<Trigger Property="IsEnabled" Value="True">
							<Setter TargetName="Content" Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="Content" Property="Opacity" Value="0.5" />
						</Trigger>
					</ControlTemplate.Triggers>
					<?WPF END?>
				
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!-- picker icon style -->
	<!--<mscorlib:String x:Key="PickerIconData">F1 M -2.54313e-006,-12L 1.33333,-12L 1.33333,-10.6667L 2.66667,-10.6667L 2.66667,-9.3334L 4,-9.3334L 4,-8.00001L 5.33333,-8.00001L 5.33333,-6.66667L 6.66667,-6.66667L 6.66667,-5.33334L 5.33333,-5.33334L 5.33333,-4.00001L 4,-4.00001L 4,-2.66673L 2.66667,-2.66673L 2.66667,-1.33341L 1.33333,-1.33341L 1.33333,0L -2.54313e-006,0L -2.54313e-006,-12 Z</mscorlib:String>-->

	<!-- Button State -->
	<SolidColorBrush x:Key="ExpandElement_NormalBrush" Color="#FF5B5A5A" />
	<SolidColorBrush x:Key="ExpandElement_OverBrush" Color="#FF5B5A5A" />
	<SolidColorBrush x:Key="ExpandElement_PressBrush" Color="#FF000000" />

	<LinearGradientBrush x:Key="ExpandButtonPressed_OuterBorder" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFC8B170" Offset="0" />
		<GradientStop Color="#FFC8B46C" Offset="1" />
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="ExpanderButtonPressed_Background" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFCE79F" Offset="1"/>
		<GradientStop Color="#FFFDD3A8" Offset="0.07"/>
		<GradientStop Color="#FFF9932E" Offset="0.43"/>
		<GradientStop Color="#FFFAAD5F" Offset="0.42"/>
	</LinearGradientBrush>


	<LinearGradientBrush x:Key="ExpanderButtonPressed_Border" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF7EFD7" Offset="0" />
		<GradientStop Color="#FFFEE38C" Offset="1" />
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="ExpanderButtonNormal_Background" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFDADAE8" Offset="1"/>
		<GradientStop Color="#FFFFFFFF" Offset="0"/>
		<GradientStop Color="#FFB3B9CC" Offset="0.51"/>
		<GradientStop Color="#FFDADCEB" Offset="0.5"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ExpanderButtonNormal_Border" Color="#FFB7B8B7" />

	<LinearGradientBrush x:Key="ExpanderButtonOver_Background" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFEFDF1" Offset="0" />
		<GradientStop Color="#FFFEE699" Offset="1" />
		<GradientStop Color="#FFFEEBAA" Offset="0.5" />
		<GradientStop Color="#FFFED560" Offset="0.51" />
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="ExpandButtonOver_OuterBorder" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF9DF9C" Offset="0" />
		<GradientStop Color="#FFEACC97" Offset="1" />
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ExpanderButtonOver_Border" Color="#B2FFFFFF"></SolidColorBrush>

	<!-- For TimePicker, DatePicker, ComboBox, ... -->
	<Style x:Key="PickerToggleButtonStyle" TargetType="ToggleButton">
		<Setter Property="IsTabStop" Value="False" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ToggleButton">
					<Grid>
						<?SILVERLIGHT BEGIN?>
						<vsm:VisualStateManager.VisualStateGroups>
							<vsm:VisualStateGroup x:Name="CommonStates">
								<vsm:VisualState x:Name="Normal" />
								<vsm:VisualState x:Name="MouseOver">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="Chrome"
												Storyboard.TargetProperty="BorderBrush">
											<DiscreteObjectKeyFrame KeyTime="0"
													Value="{StaticResource ExpandButtonOver_OuterBorder}" />
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="Path"
												Storyboard.TargetProperty="Fill">
											<DiscreteObjectKeyFrame KeyTime="0"
													Value="{StaticResource ExpandElement_OverBrush}" />
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="ChromeInner"
												Storyboard.TargetProperty="BorderBrush">
											<DiscreteObjectKeyFrame KeyTime="0"
													Value="{StaticResource ExpanderButtonOver_Border}" />
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="ChromeInner"
												Storyboard.TargetProperty="Background">
											<DiscreteObjectKeyFrame KeyTime="0"
													Value="{StaticResource ExpanderButtonOver_Background}" />
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Pressed">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="Chrome"
												Storyboard.TargetProperty="BorderBrush">
											<DiscreteObjectKeyFrame KeyTime="0"
													Value="{StaticResource ExpandButtonPressed_OuterBorder}" />
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="Path"
												Storyboard.TargetProperty="Fill">
											<DiscreteObjectKeyFrame KeyTime="0"
													Value="{StaticResource ExpandElement_PressBrush}" />
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="ChromeInner"
												Storyboard.TargetProperty="BorderBrush">
											<DiscreteObjectKeyFrame KeyTime="0"
													Value="{StaticResource ExpanderButtonPressed_Border}" />
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="ChromeInner"
												Storyboard.TargetProperty="Background">
											<DiscreteObjectKeyFrame KeyTime="0"
													Value="{StaticResource ExpanderButtonPressed_Background}" />
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>

								<vsm:VisualState x:Name="Disabled" />

								<vsm:VisualState x:Name="Checked">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="ChromeCheck"
												Storyboard.TargetProperty="Visibility">
											<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="Path"
												Storyboard.TargetProperty="Fill">
											<DiscreteObjectKeyFrame KeyTime="0"
													Value="{StaticResource ExpandElement_PressBrush}" />
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>

								<vsm:VisualState x:Name="Unhecked">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="ChromeCheck"
												Storyboard.TargetProperty="Visibility">
											<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
							</vsm:VisualStateGroup>
							<vsm:VisualStateGroup x:Name="FocusStates">
								<vsm:VisualState x:Name="Unfocused" />
								<vsm:VisualState x:Name="Focused" />
							</vsm:VisualStateGroup>
						</vsm:VisualStateManager.VisualStateGroups>
						<?SILVERLIGHT END?>
						<Border x:Name="Chrome"
								BorderBrush="{StaticResource ExpanderButtonNormal_Border}"
								BorderThickness="0">
							<Border x:Name="ChromeInner"
									BorderBrush="{StaticResource ExpanderButtonNormal_Background}"
									BorderThickness="1"
									Background="{StaticResource ExpanderButtonNormal_Background}" />
						</Border>

						<!-- checkin state-->
						<Border x:Name="ChromeCheck" Visibility="Collapsed"
								BorderBrush="{StaticResource ExpandButtonPressed_OuterBorder}"
								BorderThickness="0">
							<Border BorderBrush="{StaticResource ExpanderButtonPressed_Border}"
									BorderThickness="1"
									Background="{StaticResource ExpanderButtonPressed_Background}" />
						</Border>

						<Path x:Name="Path"
								Data="F1 M -2.54313e-006,-12L 1.33333,-12L 1.33333,-10.6667L 2.66667,-10.6667L 2.66667,-9.3334L 4,-9.3334L 4,-8.00001L 5.33333,-8.00001L 5.33333,-6.66667L 6.66667,-6.66667L 6.66667,-5.33334L 5.33333,-5.33334L 5.33333,-4.00001L 4,-4.00001L 4,-2.66673L 2.66667,-2.66673L 2.66667,-1.33341L 1.33333,-1.33341L 1.33333,0L -2.54313e-006,0L -2.54313e-006,-12 Z"
								Stretch="Fill" Width="5" Height="9"
								Fill="{StaticResource ExpandElement_NormalBrush}"
								HorizontalAlignment="Right" Margin="5,2,7,0"
								VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5">
							<Path.RenderTransform>
								<RotateTransform Angle="90" />
							</Path.RenderTransform>
						</Path>

						<ContentPresenter Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}" />

					</Grid>
					<?WPF BEGIN?>
					<ControlTemplate.Triggers>
						<!--<Trigger Property="IsKeyboardFocusWithin" Value="True">
							<Setter TargetName="InnerBorder" Property="BorderBrush"
									Value="{StaticResource FocusBrush}" />
						</Trigger>-->
						<Trigger Property="IsMouseOver" Value="true">
							<Setter TargetName="Chrome" Property="BorderBrush" 
													Value="{StaticResource ExpandButtonOver_OuterBorder}" />
							<Setter TargetName="Path" Property="Fill" 
													Value="{StaticResource ExpandElement_OverBrush}" />
							<Setter TargetName="ChromeInner" Property="BorderBrush" 
													Value="{StaticResource ExpanderButtonOver_Border}" />
							<Setter TargetName="ChromeInner" Property="Background" 
													Value="{StaticResource ExpanderButtonOver_Background}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="Chrome" Property="BorderBrush"
													Value="{StaticResource ExpandButtonPressed_OuterBorder}" />
							<Setter TargetName="Path" Property="Fill"
													Value="{StaticResource ExpandElement_PressBrush}" />
							<Setter TargetName="ChromeInner" Property="BorderBrush"
													Value="{StaticResource ExpanderButtonPressed_Border}" />
							<Setter TargetName="ChromeInner" Property="Background"
													Value="{StaticResource ExpanderButtonPressed_Background}" />
						</Trigger>
						<!--<Trigger Property="IsEnabled" Value="True">
							<Setter TargetName="DisabledVisual" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="DisabledVisual" Property="Visibility" Value="Visible" />
						</Trigger>-->
						<Trigger Property="IsChecked" Value="True">
							<Setter TargetName="ChromeCheck" Property="Visibility" Value="Visible" />
							<Setter TargetName="Path" Property="Fill"
													Value="{StaticResource ExpandElement_PressBrush}" />
						</Trigger>
					</ControlTemplate.Triggers>
					<?WPF END?>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<!-- Progress Bar and Slider - diverse color-->

	<LinearGradientBrush x:Key="DiverseBrush" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFFFF" Offset="0" />
		<GradientStop Color="#FFFDDF97" Offset="0.992" />
		<GradientStop Color="#FFF7DCAB" Offset="0.02" />
		<GradientStop Color="#FFFFDC9E" Offset="0.5" />
		<GradientStop Color="#FFFDBA64" Offset="0.51" />
	</LinearGradientBrush>

	<SolidColorBrush x:Key="DiverseBrush1" Color="#FFFDBA64" />

	<LinearGradientBrush x:Key="BorderOuterBrushProgres" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFFFF" Offset="0" />
		<GradientStop Color="#FFFDDF97" Offset="0.992" />
		<GradientStop Color="#FFF7DCAB" Offset="0.02" />
		<GradientStop Color="#FFFFDC9E" Offset="0.5" />
		<GradientStop Color="#FFFDBA64" Offset="0.51" />
	</LinearGradientBrush>

	<SolidColorBrush x:Key="Header2ForegroundBrush" Color="#FF000000" />
	<!--<LinearGradientBrush x:Key="TextBoxBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFE8E8E6" Offset="0"/>
		<GradientStop Color="#FFD8D8D8" Offset="1"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="TextBoxBackgroundOver" Color="#FFFFFFFF" />-->
	<SolidColorBrush x:Key="InputTextBoxBackground" Color="#FFFFFFFF" />
	<SolidColorBrush x:Key="InputTextBoxReadOnlyBackground" Color="#FFeef0f1" />

	<!-- style for TextBox -->
	<Style TargetType="TextBox" x:Key="InputTextBoxStyle">
		<Setter Property="AcceptsReturn" Value="False" />
		<Setter Property="BorderThickness" Value="0" />
		<Setter Property="Background" Value="Transparent" />
		<Setter Property="BorderBrush" Value="Transparent" />
		<Setter Property="Padding" Value="0" />
		<?WPF BEGIN?>
		<Setter Property="SnapsToDevicePixels" Value="True" />
		<Setter Property="OverridesDefaultStyle" Value="True" />
		<Setter Property="KeyboardNavigation.TabNavigation" Value="None" />
		<Setter Property="FocusVisualStyle" Value="{x:Null}" />
		<Setter Property="MinWidth" Value="60" />
		<Setter Property="MinHeight" Value="20" />
		<Setter Property="AllowDrop" Value="true" />
		<?WPF END?>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="TextBox">
					<Grid x:Name="RootElement">
						<?SILVERLIGHT BEGIN?>
						<vsm:VisualStateManager.VisualStateGroups>
							<vsm:VisualStateGroup x:Name="CommonStates">
								<vsm:VisualState x:Name="Normal" />
								<vsm:VisualState x:Name="MouseOver" />
								<vsm:VisualState x:Name="Disabled">
									<Storyboard>
										<DoubleAnimation
												Storyboard.TargetName="DisabledVisualElement"
												Storyboard.TargetProperty="Opacity" To=".7"
												Duration="0" />
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="ReadOnly">
									<Storyboard>
										<DoubleAnimation
												Storyboard.TargetName="ReadOnlyVisualElement"
												Storyboard.TargetProperty="Opacity" To="1"
												Duration="0" />
									</Storyboard>
								</vsm:VisualState>
							</vsm:VisualStateGroup>
							<vsm:VisualStateGroup x:Name="FocusStates">
								<vsm:VisualState x:Name="Focused" />
								<vsm:VisualState x:Name="Unfocused" />
							</vsm:VisualStateGroup>
						</vsm:VisualStateManager.VisualStateGroups>
						<Border x:Name="Border" Opacity="1"
								Cursor="IBeam"
								Background="Transparent"
								BorderBrush="{TemplateBinding BorderBrush}"
								BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="1">
							<Grid>
								<Border x:Name="ReadOnlyVisualElement" Opacity="0"
										Background="{StaticResource InputTextBoxReadOnlyBackground}" />

								<ScrollViewer x:Name="ContentElement"
										Padding="{TemplateBinding Padding}"
										Style="{StaticResource System.Windows.Controls.ScrollViewer}"
										BorderBrush="Transparent" BorderThickness="0"
										IsTabStop="False" 
										VerticalAlignment="{TemplateBinding VerticalContentAlignment}" 
										HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" />

							</Grid>
						</Border>
						<Border x:Name="DisabledVisualElement" IsHitTestVisible="False" Opacity="0"
								BorderThickness="{TemplateBinding BorderThickness}" />
						<?SILVERLIGHT END?>
						<?WPF BEGIN?>
						<Border x:Name="Border" Opacity="1"
								Cursor="IBeam"
								SnapsToDevicePixels="True"
								Background="Transparent"
								BorderBrush="{TemplateBinding BorderBrush}"
								BorderThickness="{TemplateBinding BorderThickness}">
							<ScrollViewer Margin="0" Background="Transparent"
										BorderThickness="0"
										Style="{StaticResource System.Windows.Controls.ScrollViewer}"
										x:Name="PART_ContentHost" 
										VerticalAlignment="{TemplateBinding VerticalContentAlignment}" 
										HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" />
						</Border>
						<?WPF END?>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!-- Separator -->
	<SolidColorBrush x:Key="SeparatorLine1" Color="#FFe2e0e3" />
	<SolidColorBrush x:Key="SeparatorLine2" Color="#7FFFFFFF" />

	<!-- CUSTOM BRUSHES -->

	<!-- RadSlider and Rad ProgresBar-->
	<LinearGradientBrush x:Key="RadSliderBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFC3C1C2" Offset="0" />
		<GradientStop Color="#FF44505A" Offset="1" />
		<GradientStop Color="#FFB4B4B4" Offset="0.328" />
		<GradientStop Color="#FF909090" Offset="0.377" />
	</LinearGradientBrush>
	<SolidColorBrush Color="#FF9D9DB9" x:Key="RadSliderBackground_tick"/>

	<SolidColorBrush x:Key="RadSliderHandleStroke" Color="#FF9D9DB9" />
	<LinearGradientBrush x:Key="RadSliderHandleStroke_Over" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFDBCE99" Offset="0"/>
		<GradientStop Color="#FFCCC4AC" Offset="1"/>
		<GradientStop Color="#FFB89F73" Offset="0.5"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadSliderHandleFill" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFFFF" Offset="0"/>
		<GradientStop Color="#FFDADAE8" Offset="1"/>
		<GradientStop Color="#FFDADCEB" Offset="0.5"/>
		<GradientStop Color="#FFB3B9CC" Offset="0.51"/>
	</LinearGradientBrush>
	
	<LinearGradientBrush x:Key="RadSliderHandleFill_Over" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFDF0" Offset="0.082" />
		<GradientStop Color="#CCFFFFFF" Offset="0.93" />
		<GradientStop Color="#FFFAC113" Offset="0.46" />
		<GradientStop Color="#FFFCC215" Offset="0.5" />
		<GradientStop Color="#FFFBCC43" Offset="0.44" />
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadSliderHandleFill_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF79529" Offset="0.082" />
		<GradientStop Color="#FFF9CDA7" Offset="0.93" />
		<GradientStop Color="#FFFB890D" Offset="0.46" />
		<GradientStop Color="#FFFDA74A" Offset="0.5" />
		<GradientStop Color="#FFFDB266" Offset="0.44" />
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadSliderHandlePathStroke" Color="#FFFFFFFF" />
	<SolidColorBrush x:Key="RadSliderHandlePathFill" Color="#FF5C646D" />

	<LinearGradientBrush x:Key="RadSliderTrackBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFB6BCCE" Offset="0.004"/>
		<GradientStop Color="#FFDEE2EC" Offset="1"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadSliderTrackBorder" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FF9D9DB9" Offset="0"/>
		<GradientStop Color="#FFC4C4D6" Offset="0.996"/>
	</LinearGradientBrush>

	<!-- Radcombobox-->
	<SolidColorBrush x:Key="RadComboboxPopupMouseOverBrush" Color="#FFFFE27B" />

	<!-- RadTreeView -->
	<Color x:Key="RadTreeView_LineColor">#FF747474</Color>

	<LinearGradientBrush x:Key="RadTreeView_DragContainerFormOuterBorder" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFDBA64" Offset="0.493"/>
		<GradientStop Color="#FFDCD09F" Offset="1"/>
		<GradientStop Color="#FFDCD09F" Offset="0"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadTreeView_DragContainerFormInnerBorder" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFFFF" Offset="0"/>
		<GradientStop Color="#FFFEF6B2" Offset="1"/>
	</LinearGradientBrush>

	<LinearGradientBrush EndPoint="0.5,1" x:Key="RadTreeView_DragContainerFormBackground" StartPoint="0.5,0">
		<GradientStop Color="#FFFFD9AA" Offset="0"/>
		<GradientStop Color="#FFFEE07A" Offset="1"/>
		<GradientStop Color="#FFFFBC6F" Offset="0.5"/>
		<GradientStop Color="#FFFFAB3F" Offset="0.5"/>
	</LinearGradientBrush>
	<LinearGradientBrush EndPoint="0.5,1" x:Key="RadTreeView_DragContainerFormInnerBackground" StartPoint="0.5,0">
		<GradientStop Color="#FFFFD9AA" Offset="0"/>
		<GradientStop Color="#FFFEE07A" Offset="1"/>
		<GradientStop Color="#FFFFBC6F" Offset="0.5"/>
		<GradientStop Color="#FFFFAB3F" Offset="0.5"/>
	</LinearGradientBrush>

	<SolidColorBrush Color="#FFFA8C3B" x:Key="DragBetweenItemsFeedback_BackgroundBrush" />

	<SolidColorBrush x:Key="RadTreeView_DragItemsCountBorderBrush" Color="#FFFFFFFF"></SolidColorBrush>
	<LinearGradientBrush x:Key="RadTreeView_DragItemsCountFillBrush" EndPoint="0.5,1"
			StartPoint="0.5,0">
		<GradientStop Color="#FF00AEFF" Offset="0" />
		<GradientStop Color="#FF002D8F" Offset="1" />
	</LinearGradientBrush>

	<SolidColorBrush x:Key="RadTreeView_DragItemsCountTextBrush" Color="#FFFFFFFF"></SolidColorBrush>

	<LinearGradientBrush x:Key="RadTreeView_DragTooltipFormFillBrush" EndPoint="0.5,0.034"
			StartPoint="0.5,0.966">
		<GradientStop Color="#FFE4E5F0" Offset="0" />
		<GradientStop Color="#FFFFFFFF" Offset="1" />
	</LinearGradientBrush>

	<!-- insert icon -->
	<SolidColorBrush x:Key="RadTreeView_InsertDragIcon1" Color="#FF9D9D9D"></SolidColorBrush>
	<LinearGradientBrush x:Key="RadTreeView_InsertDragIcon2" EndPoint="0,0.5" StartPoint="1,0.5">
		<GradientStop Color="#FFFA8C3B" Offset="1" />
		<GradientStop Color="#FFFA8C3B" Offset="0" />
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadTreeView_InsertDragStrokeIcon2" Color="#FFFFFFFF"></SolidColorBrush>

	<!-- RadTabControl -->
	<SolidColorBrush x:Key="RadTabControlHeaderBackground" Color="#FFDADBE4" />
	<SolidColorBrush x:Key="RadTabControl_Divider" Color="#f0f0f0" />
	<SolidColorBrush x:Key="RadTabControl_Divider1" Color="#8c8d92" />

	<LinearGradientBrush x:Key="RadTabBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF2F3F7" Offset="0"/>
		<GradientStop Color="#FFCFD2DA" Offset="1"/>
	</LinearGradientBrush>

	<SolidColorBrush x:Key="RadTabBackgroundBrush" Color="#FF8DB2E3" />
	<SolidColorBrush x:Key="RadTabControlNormalBorderBrush" Color="#FFA8A8C6" />
	
	<LinearGradientBrush x:Key="RadTabButtonNormalBackground" StartPoint="0,0" EndPoint="0,1">
		<LinearGradientBrush.GradientStops>
			<GradientStop Color="#F3F3F3" Offset="0" />
			<GradientStop Color="#EBEBEB" Offset="0.5" />
			<GradientStop Color="#DDDDDD" Offset="0.5" />
			<GradientStop Color="#CDCDCD" Offset="1" />
		</LinearGradientBrush.GradientStops>
	</LinearGradientBrush>
	
	<LinearGradientBrush x:Key="RadTabItemHotBackground" StartPoint="0,0" EndPoint="0,1">
		<LinearGradientBrush.GradientStops>
			<GradientStop Color="#EAF6FD" Offset="0.15" />
			<GradientStop Color="#D9F0FC" Offset=".5" />
			<GradientStop Color="#BEE6FD" Offset=".5" />
			<GradientStop Color="#A7D9F5" Offset="1" />
		</LinearGradientBrush.GradientStops>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadTabItemSelectedBackground" Color="#F9F9F9" />
	<SolidColorBrush x:Key="RadTabItemDisabledBackground" Color="#F4F4F4" />
	<SolidColorBrush x:Key="RadTabItemHotBorderBrush" Color="#3C7FB1" />
	<SolidColorBrush x:Key="RadTabItemDisabledBorderBrush" Color="#FFC9C7BA" />

	<!-- RadMenu -->
	<LinearGradientBrush x:Key="RadMenuHeaderBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF2F3F7" Offset="0"/>
		<GradientStop Color="#FFCFD2DA" Offset="1"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadMenuHeaderBorder" Color="#FF9D9DB9" />
	<LinearGradientBrush x:Key="RadMenuNormalBrush" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF3F4F6" Offset="0" />
		<GradientStop Color="#FFCED3D9" Offset="1" />
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadMenuSelectedBrush" Color="#019aff" />

	<SolidColorBrush x:Key="RadMenuPopUp" Color="#FFFFFFFF" />
	<SolidColorBrush x:Key="RadMenu_PopupBackgroundLeftCol" Color="#FFF4F4F7" />
	<LinearGradientBrush x:Key="RadMenuPopUpOuterBorder" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFEAEAEA" Offset="0" />
		<GradientStop Color="#FFC4C4C4" Offset="1" />
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadMenuTabBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFDDB73" Offset="1"/>
		<GradientStop Color="#FFFEF4CA" Offset="0"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadMenuTabBorder" Color="#FFFFBC6B" />

	<SolidColorBrush x:Key="RadMenuTabBorder_pressed" Color="#FFFA8C3B" />

	<LinearGradientBrush x:Key="RadMenuTabBackground_pressed" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFEB85D" Offset="1"/>
		<GradientStop Color="#FFFB933C" Offset="0"/>
	</LinearGradientBrush>



	<!-- styles for menu and tabcontrol -->
	
	<LinearGradientBrush x:Key="TabBorder_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFDBCE99" Offset="0"/>
		<GradientStop Color="#FFCCC4AC" Offset="1"/>
		<GradientStop Color="#FFB89F73" Offset="0.5"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="TabBackground_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFE391" Offset="1"/>
		<GradientStop Color="#FFFFFDEB" Offset="0"/>
		<GradientStop Color="#FFFFD563" Offset="0.43"/>
		<GradientStop Color="#FFFFEDB3" Offset="0.42"/>
	</LinearGradientBrush>


	<SolidColorBrush Color="#FFA8A8C6" x:Key="TabBorder_Select" />
	
	<LinearGradientBrush x:Key="TabBackground_Select" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFFFF" Offset="0"/>
		<GradientStop Color="#FFF2F3F7" Offset="1"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="NavigationMouseoverStroke" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFE8E0C2" Offset="0" />
		<GradientStop Color="#FFE6E2D0" Offset="1" />
	</LinearGradientBrush>
	
	<LinearGradientBrush x:Key="NavigationMouseoverFill" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFDFDF1" Offset="0" />
		<GradientStop Color="#FFFDEDBD" Offset="1" />
		<GradientStop Color="#FFFDF2CC" Offset="0.5" />
		<GradientStop Color="#FFFDE6A5" Offset="0.51" />
	</LinearGradientBrush>
	
	<LinearGradientBrush x:Key="NavigationSelectStroke" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFDBCF9C" Offset="0" />
		<GradientStop Color="#FFD8D1B3" Offset="1" />
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="NavigationSelectFill" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFEFDF1" Offset="0" />
		<GradientStop Color="#FFFEE699" Offset="1" />
		<GradientStop Color="#FFFEEBAA" Offset="0.5" />
		<GradientStop Color="#FFFED560" Offset="0.51" />
	</LinearGradientBrush>

	<!-- RadCube -->
	<RadialGradientBrush x:Key="RadCube_Side1Background">
		<GradientStop Color="#FDD82B" Offset="0.0" />
		<GradientStop Color="#E8B706" Offset="1.0" />
	</RadialGradientBrush>
	<RadialGradientBrush x:Key="RadCube_Side2Background">
		<GradientStop Color="#6ED4F1" Offset="0.0" />
		<GradientStop Color="#47B0D4" Offset="1.0" />
	</RadialGradientBrush>
	<RadialGradientBrush x:Key="RadCube_Side3Background">
		<GradientStop Color="#A6D83D" Offset="0.0" />
		<GradientStop Color="#80C30E" Offset="1.0" />
	</RadialGradientBrush>
	<RadialGradientBrush x:Key="RadCube_Side4Background">
		<GradientStop Color="#B87BE6" Offset="0.0" />
		<GradientStop Color="#9F54D8" Offset="1.0" />
	</RadialGradientBrush>
	<RadialGradientBrush x:Key="RadCube_Side5Background">
		<GradientStop Color="#EF7FCC" Offset="0.0" />
		<GradientStop Color="#E354B5" Offset="1.0" />
	</RadialGradientBrush>
	<RadialGradientBrush x:Key="RadCube_Side6Background">
		<GradientStop Color="#FCA03D" Offset="0.0" />
		<GradientStop Color="#DB7307" Offset="1.0" />
	</RadialGradientBrush>
	<SolidColorBrush x:Key="RadCube_SideMaskFill" Color="#000000" />

	<!-- Drag/Drop -->
	<SolidColorBrush x:Key="DragDrop_VisualCueBackground" Color="#66FEB85D" />
	<SolidColorBrush x:Key="DragDrop_VisualCueBorder" Color="#66FA8C3B" />
	<SolidColorBrush x:Key="DragDrop_VisualCueForeground" Color="#66FEB85D" />

	<!-- CALENDAR -->
	<LinearGradientBrush x:Key="RadCalendar_SubHeader" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF2F3F7" Offset="0"/>
		<GradientStop Color="#FFCFD2DA" Offset="1"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadCalendar_SubHeaderBorder" Color="#FF9D9DB9" />
	<SolidColorBrush x:Key="RadCalendar_RowBackground" Color="#FFF4F4F7" />
	<SolidColorBrush x:Key="RadCalendarButton_DayIsNotFromCurrentView" Color="#7F000000" />
	<SolidColorBrush x:Key="RadCalendarButton_TodayElementStroke" Color="#FF9D9DB9" />

	<SolidColorBrush x:Key="RadCalendarButton_TodayElementFill" Color="#FFFFFFFF" />
	<LinearGradientBrush x:Key="RadCalendarButton_DayElementFill" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFE391" Offset="1"/>
		<GradientStop Color="#FFFFFDEB" Offset="0"/>
		<GradientStop Color="#FFFFD563" Offset="0.43"/>
		<GradientStop Color="#FFFFEDB3" Offset="0.42"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadCalendarButton_DayElementStroke" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFDBCE99" Offset="0"/>
		<GradientStop Color="#FFCCC4AC" Offset="1"/>
		<GradientStop Color="#FFB89F73" Offset="0.5"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadCalendarButton_DayElementFillSelect" EndPoint="0.5,1"
			StartPoint="0.5,0">
		<GradientStop Color="#FFFFFFFF" Offset="0" />
		<GradientStop Color="#FFFEE07A" Offset="0.992" />
		<GradientStop Color="#FFFFD9AA" Offset="0.02" />
		<GradientStop Color="#FFFFBC6F" Offset="0.4" />
		<GradientStop Color="#FFFFAB3F" Offset="0.41" />
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadCalendarButton_DayElementStrokeSelect" Color="#FFED9211" />

	<SolidColorBrush x:Key="RadCalendarForegroundBrushSelect" Color="#000000" />

	<SolidColorBrush x:Key="RadCalendarBorderLine" Color="#FF9199a4" />

	<!-- PanelBar-->

	<LinearGradientBrush x:Key="RadPanelBar_TopItemBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF2F3F7" Offset="0"/>
		<GradientStop Color="#FFCFD2DA" Offset="1"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadPanelBar_TopItemBackgroundOver" EndPoint="0.5,1"
			StartPoint="0.5,0">
		<GradientStop Color="#FFFFFFFF" Offset="0" />
		<GradientStop Color="#FFFDDF97" Offset="0.992" />
		<GradientStop Color="#FFF7DCAB" Offset="0.02" />
		<GradientStop Color="#FFFFDC9E" Offset="0.5" />
		<GradientStop Color="#FFFDBA64" Offset="0.51" />
	</LinearGradientBrush>

	<SolidColorBrush x:Key="RadPanelBarItem_SelectedBackgroundBrush" Color="#2600BCFF" />
	<LinearGradientBrush x:Key="RadPanelBar_FocusVisual" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FF000000" Offset="0" />
		<GradientStop Color="#FF000000" Offset="1" />
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadPanelBar_BorderTop" Color="#FF9D9DB9" />

	<LinearGradientBrush x:Key="RadPanelBar_BorderTopOver" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF9DF9C" Offset="0" />
		<GradientStop Color="#FFEACC97" Offset="1" />
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadPanelBar_BorderMiddle" EndPoint="0,1">
		<GradientStop Color="#FFFFFFFF" Offset="0" />
		<GradientStop Color="#FFf2f2f2" Offset="1" />
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadPanelBar_BorderMiddleOver" EndPoint="0,1">
		<GradientStop Color="#FFFFFFFF" Offset="0" />
		<GradientStop Color="#FFe4f3f8" Offset="1" />
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadPanelBar_MouseOverBorder" Color="#FFFFE27B" />
	<SolidColorBrush x:Key="RadPanelBar_SubMouseOver" Color="#FFFFE27B" />
	
	<SolidColorBrush x:Key="RadPanelBar_SelectBorder" Color="#FFFCC365" />
	<SolidColorBrush x:Key="RadPanelBar_SubSelect" Color="#FFFCC365" />

	<!-- Expander -->
	<SolidColorBrush x:Key="TransperantColor" Color="#00FFFFFF" />
	<SolidColorBrush x:Key="RadExpander_CircleStroke" Color="#FF9D9DB9" />
	<SolidColorBrush x:Key="RadExpander_ElementStroke" Color="#FF5B5A5A" />
	<SolidColorBrush x:Key="RadExpander_CircleStrokeOver" Color="#FFFEAE46" />
	<SolidColorBrush x:Key="RadExpander_ElementStrokeOver" Color="#FFF" />
	<SolidColorBrush x:Key="RadExpander_CircleStrokePressed" Color="#FFFEAE46" />
	<SolidColorBrush x:Key="RadExpander_ElementStrokePressed" Color="#FFF" />
	<LinearGradientBrush x:Key="RadExpander_ArrowFill" StartPoint="0,0" EndPoint="0,1">
		<GradientStop Color="#FFFFFFFF" Offset="0"/>
		<GradientStop Color="#FFDADAE8" Offset="1"/>
		<GradientStop Color="#FFDADCEB" Offset="0.5"/>
		<GradientStop Color="#FFB3B9CC" Offset="0.51"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadExpander_ArrowHoverFill" StartPoint="0,0" EndPoint="0,1">
		<GradientStop Color="#FFFFFFFF" Offset="0" />
		<GradientStop Color="#FFFFDC9E" Offset="0.5" />
		<GradientStop Color="#FFFDDF97" Offset="1" />
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadExpander_ArrowPressedFill" StartPoint="0,0" EndPoint="0,1">
		<GradientStop Color="#FFFFD9AA" Offset="0" />
		<GradientStop Color="#FFFFBC6F" Offset="0.5" />
		<GradientStop Color="#FFFEE07A" Offset="1" />
	</LinearGradientBrush>

	<!-- Window -->
	<SolidColorBrush Color="#FF9D9DB9" x:Key="RadWindow_OuterOuterBorder" />
	<SolidColorBrush Color="#FFFFFFFF" x:Key="RadWindow_OuterBorder" />
	<LinearGradientBrush x:Key="RadWindow_OuterBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFE1E3EA" Offset="0"/>
		<GradientStop Color="#FFCFD2DA" Offset="1"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadWindow_InnerBorder" Color="#FFFFFFFF" />
	<SolidColorBrush Color="#FF9D9DB9" x:Key="RadWindow_InnerMostBorder" />
	<SolidColorBrush x:Key="RadWindow_InnerBackground" Color="#FFFFFFFF" />

	<!-- RadColorPicker -->
	<SolidColorBrush x:Key="RadColorPicker_Background" Color="#FFFFFFFF" />
	<SolidColorBrush x:Key="RadColorPicker_Border" Color="#FF9D9DB9" />
	<SolidColorBrush x:Key="RadColorPicker_Foreground" Color="#FF000000" />
	<LinearGradientBrush x:Key="RadColorPicker_OverBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFDDB73" Offset="1" />
		<GradientStop Color="#FFFEF4CA" Offset="0" />
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadColorPicker_OverBorder" Color="#FFFFBC6B" />
	<LinearGradientBrush x:Key="RadColorPicker_PressedBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFEB85D" Offset="1" />
		<GradientStop Color="#FFFB933C" Offset="0" />
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadColorPicker_PressedBorder" Color="#FFFA8C3B" />
	<SolidColorBrush x:Key="RadColorPicker_HeaderButtonBackground" Color="#FFE3E8F3" />
	<SolidColorBrush x:Key="RadColorPicker_HeaderButtonBorder" Color="#FF9D9DB9" />
	<LinearGradientBrush x:Key="RadColorPicker_HeaderButtonOuterOverBorder" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFC5AD80" Offset="0.5" />
		<GradientStop Color="#FFDCD09F" Offset="1" />
		<GradientStop Color="#FFDCD09F" Offset="0" />
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadColorPicker_HeaderButtonInnerOverBorder" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFFFF" Offset="0" />
		<GradientStop Color="#FFFEF6B2" Offset="1" />
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadColorPicker_HeaderButtonInnerOverBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFFFA" Offset="0" />
		<GradientStop Color="#FFFFEBA5" Offset="0.5" />
		<GradientStop Color="#FFFFD565" Offset="0.51" />
		<GradientStop Color="#FFFFE592" Offset="0.9887640449438202" />
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadColorPicker_HeaderButtonOuterColorStroke" Color="#FFF4A148" />
	<SolidColorBrush x:Key="RadColorPicker_HeaderButtonColorFill" Color="#FF000000" />
	<SolidColorBrush x:Key="RadColorPicker_HeaderButtonColorStroke" Color="#FFE0DDD8" />

	<!-- RadEditor-->
	<SolidColorBrush x:Key="RadEditor_Background" Color="#FFDADBE4" />
	<SolidColorBrush x:Key="RadEditor_Border" Color="#FF9D9DB9" />

	<!-- RadToolBar-->
	<LinearGradientBrush x:Key="RadToolBar_InnerBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFFFF" Offset="0"/>
		<GradientStop Color="#FFDADAE8" Offset="1"/>
		<GradientStop Color="#FFB3B9CC" Offset="0.43"/>
		<GradientStop Color="#FFDADCEB" Offset="0.42"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadToolBar_InnerBackgroundV" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFFFFFFF" Offset="0"/>
		<GradientStop Color="#FFDADAE8" Offset="1"/>
		<GradientStop Color="#FFB3B9CC" Offset="0.43"/>
		<GradientStop Color="#FFDADCEB" Offset="0.42"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadToolBar_BtnOverbackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFDDB73" Offset="1" />
		<GradientStop Color="#FFFEF4CA" Offset="0" />
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadToolBar_BtnOverborder" Color="#FFFFBC6B" />

	<LinearGradientBrush x:Key="RadToolBar_BtnPressedbackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFEB85D" Offset="1" />
		<GradientStop Color="#FFFB933C" Offset="0" />
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadToolBar_BtnPressedborder" Color="#FFFA8C3B" />

	<SolidColorBrush x:Key="OverflowBorderInnerBrush" Color="#FF9199A4" />
	<SolidColorBrush x:Key="OverflowContentBackgroundBrush" Color="#FFF6F6F6" />

	<LinearGradientBrush x:Key="RadToolBar_ToggleButton_normalBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFB8B8CC" Offset="0"/>
		<GradientStop Color="#FFB8B8CC" Offset="1"/>
		<GradientStop Color="#FF9D9DB9" Offset="0.5"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadToolBar_ToggleButton_normalBackgroundV" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFB8B8CC" Offset="0"/>
		<GradientStop Color="#FFB8B8CC" Offset="1"/>
		<GradientStop Color="#FF9D9DB9" Offset="0.5"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadToolBar_ToggleButton_OverBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFF8CE" Offset="0.021276595744680851" />
		<GradientStop Color="#FFFFC275" Offset="1" />
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadToolBar_ToggleButton_OverBackgroundV" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFFFF8CE" Offset="0.021276595744680851" />
		<GradientStop Color="#FFFFC275" Offset="1" />
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadToolBar_ToggleButton_PressedBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFE9753" Offset="0.014528880606084134" />
		<GradientStop Color="#FFFFD995" Offset="1" />
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadToolBar_ToggleButton_PressedBackgroundV" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFFE9753" Offset="0.014528880606084134" />
		<GradientStop Color="#FFFFD995" Offset="1" />
	</LinearGradientBrush>


	<!--  DEFAULT THEMES STYLES CHECK, RADIOBUTTON, LISTBOX -->
	
	<!--  style for CheckBox -->
	<Style TargetType="CheckBox" x:Key="System.Windows.Controls.CheckBox">
		<Setter Property="Background" Value="#FFFFFFFF" />
		<Setter Property="Foreground" Value="#FF000000" />
		<Setter Property="HorizontalContentAlignment" Value="Left" />
		<Setter Property="VerticalContentAlignment" Value="Top" />
		<Setter Property="Padding" Value="4,1,0,0" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="BorderBrush" Value="#FF9D9DB9" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="CheckBox">
					<Grid>
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="16" />
							<ColumnDefinition Width="*" />
						</Grid.ColumnDefinitions>
						<?SILVERLIGHT BEGIN?>
						<vsm:VisualStateManager.VisualStateGroups>
							<vsm:VisualStateGroup x:Name="CommonStates">
								<vsm:VisualState x:Name="Normal" />
								<vsm:VisualState x:Name="MouseOver">
									<Storyboard>
										<ColorAnimation Storyboard.TargetName="BoxMiddle"
												Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)"
												Duration="0" To="#FFFCE5AF" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle"
												Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)"
												Duration="0" To="#FFFEFEFE" />
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="BoxMiddle"
												Storyboard.TargetProperty="Stroke">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.854,0.854"
															StartPoint="0.146,0.146">
														<GradientStop Color="#FFFBD582" Offset="0" />
														<GradientStop Color="#FFFBEDD1" Offset="1" />
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Pressed">
									<Storyboard>
										<ColorAnimation Storyboard.TargetName="BoxMiddle"
												Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)"
												Duration="0" To="#FFF9D05D" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle"
												Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)"
												Duration="0" To="#FFFCF4D6" />
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="BoxMiddle"
												Storyboard.TargetProperty="Stroke">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.854,0.854"
															StartPoint="0.146,0.146">
														<GradientStop Color="#FFFC951A" Offset="0" />
														<GradientStop Color="#FFFAD3B4" Offset="1" />
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Disabled">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="contentPresenter"
												Storyboard.TargetProperty="(UIElement.Opacity)"
												Duration="0" To=".55" />
										<DoubleAnimation
												Storyboard.TargetName="DisabledVisualElement"
												Storyboard.TargetProperty="(UIElement.Opacity)"
												Duration="0" To="0.55" />
									</Storyboard>
								</vsm:VisualState>
							</vsm:VisualStateGroup>
							<vsm:VisualStateGroup x:Name="CheckStates">
								<vsm:VisualState x:Name="Checked">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="CheckIcon"
												Storyboard.TargetProperty="(UIElement.Opacity)"
												Duration="0" To="1" />
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Unchecked" />
								<vsm:VisualState x:Name="Indeterminate">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="IndeterminateIcon"
												Storyboard.TargetProperty="(UIElement.Opacity)"
												Duration="0" To="1" />
									</Storyboard>
								</vsm:VisualState>
							</vsm:VisualStateGroup>
							<vsm:VisualStateGroup x:Name="FocusStates">
								<vsm:VisualState x:Name="Focused">
									<Storyboard>
										<DoubleAnimation
												Storyboard.TargetName="ContentFocusVisualElement"
												Storyboard.TargetProperty="Opacity" Duration="0"
												To="1" />
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Unfocused" />
							</vsm:VisualStateGroup>
						</vsm:VisualStateManager.VisualStateGroups>
						<?SILVERLIGHT END?>
						<Grid HorizontalAlignment="Left" VerticalAlignment="Top">
							<Rectangle x:Name="Background" Width="14" Height="14" RadiusX="0"
									RadiusY="0" Stroke="{TemplateBinding BorderBrush}"
									StrokeThickness="{TemplateBinding BorderThickness}"
									Fill="{TemplateBinding Background}" Margin="1" />
							<Rectangle x:Name="BoxMiddle" Width="10" Height="10" RadiusX="0"
									RadiusY="0" StrokeThickness="1">
								<Rectangle.Stroke>
									<LinearGradientBrush EndPoint="0.854,0.854"
											StartPoint="0.146,0.146">
										<GradientStop Color="#FF9B9B9B" Offset="0" />
										<GradientStop Color="#FFE6E6E8" Offset="1" />
									</LinearGradientBrush>
								</Rectangle.Stroke>
								<Rectangle.Fill>
									<LinearGradientBrush EndPoint="0.854,0.854"
											StartPoint="0.146,0.146">
										<GradientStop Color="#FFBABFC6" Offset="0" />
										<GradientStop Color="#FFFFFFFF" Offset="1" />
									</LinearGradientBrush>
								</Rectangle.Fill>
							</Rectangle>
							<Rectangle x:Name="BoxMiddleLine" Width="10" Height="10" RadiusX="0"
									RadiusY="0" Stroke="{TemplateBinding BorderBrush}"
									StrokeThickness="1" Opacity=".2" />

							<Path x:Name="CheckIcon" Margin="0,1,0,1.5" Stretch="Fill" Opacity="0"
									Width="9" Height="8" Stroke="#FF323233" StrokeThickness="2"
									Data="M32.192282,77.371554 L34.688632,80.304322 38.863374,72.720928" />
							<Rectangle x:Name="IndeterminateIcon" Height="2" Fill="#FF323233"
									Opacity="0" Width="6" />
							<Rectangle x:Name="DisabledVisualElement" RadiusX="0" RadiusY="0"
									Width="14" Height="14" Opacity="0" Fill="#FFFFFFFF" />
							<Rectangle x:Name="ContentFocusVisualElement" RadiusX="0" RadiusY="0"
									Stroke="#FF6DBDD1" StrokeThickness="0" Opacity="0"
									IsHitTestVisible="false" Width="16" Height="16" />
						</Grid>
						<ContentPresenter Grid.Column="1" x:Name="contentPresenter"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
								Margin="{TemplateBinding Padding}" />
					</Grid>

					<?WPF BEGIN?>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="CheckBoxMouseOverStoryboard">
									<Storyboard>
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FFFCE5AF"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FFFEFEFE"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" />
										<ObjectAnimationUsingKeyFrames
											Storyboard.TargetName="BoxMiddle" Storyboard.TargetProperty="Stroke">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.854,0.854" StartPoint="0.146,0.146">
														<GradientStop Color="#FFFBD582" Offset="0" />
														<GradientStop Color="#FFFBEDD1" Offset="1" />
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</BeginStoryboard>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<StopStoryboard BeginStoryboardName="CheckBoxMouseOverStoryboard" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="CheckBoxIsPressedStoryboard">
									<Storyboard>
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FFF9D05D"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FFFCF4D6"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" />
										<ObjectAnimationUsingKeyFrames
											Storyboard.TargetName="BoxMiddle" Storyboard.TargetProperty="Stroke">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.854,0.854" StartPoint="0.146,0.146">
														<GradientStop Color="#FFFC951A" Offset="0" />
														<GradientStop Color="#FFFAD3B4" Offset="1" />
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</BeginStoryboard>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<StopStoryboard BeginStoryboardName="CheckBoxIsPressedStoryboard" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="contentPresenter" Property="Opacity" Value=".55" />
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value=".55" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="True">
							<Setter TargetName="contentPresenter" Property="Opacity" Value="1" />
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="0" />
						</Trigger>
						<Trigger Property="IsChecked" Value="True">
							<Setter TargetName="CheckIcon" Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsChecked" Value="False">
							<Setter TargetName="CheckIcon" Property="Opacity" Value="0" />
						</Trigger>
						<Trigger Property="IsChecked" Value="{x:Null}">
							<Setter TargetName="IndeterminateIcon" Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsFocused" Value="True">
							<Setter TargetName="ContentFocusVisualElement" Property="Opacity" Value="1" />
						</Trigger>
					</ControlTemplate.Triggers>
					<?WPF END?>

				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!-- style for RadioButton -->
	<Style TargetType="RadioButton" x:Key="System.Windows.Controls.RadioButton">
		<Setter Property="Background" Value="#FFFFFFFF" />
		<Setter Property="Foreground" Value="#FF000000" />
		<Setter Property="HorizontalContentAlignment" Value="Left" />
		<Setter Property="VerticalContentAlignment" Value="Top" />
		<Setter Property="Padding" Value="4,1,0,0" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="BorderBrush" Value="#FF9D9DB9" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="RadioButton">
					<Grid>
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="16" />
							<ColumnDefinition Width="*" />
						</Grid.ColumnDefinitions>
						<?SILVERLIGHT BEGIN?>
						<vsm:VisualStateManager.VisualStateGroups>
							<vsm:VisualStateGroup x:Name="CommonStates">
								<vsm:VisualState x:Name="Normal" />
								<vsm:VisualState x:Name="MouseOver">
									<Storyboard>
										<ColorAnimation Storyboard.TargetName="BoxMiddle"
												Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)"
												Duration="0" To="#FFFCE5AF" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle"
												Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)"
												Duration="0" To="#FFFEFEFE" />
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="BoxMiddle"
												Storyboard.TargetProperty="Stroke">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.854,0.854"
															StartPoint="0.146,0.146">
														<GradientStop Color="#FFFBD582" Offset="0" />
														<GradientStop Color="#FFFBEDD1" Offset="1" />
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Pressed">
									<Storyboard>
										<ColorAnimation Storyboard.TargetName="BoxMiddle"
												Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)"
												Duration="0" To="#FFF9D05D" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle"
												Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)"
												Duration="0" To="#FFFCF4D6" />
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="BoxMiddle"
												Storyboard.TargetProperty="Stroke">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.854,0.854"
															StartPoint="0.146,0.146">
														<GradientStop Color="#FFFC951A" Offset="0" />
														<GradientStop Color="#FFFAD3B4" Offset="1" />
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Disabled">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="contentPresenter"
												Storyboard.TargetProperty="(UIElement.Opacity)"
												Duration="0" To=".55" />
										<DoubleAnimation
												Storyboard.TargetName="DisabledVisualElement"
												Storyboard.TargetProperty="(UIElement.Opacity)"
												Duration="0" To="0.55" />
									</Storyboard>
								</vsm:VisualState>
							</vsm:VisualStateGroup>
							<vsm:VisualStateGroup x:Name="CheckStates">
								<vsm:VisualState x:Name="Checked">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="CheckIcon"
												Storyboard.TargetProperty="(UIElement.Opacity)"
												Duration="0" To="1" />
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Unchecked" />
							</vsm:VisualStateGroup>
							<vsm:VisualStateGroup x:Name="FocusStates">
								<vsm:VisualState x:Name="Focused">
									<Storyboard>
										<DoubleAnimation
												Storyboard.TargetName="ContentFocusVisualElement"
												Storyboard.TargetProperty="Opacity" Duration="0"
												To="1" />
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Unfocused" />
							</vsm:VisualStateGroup>
						</vsm:VisualStateManager.VisualStateGroups>
						<?SILVERLIGHT END?>
						<Grid HorizontalAlignment="Left" VerticalAlignment="Top">
							<Ellipse x:Name="Background" Width="14" Height="14"
									Stroke="{TemplateBinding BorderBrush}"
									StrokeThickness="{TemplateBinding BorderThickness}"
									Fill="{TemplateBinding Background}" Margin="1" />
							<Ellipse x:Name="BoxMiddle" Width="10" Height="10" StrokeThickness="1">
								<Ellipse.Fill>
									<LinearGradientBrush EndPoint="0.854,0.854"
											StartPoint="0.146,0.146">
										<GradientStop Color="#FFBABFC6" Offset="0" />
										<GradientStop Color="#FFFFFFFF" Offset="1" />
									</LinearGradientBrush>
								</Ellipse.Fill>
								<Ellipse.Stroke>
									<LinearGradientBrush EndPoint="0.854,0.854"
											StartPoint="0.146,0.146">
										<GradientStop Color="#FF9B9B9B" Offset="0" />
										<GradientStop Color="#FFE6E6E8" Offset="1" />
									</LinearGradientBrush>
								</Ellipse.Stroke>
							</Ellipse>
							<Ellipse x:Name="CheckIcon" VerticalAlignment="Center"
									HorizontalAlignment="Center" Stroke="#FF323233" Width="8"
									Height="8" Opacity="0" StrokeThickness="1">
								<Ellipse.Fill>
									<RadialGradientBrush GradientOrigin="0.323,0.315">
										<RadialGradientBrush.RelativeTransform>
											<TransformGroup>
												<ScaleTransform CenterX="0.5" CenterY="0.5"
														ScaleX="0.834" ScaleY="0.834" />
												<SkewTransform AngleX="0" AngleY="0" CenterX="0.5"
														CenterY="0.5" />
												<RotateTransform Angle="0" CenterX="0.5"
														CenterY="0.5" />
												<TranslateTransform X="0" Y="0" />
											</TransformGroup>
										</RadialGradientBrush.RelativeTransform>
										<GradientStop Color="#FFFCF4D6" Offset="0" />
										<GradientStop Color="#FFFC951A" Offset="0.91239610096801138" />
									</RadialGradientBrush>
								</Ellipse.Fill>
							</Ellipse>
							<Ellipse x:Name="DisabledVisualElement" Width="14" Height="14"
									Opacity="0" Fill="#FFFFFFFF" />
							<Ellipse x:Name="ContentFocusVisualElement" Stroke="#00323233"
									StrokeThickness="1" Opacity="0" IsHitTestVisible="false"
									Width="14" Height="14" />
						</Grid>
						<ContentPresenter Grid.Column="1" x:Name="contentPresenter"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
								Margin="{TemplateBinding Padding}" />
					</Grid>
					<?WPF BEGIN?>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="CheckBoxMouseOverStoryboard">
									<Storyboard>
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FFFCE5AF"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FFFEFEFE"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" />
										<ObjectAnimationUsingKeyFrames
											Storyboard.TargetName="BoxMiddle" Storyboard.TargetProperty="Stroke">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.854,0.854" StartPoint="0.146,0.146">
														<GradientStop Color="#FFFBD582" Offset="0" />
														<GradientStop Color="#FFFBEDD1" Offset="1" />
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</BeginStoryboard>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<StopStoryboard BeginStoryboardName="CheckBoxMouseOverStoryboard" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="CheckBoxIsPressedStoryboard">
									<Storyboard>
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FFF9D05D"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FFFCF4D6"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" />
										<ObjectAnimationUsingKeyFrames
											Storyboard.TargetName="BoxMiddle" Storyboard.TargetProperty="Stroke">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.854,0.854" StartPoint="0.146,0.146">
														<GradientStop Color="#FFFC951A" Offset="0" />
														<GradientStop Color="#FFFAD3B4" Offset="1" />
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</BeginStoryboard>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<StopStoryboard BeginStoryboardName="CheckBoxIsPressedStoryboard" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="contentPresenter" Property="Opacity" Value=".55" />
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value=".55" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="True">
							<Setter TargetName="contentPresenter" Property="Opacity" Value="1" />
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="0" />
						</Trigger>
						<Trigger Property="IsChecked" Value="True">
							<Setter TargetName="CheckIcon" Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsChecked" Value="False">
							<Setter TargetName="CheckIcon" Property="Opacity" Value="0" />
						</Trigger>
						<Trigger Property="IsFocused" Value="True">
							<Setter TargetName="ContentFocusVisualElement" Property="Opacity" Value="1" />
						</Trigger>
					</ControlTemplate.Triggers>
					<?WPF END?>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!-- style for ListBox -->
	<Style x:Key="System.Windows.Controls.ListBox" TargetType="ListBox">
		<Setter Property="Padding" Value="1" />
		<Setter Property="Background" Value="#FFFFFFFF" />
		<Setter Property="Foreground" Value="#FF000000" />
		<Setter Property="HorizontalContentAlignment" Value="Left" />
		<Setter Property="VerticalContentAlignment" Value="Top" />
		<Setter Property="IsTabStop" Value="False" />
		<Setter Property="BorderThickness" Value="1" />
		<?SILVERLIGHT BEGIN?>
		<Setter Property="TabNavigation" Value="Once" />
		<?SILVERLIGHT END?>
		<Setter Property="BorderBrush" Value="#b2b6b8" />

		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ListBox">
					<Border Padding="0 0 1 1" BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}">
						<ScrollViewer x:Name="ScrollViewer"
								Style="{StaticResource System.Windows.Controls.ScrollViewer}"
								Padding="{TemplateBinding Padding}"
								Background="{TemplateBinding Background}" BorderBrush="Transparent"
								BorderThickness="0">
							<ItemsPresenter />
						</ScrollViewer>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!-- style for ListBoxItem -->
	<Style TargetType="ListBoxItem" x:Key="System.Windows.Controls.ListBoxItem">
		<Setter Property="Padding" Value="3" />
		<Setter Property="HorizontalContentAlignment" Value="Left" />
		<Setter Property="VerticalContentAlignment" Value="Top" />
		<Setter Property="Background" Value="Transparent" />
		<Setter Property="BorderThickness" Value="1" />
		<?SILVERLIGHT BEGIN?>
		<Setter Property="TabNavigation" Value="Local" />
		<?SILVERLIGHT END?>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ListBoxItem">
					<Grid Background="{TemplateBinding Background}">
						<?SILVERLIGHT BEGIN?>
						<vsm:VisualStateManager.VisualStateGroups>
							<vsm:VisualStateGroup x:Name="CommonStates">
								<vsm:VisualState x:Name="Normal" />
								<vsm:VisualState x:Name="MouseOver">

								</vsm:VisualState>
								<vsm:VisualState x:Name="Disabled">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="contentPresenter"
												Storyboard.TargetProperty="Opacity" Duration="0"
												To=".55" />
									</Storyboard>
								</vsm:VisualState>
							</vsm:VisualStateGroup>
							<vsm:VisualStateGroup x:Name="SelectionStates">
								<vsm:VisualState x:Name="Unselected" />
								<vsm:VisualState x:Name="Selected">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="fillColor"
												Storyboard.TargetProperty="Opacity" Duration="0"
												To=".75" />
									</Storyboard>
								</vsm:VisualState>
							</vsm:VisualStateGroup>
							<vsm:VisualStateGroup x:Name="FocusStates">
								<vsm:VisualState x:Name="Focused">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames
												Storyboard.TargetName="FocusVisualElement"
												Storyboard.TargetProperty="Visibility" Duration="0">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Unfocused" />
							</vsm:VisualStateGroup>
						</vsm:VisualStateManager.VisualStateGroups>
						<?SILVERLIGHT END?>
						<Rectangle x:Name="fillColor" Opacity="0" Fill="#3399ff"
								IsHitTestVisible="False" />
						<ContentPresenter x:Name="contentPresenter"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								HorizontalAlignment="Left" Margin="{TemplateBinding Padding}" />
						<Rectangle x:Name="FocusVisualElement" Stroke="#FF000000"
								StrokeDashArray="1 2" StrokeThickness="1" Visibility="Collapsed" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!-- style for TextBox -->
	<Style x:Key="System.Windows.Controls.TextBox" TargetType="TextBox">
		<Setter Property="Foreground" Value="Black" />
		<Setter Property="FontStyle" Value="Normal" />
		<Setter Property="FontWeight" Value="Normal" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="BorderBrush" Value="{StaticResource BorderOuterBrush}" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="HorizontalContentAlignment" Value="Left" />
		<Setter Property="VerticalContentAlignment" Value="Top" />
		<Setter Property="Padding" Value="0" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="TextBox">
					<Grid x:Name="RootElement">
						<?SILVERLIGHT BEGIN?>
						<vsm:VisualStateManager.VisualStateGroups>
							<vsm:VisualStateGroup x:Name="CommonStates">
								<vsm:VisualState x:Name="Normal" />
								<vsm:VisualState x:Name="MouseOver">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames
                                                    Storyboard.TargetName="InnerBorder"
                                                    Storyboard.TargetProperty="BorderBrush">
											<DiscreteObjectKeyFrame KeyTime="0"
                                                        Value="{StaticResource FocusBrush}" />
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Disabled">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="ReadOnly">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="ReadOnlyVisualElement" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
									</Storyboard>
								</vsm:VisualState>
							</vsm:VisualStateGroup>
							<vsm:VisualStateGroup x:Name="FocusStates">
								<vsm:VisualState x:Name="Focused">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames
                                                    Storyboard.TargetName="FocusVisualElement"
                                                    Storyboard.TargetProperty="BorderBrush">
											<DiscreteObjectKeyFrame KeyTime="0"
                                                        Value="{StaticResource FocusBrush}" />
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Unfocused">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity" To="0" Duration="0" />
									</Storyboard>
								</vsm:VisualState>
							</vsm:VisualStateGroup>
						</vsm:VisualStateManager.VisualStateGroups>
						<?SILVERLIGHT END?>
						<Border BorderBrush="{TemplateBinding BorderBrush}" x:Name="OuterBorder"
                                    BorderThickness="{TemplateBinding BorderThickness}" Cursor="IBeam">
							<Border BorderThickness="1"
                                    Background="{TemplateBinding Background}"
                                    Padding="{TemplateBinding Padding}"
                                    BorderBrush="{StaticResource BorderInnerBrushInput}" x:Name="InnerBorder" >
								<Grid>
									<Border x:Name="ReadOnlyVisualElement" Background="#72F7F7F7" Opacity="0" />

									<?SILVERLIGHT BEGIN?>
									<ScrollViewer x:Name="ContentElement"
									<?SILVERLIGHT END?>
										<?WPF BEGIN?>
										<ScrollViewer x:Name="PART_ContentHost"
									<?WPF END?>
											Padding="{TemplateBinding Padding}"
									Style="{StaticResource System.Windows.Controls.ScrollViewer}"
									BorderThickness="0" IsTabStop="False" 
									VerticalAlignment="{TemplateBinding VerticalContentAlignment}" 
									HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"/>
								</Grid>
							</Border>
						</Border>
						<Border x:Name="DisabledVisualElement" Background="#A5F7F7F7" BorderBrush="#A5F7F7F7" BorderThickness="{TemplateBinding BorderThickness}" Opacity="0" IsHitTestVisible="False" />
						<Border x:Name="FocusVisualElement" BorderBrush="#FF6DBDD1" BorderThickness="{TemplateBinding BorderThickness}" Margin="1" Opacity="0" IsHitTestVisible="False" />
					</Grid>
					<?WPF BEGIN?>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="InnerBorder" Property="BorderBrush"
									Value="{StaticResource FocusBrush}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="True">
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="0" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsReadOnly" Value="True">
							<Setter TargetName="ReadOnlyVisualElement" Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsReadOnly" Value="False">
							<Setter TargetName="ReadOnlyVisualElement" Property="Opacity" Value="0" />
						</Trigger>
						<Trigger Property="IsFocused" Value="True">
							<Setter TargetName="FocusVisualElement" Property="Opacity" Value="1.0" />
						</Trigger>
					</ControlTemplate.Triggers>
					<?WPF END?>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<?BODY END?>
</ResourceDictionary>