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

	<include name="Home_Menu_Label_Focused">
		<param name="hidden_id" />
		<param name="position" />
		<param name="focused_top" default="0" />
		<param name="focused_height" default="100%" />
		<param name="focused_font" default="Main_Menu_Focused" />
		<param name="focused_color" default="$VAR[Common_List_Label_Color]" />
		<param name="unfocused_font" default="Main_Menu_Unfocused" />
		<param name="unfocused_color" default="$VAR[Common_List_Label_Color]" />
		<definition>
			<control type="label">
				<top>$PARAM[focused_top]</top>
				<height>$PARAM[focused_height]</height>
				<width>auto</width>
				<font>$PARAM[focused_font]</font>
				<textcolor>$PARAM[focused_color]</textcolor>
				<label>$INFO[Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label]</label>
				<visible>Control.HasFocus($PARAM[hidden_id]) + String.IsEqual(Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label, Container($PARAM[hidden_id]).ListItem.Label)</visible>
			</control>
			<control type="label">
				<top>$PARAM[unfocused_top]</top>
				<height>$PARAM[unfocused_height]</height>
				<width>auto</width>
				<font>$PARAM[unfocused_font]</font>
				<textcolor>$PARAM[unfocused_color]</textcolor>
				<label>$INFO[Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label]</label>
				<visible>!Control.HasFocus($PARAM[hidden_id]) + String.IsEqual(Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label, Container($PARAM[hidden_id]).ListItem.Label)</visible>
			</control>
		</definition>
	</include>

	<include name="Home_Menu_Label_Unfocused">
		<param name="font" default="Main_Menu_Unfocused" />
		<param name="color" default="$VAR[Primary_Color]" />
		<definition>
			<height>$PARAM[height]</height>
			<top>$PARAM[top]</top>
			<width>auto</width>
			<font>$PARAM[font]</font>
			<textcolor>$PARAM[color]</textcolor>
		</definition>
	</include>

	<include name="Home_Menu_Label_Unfocused_Content">
		<param name="hidden_id" />
		<param name="previous_position" />
		<param name="position" />
		<param name="next_position" />
		<param name="font" default="Main_Menu_Unfocused" />
		<param name="color" default="$VAR[Primary_Color]" />
		<definition>
			<control type="label">
				<description>position is not empty. previous_position is focused. next_position is empty. position is last in list</description>
				<visible>!String.IsEmpty(Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label)</visible>
				<visible>!String.IsEqual(Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label, Container($PARAM[hidden_id]).ListItem.Label)</visible>
				<visible>String.IsEqual(Container($PARAM[hidden_id]).ListItemPosition($PARAM[previous_position]).Label, Container($PARAM[hidden_id]).ListItem.Label)</visible>
				<visible>String.IsEmpty(Container($PARAM[hidden_id]).ListItemPosition($PARAM[next_position]).Label)</visible>
				<label>$VAR[Copacetic_Divider_Bold, , ]$INFO[Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label]</label>
				<include content="Home_Menu_Label_Unfocused">
					<param name="top" value="$PARAM[top]" />
					<param name="height" value="$PARAM[height]" />
					<param name="font" value="$PARAM[font]" />
					<param name="color" value="$PARAM[color]" />
				</include>
			</control>
			<control type="label">
				<description>previous_position is focused. next_position is not empty. position is not last in list</description>
				<visible>!String.IsEqual(Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label, Container($PARAM[hidden_id]).ListItem.Label)</visible>
				<visible>String.IsEqual(Container($PARAM[hidden_id]).ListItemPosition($PARAM[previous_position]).Label, Container($PARAM[hidden_id]).ListItem.Label)</visible>
				<visible>!String.IsEmpty(Container($PARAM[hidden_id]).ListItemPosition($PARAM[next_position]).Label)</visible>
				<label>$VAR[Copacetic_Divider_Bold, , ]$INFO[Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label]$VAR[Copacetic_Divider_Bold, , ]</label>
				<include content="Home_Menu_Label_Unfocused">
					<param name="top" value="$PARAM[top]" />
					<param name="height" value="$PARAM[height]" />
					<param name="font" value="$PARAM[font]" />
					<param name="color" value="$PARAM[color]" />
				</include>
			</control>
			<control type="label">
				<description>position is not empty. previous_position is not focused. position is not focused. next_position is empty. position is last in list</description>
				<visible>!String.IsEmpty(Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label)</visible>
				<visible>!String.IsEqual(Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label, Container($PARAM[hidden_id]).ListItem.Label)</visible>
				<visible>!String.IsEqual(Container($PARAM[hidden_id]).ListItemPosition($PARAM[previous_position]).Label, Container($PARAM[hidden_id]).ListItem.Label)</visible>
				<visible>String.IsEmpty(Container($PARAM[hidden_id]).ListItemPosition($PARAM[next_position]).Label)</visible>
				<label>$INFO[Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label]</label>
				<include content="Home_Menu_Label_Unfocused">
					<param name="top" value="$PARAM[top]" />
					<param name="height" value="$PARAM[height]" />
					<param name="font" value="$PARAM[font]" />
					<param name="color" value="$PARAM[color]" />
				</include>
			</control>
			<control type="label">
				<description>previous_position is not focused. position is not focused. next_position is not empty. position is not last in list</description>
				<visible>!String.IsEqual(Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label, Container($PARAM[hidden_id]).ListItem.Label)</visible>
				<visible>!String.IsEqual(Container($PARAM[hidden_id]).ListItemPosition($PARAM[previous_position]).Label, Container($PARAM[hidden_id]).ListItem.Label)</visible>
				<visible>!String.IsEmpty(Container($PARAM[hidden_id]).ListItemPosition($PARAM[next_position]).Label)</visible>
				<label>$INFO[Container($PARAM[hidden_id]).ListItemPosition($PARAM[position]).Label]$VAR[Copacetic_Divider_Bold, , ]</label>
				<include content="Home_Menu_Label_Unfocused">
					<param name="top" value="$PARAM[top]" />
					<param name="height" value="$PARAM[height]" />
					<param name="font" value="$PARAM[font]" />
					<param name="color" value="$PARAM[color]" />
				</include>
			</control>
		</definition>
	</include>

	<include name="Horizontal_List">
		<param name="hidden_id" />
		<param name="visible" default="true" />
		<param name="itemgap" default="0" />
		<param name="top" default="50%" />
		<param name="height" default="80" />
		<param name="unfocused_top" default="17" />
		<param name="unfocused_height" default="55" />
		<param name="focused_font" default="Main_Menu_Focused" />
		<param name="focused_color" default="$VAR[Primary_Color]" />
		<param name="unfocused_font" default="Main_Menu_Unfocused" />
		<param name="unfocused_color" default="$VAR[Primary_Color]" />
		<definition>
			<control type="grouplist">
				<visible>$PARAM[visible]</visible>
				<nested />
				<centertop>$PARAM[top]</centertop>
				<width>1800</width>
				<centerleft>50%</centerleft>
				<height>$PARAM[height]</height>
				<orientation>horizontal</orientation>
				<align>center</align>
				<itemgap>$PARAM[itemgap]</itemgap>
				<usecontrolcoords>true</usecontrolcoords>
				<scrolltime tween="sine" easing="inout">360</scrolltime>
				<animation effect="slide" start="0" end="-120" condition="!Container($PARAM[hidden_id]).OnScrollNext" reversible="false" time="180" tween="sine" easing="inout">Conditional</animation>
				<animation effect="slide" start="0" end="120" condition="!Container($PARAM[hidden_id]).OnScrollPrevious" reversible="false" time="180" tween="sine" easing="inout">Conditional</animation>
				<!-- Previous -->
				<control type="label">
					<visible>Container($PARAM[hidden_id]).HasPrevious</visible>
					<label>...</label>
					<include content="Home_Menu_Label_Unfocused">
						<param name="top" value="$PARAM[unfocused_top]" />
						<param name="height" value="$PARAM[unfocused_height]" />
						<param name="font" value="$PARAM[unfocused_font]" />
						<param name="color" value="$PARAM[unfocused_color]" />
					</include>
				</control>
				<!-- Position 0 Focused -->
				<include content="Home_Menu_Label_Focused">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="position" value="0" />
					<param name="focused_font" value="$PARAM[focused_font]" />
					<param name="focused_color" value="$PARAM[focused_color]" />
					<param name="unfocused_top" value="$PARAM[unfocused_top]" />
					<param name="unfocused_height" value="$PARAM[unfocused_height]" />
					<param name="unfocused_font" value="$PARAM[unfocused_font]" />
					<param name="unfocused_color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 0 Unfocused -->
				<include content="Home_Menu_Label_Unfocused_Content">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="previous_position" value="-1" />
					<param name="position" value="0" />
					<param name="next_position" value="1" />
					<param name="top" value="$PARAM[unfocused_top]" />
					<param name="height" value="$PARAM[unfocused_height]" />
					<param name="font" value="$PARAM[unfocused_font]" />
					<param name="color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 1 Focused -->
				<include content="Home_Menu_Label_Focused">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="position" value="1" />
					<param name="focused_font" value="$PARAM[focused_font]" />
					<param name="focused_color" value="$PARAM[focused_color]" />
					<param name="unfocused_top" value="$PARAM[unfocused_top]" />
					<param name="unfocused_height" value="$PARAM[unfocused_height]" />
					<param name="unfocused_font" value="$PARAM[unfocused_font]" />
					<param name="unfocused_color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 1 Unfocused -->
				<include content="Home_Menu_Label_Unfocused_Content">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="previous_position" value="0" />
					<param name="position" value="1" />
					<param name="next_position" value="2" />
					<param name="top" value="$PARAM[unfocused_top]" />
					<param name="height" value="$PARAM[unfocused_height]" />
					<param name="font" value="$PARAM[unfocused_font]" />
					<param name="color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 2 Focused -->
				<include content="Home_Menu_Label_Focused">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="position" value="2" />
					<param name="focused_font" value="$PARAM[focused_font]" />
					<param name="focused_color" value="$PARAM[focused_color]" />
					<param name="unfocused_top" value="$PARAM[unfocused_top]" />
					<param name="unfocused_height" value="$PARAM[unfocused_height]" />
					<param name="unfocused_font" value="$PARAM[unfocused_font]" />
					<param name="unfocused_color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 2 Unfocused -->
				<include content="Home_Menu_Label_Unfocused_Content">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="previous_position" value="1" />
					<param name="position" value="2" />
					<param name="next_position" value="3" />
					<param name="top" value="$PARAM[unfocused_top]" />
					<param name="height" value="$PARAM[unfocused_height]" />
					<param name="font" value="$PARAM[unfocused_font]" />
					<param name="color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 3 Focused -->
				<include content="Home_Menu_Label_Focused">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="position" value="3" />
					<param name="focused_font" value="$PARAM[focused_font]" />
					<param name="focused_color" value="$PARAM[focused_color]" />
					<param name="unfocused_top" value="$PARAM[unfocused_top]" />
					<param name="unfocused_height" value="$PARAM[unfocused_height]" />
					<param name="unfocused_font" value="$PARAM[unfocused_font]" />
					<param name="unfocused_color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 3 Unfocused -->
				<include content="Home_Menu_Label_Unfocused_Content">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="previous_position" value="2" />
					<param name="position" value="3" />
					<param name="next_position" value="4" />
					<param name="top" value="$PARAM[unfocused_top]" />
					<param name="height" value="$PARAM[unfocused_height]" />
					<param name="font" value="$PARAM[unfocused_font]" />
					<param name="color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 4 Focused -->
				<include content="Home_Menu_Label_Focused">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="position" value="4" />
					<param name="focused_font" value="$PARAM[focused_font]" />
					<param name="focused_color" value="$PARAM[focused_color]" />
					<param name="unfocused_top" value="$PARAM[unfocused_top]" />
					<param name="unfocused_height" value="$PARAM[unfocused_height]" />
					<param name="unfocused_font" value="$PARAM[unfocused_font]" />
					<param name="unfocused_color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 4 Unfocused -->
				<include content="Home_Menu_Label_Unfocused_Content">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="previous_position" value="3" />
					<param name="position" value="4" />
					<param name="next_position" value="5" />
					<param name="top" value="$PARAM[unfocused_top]" />
					<param name="height" value="$PARAM[unfocused_height]" />
					<param name="font" value="$PARAM[unfocused_font]" />
					<param name="color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 5 Focused -->
				<include content="Home_Menu_Label_Focused">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="position" value="5" />
					<param name="focused_font" value="$PARAM[focused_font]" />
					<param name="focused_color" value="$PARAM[focused_color]" />
					<param name="unfocused_top" value="$PARAM[unfocused_top]" />
					<param name="unfocused_height" value="$PARAM[unfocused_height]" />
					<param name="unfocused_font" value="$PARAM[unfocused_font]" />
					<param name="unfocused_color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 5 Unfocused -->
				<include content="Home_Menu_Label_Unfocused_Content">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="previous_position" value="4" />
					<param name="position" value="5" />
					<param name="next_position" value="6" />
					<param name="top" value="$PARAM[unfocused_top]" />
					<param name="height" value="$PARAM[unfocused_height]" />
					<param name="font" value="$PARAM[unfocused_font]" />
					<param name="color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 6 Focused -->
				<include content="Home_Menu_Label_Focused">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="position" value="6" />
					<param name="focused_font" value="$PARAM[focused_font]" />
					<param name="focused_color" value="$PARAM[focused_color]" />
					<param name="unfocused_top" value="$PARAM[unfocused_top]" />
					<param name="unfocused_height" value="$PARAM[unfocused_height]" />
					<param name="unfocused_font" value="$PARAM[unfocused_font]" />
					<param name="unfocused_color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 6 Unfocused -->
				<include content="Home_Menu_Label_Unfocused_Content">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="previous_position" value="5" />
					<param name="position" value="6" />
					<param name="next_position" value="7" />
					<param name="top" value="$PARAM[unfocused_top]" />
					<param name="height" value="$PARAM[unfocused_height]" />
					<param name="font" value="$PARAM[unfocused_font]" />
					<param name="color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 7 Focused -->
				<include content="Home_Menu_Label_Focused">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="position" value="7" />
					<param name="focused_font" value="$PARAM[focused_font]" />
					<param name="focused_color" value="$PARAM[focused_color]" />
					<param name="unfocused_top" value="$PARAM[unfocused_top]" />
					<param name="unfocused_height" value="$PARAM[unfocused_height]" />
					<param name="unfocused_font" value="$PARAM[unfocused_font]" />
					<param name="unfocused_color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Position 7 Unfocused -->
				<include content="Home_Menu_Label_Unfocused_Content">
					<param name="hidden_id" value="$PARAM[hidden_id]" />
					<param name="previous_position" value="6" />
					<param name="position" value="7" />
					<param name="next_position" value="8" />
					<param name="top" value="$PARAM[unfocused_top]" />
					<param name="height" value="$PARAM[unfocused_height]" />
					<param name="font" value="$PARAM[unfocused_font]" />
					<param name="color" value="$PARAM[unfocused_color]" />
				</include>
				<!-- Next -->
				<control type="label">
					<include content="Home_Menu_Label_Unfocused">
						<param name="top" value="$PARAM[unfocused_top]" />
						<param name="height" value="$PARAM[unfocused_height]" />
						<param name="font" value="$PARAM[unfocused_font]" />
						<param name="color" value="$PARAM[unfocused_color]" />
					</include>
					<visible>Container($PARAM[hidden_id]).HasNext</visible>
					<label>...</label>
				</control>
			</control>
		</definition>
	</include>

	<include name="Clock">
		<param name="visible" default="true" />
		<param name="size" default="180" />
		<param name="right" default="0" />
		<param name="backgroundcolor" default="$VAR[Blank_Color]" />
		<param name="textcolor" default="$VAR[Light_Color]" />
		<definition>
			<control type="group">
				<visible>![$EXP[Music_Player_IsVisible] | $EXP[Music_Player_HasFocus] | Window.IsVisible(volumebar) | Window.IsVisible(notification) | Window.IsVisible(extendedprogressdialog)] | Window.IsVisible(shutdownmenu)</visible>
				<include content="VisibleHidden_Fade_Animation" />
				<control type="group">
					<visible>$PARAM[visible]</visible>
					<right>$PARAM[right]</right>
					<top>0</top>
					<width>$PARAM[size]</width>
					<height>$PARAM[size]</height>
					<include content="Visible_Fade_Delayed_Animation" />
					<control type="image">
						<texture colordiffuse="$PARAM[backgroundcolor]">views/white_100.png</texture>
					</control>
					<control type="grouplist">
						<left>15</left>
						<right>15</right>
						<centertop>50%</centertop>
						<height>70</height>
						<align>center</align>
						<itemgap>3</itemgap>
						<orientation>horizontal</orientation>
						<usecontrolcoords>true</usecontrolcoords>
						<control type="label">
							<width>auto</width>
							<height>70</height>
							<font>Main_Menu_Focused</font>
							<align>right</align>
							<aligny>center</aligny>
							<textcolor>$PARAM[textcolor]</textcolor>
							<label>$INFO[System.Time(hh)]</label>
						</control>
						<control type="label">
							<width>auto</width>
							<height>55</height>
							<top>13</top>
							<font>Main_Menu_Unfocused</font>
							<align>left</align>
							<aligny>center</aligny>
							<textcolor>$PARAM[textcolor]</textcolor>
							<label>$INFO[System.Time(mm)]</label>
						</control>
					</control>
				</control>
			</control>
		</definition>
	</include>

</includes>