<?xml version="1.0" encoding="utf-8"?>
<includes>
	<!-- SubMenu Display -->
	<include name="HomeSubMenuDisplay">
		<control type="group" id="9001">
			<depth>DepthMenu-</depth>
			<left>0</left>
			<top>70</top>
			<include>HomeSubMenuUpDown</include>
			<include>skinshortcuts-template-submenus</include>
		</control>
	</include>
	<!-- SubMenu Common Controls -->
	<include name="HomeSubMenuCommonControls">
		<control type="image">
			<left>5</left>
			<top>0</top>
			<width>35</width>
			<height>35</height>
			<texture border="0,0,0,3" flipx="true">HomeSubEnd.png</texture>
			<animation effect="slide" start="0,0" end="30,0" time="0" condition="!Integer.IsGreater(Container($PARAM[list_id]).NumItems,6) | !Container($PARAM[list_id]).HasPrevious">conditional</animation>
			<visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,0)</visible>
		</control>
		<control type="image">
			<left>40</left>
			<top>0</top>
			<width>35</width>
			<height>35</height>
			<texture border="5">HomeSubNF.png</texture>
			<visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,6) + Container($PARAM[list_id]).HasPrevious</visible>
		</control>
		<control type="button" id="800">
			<left>45</left>
			<top>5</top>
			<width>25</width>
			<height>25</height>
			<texturefocus border="0,0,0,3">arrow-big-left.png</texturefocus>
			<texturenofocus border="0,0,0,3">arrow-big-left.png</texturenofocus>
			<onleft>$PARAM[list_id]</onleft>
			<onright>$PARAM[list_id]</onright>
			<include>HomeSubMenuUpDown</include>
			<onclick>Control.Move($PARAM[list_id],-1)</onclick>
			<visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,6) + Container($PARAM[list_id]).HasPrevious</visible>
		</control>
		<control type="image">
			<left>1240</left>
			<top>0</top>
			<width>35</width>
			<height>35</height>
			<texture border="0,0,0,3">HomeSubEnd.png</texture>
			<animation effect="slide" start="0,0" end="-30,0" time="0" condition="!Integer.IsGreater(Container($PARAM[list_id]).NumItems,6) |  !Container($PARAM[list_id]).HasNext">conditional</animation>
			<animation effect="slide" start="0,0" end="-190,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,5)">conditional</animation>
			<animation effect="slide" start="0,0" end="-380,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,4)">conditional</animation>
			<animation effect="slide" start="0,0" end="-570,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,3)">conditional</animation>
			<animation effect="slide" start="0,0" end="-760,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,2)">conditional</animation>
			<animation effect="slide" start="0,0" end="-950,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,1)">conditional</animation>
			<visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,0)</visible>
		</control>
		<control type="image">
			<left>1205</left>
			<top>0</top>
			<width>35</width>
			<height>35</height>
			<texture border="5">HomeSubNF.png</texture>
			<visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,6) + Container($PARAM[list_id]).HasNext</visible>
		</control>
		<control type="button" id="801">
			<left>1210</left>
			<top>5</top>
			<width>25</width>
			<height>25</height>
			<texturefocus border="0,0,0,3">arrow-big-right.png</texturefocus>
			<texturenofocus border="0,0,0,3">arrow-big-right.png</texturenofocus>
			<onleft>$PARAM[list_id]</onleft>
			<onright>$PARAM[list_id]</onright>
			<include>HomeSubMenuUpDown</include>
			<onclick>Control.Move($PARAM[list_id],1)</onclick>
			<animation effect="slide" start="0,0" end="-205,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,5)">conditional</animation>
			<animation effect="slide" start="0,0" end="-410,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,4)">conditional</animation>
			<animation effect="slide" start="0,0" end="-615,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,3)">conditional</animation>
			<animation effect="slide" start="0,0" end="-820,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,2)">conditional</animation>
			<animation effect="slide" start="0,0" end="-1025,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,1)">conditional</animation>
			<visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,6) + Container($PARAM[list_id]).HasNext</visible>
		</control>
	</include>
	<!-- SubMenu Common Values -->
	<include name="HomeSubMenuCommonValues">
		<left>70</left>
		<top>0</top>
		<width>1140</width>
		<height>35</height>
		<viewtype label="535">list</viewtype>
		<pagecontrol/>
		<scrolltime>200</scrolltime>
		<orientation>Horizontal</orientation>
		<include>HomeSubMenuUpDown</include>
	</include>
	<!-- SubMenu Common Animation -->
	<include name="HomeSubMenuCommonAnimation">
		<animation effect="slide" start="0,-40" end="0,0" delay="200" time="200" tween="quadratic" easing="out" condition="!Skin.HasSetting(NoSlide)">Visible</animation>
		<animation effect="slide" start="0,0" end="0,-40" time="200" tween="quadratic" easing="out" condition="!Skin.HasSetting(NoSlide)">Hidden</animation>
		<animation effect="fade" start="100" end="0" time="300" condition="!ControlGroup(9001).HasFocus + Skin.HasSetting(NoSlide)">conditional</animation>
		<animation effect="slide" start="0,-40" end="0,0" delay="200" time="200" tween="quadratic" easing="out"  condition="ControlGroup(9001).HasFocus + Skin.HasSetting(NoSlide)">conditional</animation>
		<animation effect="slide" start="0,0" end="0,-40" time="200" tween="quadratic" easing="out" condition="ControlGroup(9001).HasFocus + Skin.HasSetting(NoSlide)">Hidden</animation>
		<animation effect="fade" start="100" end="65" time="200" condition="Window.IsVisible(2123) | Window.IsVisible(2124) | Window.IsVisible(2125) | Window.IsVisible(2126) | Window.IsVisible(Favourites)">conditional</animation>
		<animation effect="slide" start="0,0" end="95,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,5)">conditional</animation>
		<animation effect="slide" start="0,0" end="190,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,4)">conditional</animation>
		<animation effect="slide" start="0,0" end="285,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,3)">conditional</animation>
		<animation effect="slide" start="0,0" end="380,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,2)">conditional</animation>
		<animation effect="slide" start="0,0" end="475,0" time="0" condition="Integer.IsEqual(Container($PARAM[list_id]).NumItems,1)">conditional</animation>
	</include>
	<!-- SubMenu Common Layout -->
	<include name="HomeSubMenuCommonLayout">
		<itemlayout height="35" width="190">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>190</width>
				<height>35</height>
				<texture border="5">HomeSubNF.png</texture>
			</control>
			<control type="label">
				<left>10</left>
				<top>0</top>
				<height>35</height>
				<width>170</width>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
			</control>
		</itemlayout>
		<focusedlayout height="35" width="190">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>190</width>
				<height>35</height>
				<texture border="5">HomeSubNF.png</texture>
			</control>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>190</width>
				<height>35</height>
				<texture border="5">HomeSubFO.png</texture>
				<visible>ControlGroup(9001).HasFocus</visible>
			</control>
			<control type="label">
				<left>10</left>
				<top>0</top>
				<height>35</height>
				<width>170</width>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
			</control>
			<control type="label">
				<left>10</left>
				<top>0</top>
				<height>35</height>
				<width>170</width>
				<font>font12</font>
				<textcolor>white</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
				<visible>ControlGroup(9001).HasFocus</visible>
			</control>
		</focusedlayout>
	</include>
	<!-- SubMenu UpDown -->
	<include name="HomeSubMenuUpDown">
		<onup>9000</onup>
		<ondown condition="!Skin.HasSetting(LowerMenu)">9002</ondown>
		<ondown condition="Skin.HasSetting(LowerMenu) + !Skin.HasSetting(HidePowerButton) + Skin.HasSetting(HideFavoritesButton)">22</ondown>
		<ondown condition="Skin.HasSetting(LowerMenu) + Skin.HasSetting(HidePowerButton) + !Skin.HasSetting(HideFavoritesButton)">21</ondown>
		<ondown condition="Skin.HasSetting(LowerMenu)">20</ondown>
	</include>
</includes>