<?xml version="1.0" encoding="UTF-8"?>
<includes>

	<include name="MediaFlags">
		<include content="Flag_Checker">
			<param name="id" value="6303" />
			<param name="texture" value="$VAR[Studio_Flag]" />
		</include>
		<include content="Flag_Checker">
			<param name="id" value="6304" />
			<param name="texture" value="$VAR[MPAA_Flag]" />
		</include>
		<control type="grouplist">
			<visible>!$EXP[Container_Switching] + ![$EXP[Content_Switching] + !$EXP[ListView_IsVisible]] + !$EXP[TransparentDialog_IsVisible] + !$EXP[Scrollbar_HasFocus] + !Window.IsVisible(textviewer)</visible>
			<include content="Visible_Fade_Delayed_Animation" />
			<bottom>0</bottom>
			<right>0</right>
			<height>180</height>
			<orientation>horizontal</orientation>
			<align>right</align>
			<itemgap>0</itemgap>
			<include content="Flag_Icon">
				<animation effect="slide" start="0,0" end="-1560,0" time="0" condition="$EXP[StripView_Flags_Rating_IsVisible] + $EXP[StripView_Details_Title] + !$EXP[StripView_Logo_On] + !String.IsEqual(Control.GetLabel(6304),flags/blank.png)">Conditional</animation>
				<param name="visible" value="$EXP[ListView_Flags_Studio_IsVisible] | $EXP[BillboardView_Flags_Studio_IsVisible] | $EXP[ShowcaseView_Flags_Studio_IsVisible] | $EXP[StripView_Flags_Studio_IsVisible]" />
				<param name="id" value="6303" />
				<param name="texture" value="$VAR[Studio_Flag]" />
				<param name="colordiffuse" value="$VAR[Flag_Color]" />
			</include>
			<include content="Flag_Icon">
				<param name="visible" value="$EXP[ListView_Flags_Rating_IsVisible] | $EXP[BillboardView_Flags_Rating_IsVisible] | $EXP[ShowcaseView_Flags_Rating_IsVisible] | $EXP[StripView_Flags_Rating_IsVisible]" />
				<param name="id" value="6304" />
				<param name="texture" value="$VAR[MPAA_Flag]" />
				<param name="colordiffuse" value="$VAR[Flag_Color]" />
			</include>
		</control>
	</include>

	<include name="Progress">
		<param name="id" />
		<param name="width" default="360" />
		<param name="height" default="6" />
		<param name="bottom" default="27" />
		<definition>
			<control type="group">
				<nested />
				<centerleft>50%</centerleft>
				<bottom>$PARAM[bottom]</bottom>
				<width>$PARAM[width]</width>
				<height>$PARAM[height]</height>
				<include content="Progress_Bar">
					<param name="id" value="$PARAM[id]" />
					<param name="visible" value="Control.HasFocus($PARAM[id]) | $EXP[Music_Player_HasFocus]" />
				</include>
				<include content="Progress_Bar" condition="Skin.HasSetting(Secondary_List_Enabled) + Window.Is(videos)">
					<param name="id" value="3100" />
					<param name="visible" value="Control.HasFocus(3100)" />
				</include>
			</control>
		</definition>
	</include>

	<include name="Progress_Grid">
		<param name="id" />
		<param name="left" default="0" />
		<param name="width" default="360" />
		<param name="height" default="6" />
		<param name="bottom" default="12" />
		<param name="slides" default="Narrow" />
		<definition>
			<control type="group">
				<visible>!$EXP[Container_Switching] + !$EXP[Content_Switching] + !$EXP[TransparentDialog_IsVisible] + !$EXP[Scrollbar_HasFocus] + !$EXP[Music_Player_HasFocus]</visible>
				<include content="Visible_Fade_Delayed_Long_Animation" condition="Window.Is(videos)" />
				<include content="Visible_Fade_Delayed_Animation" condition="!Window.Is(videos)" />
				<left>$PARAM[left]</left>
				<bottom>$PARAM[bottom]</bottom>
				<width>$PARAM[width]</width>
				<height>$PARAM[height]</height>
				<include content="Progress_Bar">
					<param name="id" value="$PARAM[id]" />
					<param name="visible" value="Control.HasFocus($PARAM[id]) | $EXP[Music_Player_HasFocus]" />
					<param name="background_color" value="$VAR[Progress_Light_Background_Color]" />
					<param name="focus_color" value="$VAR[Progress_Light_Focused_Color]" />
					<param name="progress_indicator_background" value="$VAR[Accent_Color]" />
					<param name="progress_indicator_textcolor" value="$VAR[Progress_Grid_Text_Color]" />
					<param name="slides" value="$PARAM[slides]" />
				</include>
			</control>
		</definition>
	</include>

	<include name="Viewtype_Display_Template">
		<param name="visible" default="!$EXP[Container_Switching] + !$EXP[Options_Switching]" />
		<param name="viewtype_label" />
		<param name="media_view" default="false" />
		<definition>
			<control type="group">
				<visible>$EXP[$PARAM[viewtype_label]View_IsVisible] + $PARAM[visible]</visible>
				<include content="Visible_Fade_Animation" condition="$PARAM[media_view]" />
				<nested />
			</control>
		</definition>
	</include>

	<include name="Viewtype_Details_Template">
		<param name="visible" default="true" />
		<param name="viewtype_label" />
		<definition>
			<control type="group">
				<visible>$EXP[$PARAM[viewtype_label]View_IsVisible] + !$EXP[Container_Switching] + !$EXP[Content_Switching] + !$EXP[TransparentDialog_IsVisible] + !Window.IsVisible(pictureinfo) + !Window.IsVisible(textviewer) + !$EXP[Scrollbar_HasFocus] + !$EXP[Secondary_List_Taking_Focus] + !$EXP[Secondary_List_Container_Switching] + !$EXP[Secondary_List_Content_Switching]</visible>
				<visible>$PARAM[visible]</visible>
				<include content="Visible_Fade_Delayed_Animation" />
				<nested />
			</control>
		</definition>
	</include>

	<include name="Viewtype_Details_Including_Content_Switching_Template">
		<param name="visible" default="true" />
		<param name="viewtype_label" />
		<definition>
			<control type="group">
				<visible>$EXP[$PARAM[viewtype_label]View_IsVisible] + !$EXP[Container_Switching] + !$EXP[TransparentDialog_IsVisible] + !Window.IsVisible(pictureinfo) + !$EXP[Scrollbar_HasFocus]</visible>
				<visible>$PARAM[visible]</visible>
				<include content="Visible_Fade_Delayed_Animation" />
				<nested />
			</control>
		</definition>
	</include>

</includes>