<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol always="true">500</defaultcontrol>
    <controls>
        <control type="group">
            <animation type="Conditional" reversible="true" condition="Window.IsVisible(DialogSongInfo.xml) | Window.IsVisible(DialogPictureInfo.xml) | Window.IsVisible(FileBrowser.xml) | Window.IsVisible(DialogProgress.xml) | Window.IsVisible(DialogYesNo.xml) | Window.IsVisible(DialogOK.xml) | Window.IsVisible(DialogSelect.xml) | Window.IsVisible(DialogContextMenu.xml) | Window.IsVisible(DialogButtonMenu.xml)">
                <effect type="zoom" end="95" start="100" time="200" center="auto" tween="quadratic" easing="in" />
            </animation>
            <animation type="WindowOpen" reversible="false">
                <effect type="fade" start="0" end="100" time="300" delay="300" tween="sine" easing="in" />
                <effect type="zoom" start="50" end="100" time="300" delay="300" center="auto" tween="quadratic" easing="out" />
            </animation>
            <animation type="WindowClose" reversible="false">
                <effect type="fade" end="0" start="100" time="200" tween="sine" easing="out" />
                <effect type="zoom" end="75" start="100" time="200" center="auto" tween="quadratic" easing="in" />
            </animation>
            <animation type="Visible" reversible="false">
                <effect type="fade" start="0" end="100" time="300" delay="300" tween="sine" easing="in" />
                <effect type="zoom" start="115" end="100" time="300" delay="300" center="auto" tween="sine" easing="out" />
            </animation>
            <animation type="Hidden" reversible="false">
                <effect type="zoom" start="100" end="115" center="auto" tween="sine" delay="0" easing="out" time="300" />
                <effect type="fade" start="100" end="0" tween="cubic" easing="out" delay="0" time="300" />
            </animation>
            <visible>!Window.IsVisible(script-globalsearch-main.xml) + !Window.IsVisible(script-globalsearch-infodialog.xml) + !Window.IsVisible(DialogAddonInfo.xml) + !Window.IsVisible(DialogPVRRecordingInfo.xml) + !Window.IsVisible(DialogPVRGuideInfo.xml) + !Window.IsVisible(DialogAlbumInfo.xml) + !Window.IsVisible(DialogVideoInfo.xml) + !Window.IsVisible(script-ExtendedInfo Script-DialogInfo.xml) + !Window.IsVisible(script-ExtendedInfo Script-DialogVideoInfo.xml)</visible>
            <visible>Control.IsVisible(500)</visible>
            <animation type="Conditional" reversible="true" condition="ControlGroup(9000).HasFocus()">
                <effect type="slide" end="444" start="0" time="200" tween="quadratic"/>
            </animation>
            <control type="panel" id="500">
                <top>206</top>
                <right>70</right>
                <left>70</left>
                <height>674</height>
                <onleft condition="!Skin.HasSetting(global.kioskmode)">9000</onleft>
                <onright>60</onright>
                <onup>700</onup>
                <ondown>600</ondown>
                <preloaditems>2</preloaditems>
                <pagecontrol>60</pagecontrol>
                <viewtype label="536">list</viewtype>
                <scrolltime tween="quadratic">400</scrolltime>
                <itemlayout height="337" width="222">
                    <control type="image">
                        <left>0</left>
                        <top>0</top>
                        <right>0</right>
                        <bottom>12</bottom>
                        <texture border="10">common/nofocus-shadow10.png</texture>
                    </control>
                    <control type="image">
                        <left>10</left>
                        <top>10</top>
                        <right>10</right>
                        <bottom>22</bottom>
                        <aspectratio scalediffuse="false">scale</aspectratio>
                        <texture diffuse="diffuse/wall.png" background="true">$VAR[PosterImage]</texture>
                    </control>
                    <control type="image">
                        <centerright>32</centerright>
                        <centertop>32</centertop>
                        <width>32</width>
                        <height>32</height>
                        <aspectratio aligny="top">keep</aspectratio>
                        <texture>$VAR[PercentWatched]</texture>
                        <visible>!stringcompare(ListItem.Label,..)</visible>
                        <visible>stringcompare(ListItem.Overlay,OverlayWatched.png)</visible>
                    </control>
                </itemlayout>
                <focusedlayout height="337" width="222">
                    <control type="image">
                        <left>0</left>
                        <top>0</top>
                        <right>0</right>
                        <bottom>12</bottom>
                        <texture border="10">common/nofocus-shadow10.png</texture>
                    </control>
                    <control type="image">
                        <left>10</left>
                        <top>10</top>
                        <right>10</right>
                        <bottom>22</bottom>
                        <aspectratio scalediffuse="false">scale</aspectratio>
                        <texture diffuse="diffuse/wall.png" background="true">$VAR[PosterImage]</texture>
                    </control>
                    <control type="image">
                        <centerright>32</centerright>
                        <centertop>32</centertop>
                        <width>32</width>
                        <height>32</height>
                        <aspectratio aligny="top">keep</aspectratio>
                        <texture>$VAR[PercentWatched]</texture>
                        <visible>!stringcompare(ListItem.Label,..)</visible>
                        <visible>stringcompare(ListItem.Overlay,OverlayWatched.png)</visible>
                    </control>
                    <control type="image">
                        <left>3</left>
                        <top>3</top>
                        <right>3</right>
                        <bottom>15</bottom>
                        <texture colordiffuse="$VAR[ColorHighlight]" border="20">common/selectbox.png</texture>
                        <animation type="Focus">
                            <effect type="zoom" start="90" end="100" time="150" tween="sine" easing="inout" center="auto" />
                            <effect type="fade" start="0" end="100" time="150" tween="sine" easing="in" />
                        </animation>
                        <animation type="Unfocus">
                            <effect type="zoom" start="100" end="90" time="150" tween="sine" easing="inout" center="auto" />
                            <effect type="fade" start="100" end="0" time="150" tween="sine" easing="out" />
                        </animation>
                    </control>
                      
                </focusedlayout>
            </control>
            <control type="scrollbar" id="60">
                <onback>500</onback>
                <centerright>60</centerright>
                <posy>PosterPad</posy>
                <height>PosterH</height>
                <width>8</width>
                <onleft>500</onleft>
                <onright condition="!Skin.HasSetting(global.kioskmode)">9000</onright>
                <texturesliderbackground border="4" colordiffuse="Dark4">scrollbar/scrollv.png</texturesliderbackground>
                <texturesliderbar border="4" colordiffuse="Dark3">scrollbar/scrollv.png</texturesliderbar>
                <texturesliderbarfocus border="4" colordiffuse="Dark2">scrollbar/scrollv.png</texturesliderbarfocus>
                <animation effect="fade" start="100" end="33" time="400" condition="!Control.HasFocus(60) + !Container.Scrolling">Conditional</animation>
            </control>
            <control type="group">
                <left>-374</left>
                <top>PosterPad</top>
                <width>444</width>
                <height>640</height>
                <include>Animation.FadeIn</include>
                <include>Animation.FadeOut</include>
                <visible allowhiddenfocus="true">ControlGroup(9000).HasFocus()</visible>
            
                <control type="grouplist" id="9000">
                    <top>0</top>
                    <bottom>0</bottom>
                    <width>424</width>
                    <left>10</left>
                    <right>10</right>

                    <usecontrolcoords>true</usecontrolcoords>
                    <onleft>500</onleft>
                    <onright>500</onright>
                    <onback>500</onback>
                    <itemgap>0</itemgap>
                    <control type="button" id="6000">
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                        <label>19140</label>
                    </control>
                    <control type="button" id="7000">
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                        <label>$ADDON[script.extendedinfo 32024]</label>
                    </control>
                    <control type="button" id="5007">
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                        <label>$LOCALIZE[467]:</label>
                        <label2>$INFO[Window.Property(Type)]</label2>
                    </control>
                    <control type="button" id="5001">
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                        <label>$ADDON[script.extendedinfo 32104]</label>
                        <label2>$INFO[Window.Property(Sort_Label)]</label2>
                    </control>
                    <control type="button" id="5004">
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                        <label>$ADDON[script.extendedinfo 32128]</label>
                        <label2>$INFO[Window.Property(Order_Label)]</label2>
                    </control>
                    <control type="label" id="5333">
                        <textoffsetx>30</textoffsetx>
                        <font>TinyBold</font>
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                        <label>$ADDON[script.extendedinfo 32023]</label>
                    </control>
                    <control type="button" id="5002">
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                        <label>$LOCALIZE[515]</label>
                    </control>
                    <control type="button" id="5003">
                        <label>$LOCALIZE[172]</label>
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                    </control>
                    <control type="button" id="5006">
                        <label>$ADDON[script.extendedinfo 32127]</label>
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                    </control>
                    <control type="button" id="5008">
                        <label>$ADDON[script.extendedinfo 32126]</label>
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                    </control>
                    <control type="button" id="5009">
                        <label>$ADDON[script.extendedinfo 32114]</label>
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                    </control>
                    <control type="button" id="5010">
                        <label>$LOCALIZE[572]</label>
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                    </control>
                    <control type="button" id="5012">
                        <label>$ADDON[script.extendedinfo 32111]</label>
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                    </control>
                    <control type="button" id="5005">
                        <label>$ADDON[script.extendedinfo 32022]</label>
                        <include>DefSideBrowserButton</include>
                        <align>left</align>
                    </control>
                </control>
            </control>
            
        </control> 
        <control type="button" id="600">
            <onfocus>SetFocus(500)</onfocus>
            <width>1</width>
            <height>1</height>
            <posx>-1000</posx>
        </control>
        <control type="button" id="700">
            <onfocus>SetFocus(500)</onfocus>
            <width>1</width>
            <height>1</height>
            <posx>-1000</posx>
        </control>
       
    </controls>
</window>
