<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
    <controls>
        <control Style="Background">
            <description>BG</description>
            <type>image</type>
            <id>0</id>
			<posX>0</posX>
            <texture>background.png</texture>
            <keepaspectratio>no</keepaspectratio>
            <colorkey>0</colorkey>
            <colordiffuse>ffffffff</colordiffuse>
        </control>
        <control Style="Background">
            <description>BG Overlay</description>
            <type>image</type>
            <id>0</id>
            <posX>0</posX>
            <posY>100</posY>
            <height>405</height>
            <texture>background-overlay.png</texture>
            <keepaspectratio>no</keepaspectratio>
            <colordiffuse>60ffffff</colordiffuse>
            <visible>[Window.IsVisible(35)|Window.IsVisible(34)|Window.IsVisible(0)]</visible>
        </control>
        <control Style="Background">
            <description>Top Bar</description>
            <type>image</type>
            <id>0</id>
            <posX>0</posX>
            <posY>-10</posY>
            <height>124</height>
            <texture>bottom_bar.png</texture>
            <keepaspectratio>no</keepaspectratio>
            <colordiffuse>50ffffff</colordiffuse>
        </control>
        <control Style="Background">
            <description>Top Bar Glass</description>
            <type>image</type>
            <id>0</id>
            <posX>0</posX>
            <posY>-10</posY>
            <height>124</height>
            <texture>bottom_bar_glass.png</texture>
            <keepaspectratio>no</keepaspectratio>
            <colordiffuse>90ffffff</colordiffuse>
        </control>
        <control Style="Background">
            <description>Bottom Bar (Not TV Home or Basic Menus)</description>
            <type>image</type>
            <id>0</id>
            <posX>0</posX>
            <posY>495</posY>
            <height>115</height>
            <texture>bottom_bar.png</texture>
            <colordiffuse>60ffffff</colordiffuse>
            <keepaspectratio>no</keepaspectratio>
            <visible>!Window.isvisible(1)+![window.isvisible(8888)|window.isvisible(88883)|window.isvisible(88884)|window.isvisible(88885)|window.isvisible(88886)|window.isvisible(88887)|window.isvisible(888811)]</visible>
        </control>
        <control Style="Background">
            <description>Bottom Bar Glass (Not TV Home or Basic Menus)</description>
            <type>image</type>
            <id>0</id>
            <posX>0</posX>
            <posY>495</posY>
            <height>90</height>
            <texture>bottom_bar_glass.png</texture>
            <keepaspectratio>no</keepaspectratio>
            <colordiffuse>90ffffff</colordiffuse>
            <visible>!Window.isvisible(1)+![window.isvisible(8888)|window.isvisible(88883)|window.isvisible(88884)|window.isvisible(88885)|window.isvisible(88886)|window.isvisible(88887)|window.isvisible(888811)]</visible>
        </control>
        <control Style="Background">
            <description>Bottom Bar (Basic Menus)</description>
            <type>image</type>
            <id>0</id>
			<posX>0</posX>
            <posY>525</posY>
            <height>70</height>
            <texture>bottom_bar.png</texture>
            <keepaspectratio>no</keepaspectratio>
            <colordiffuse>60ffffff</colordiffuse>
            <visible>[window.isvisible(8888)|window.isvisible(88883)|window.isvisible(88884)|window.isvisible(88885)|window.isvisible(88886)|window.isvisible(88887)|window.isvisible(888811)]</visible>
        </control>
        <control Style="Background">
            <description>Bottom Bar Glass (Basic Menus)</description>
            <type>image</type>
            <id>0</id>
			<posX>0</posX>
            <posY>525</posY>
            <height>70</height>
            <texture>bottom_bar_glass.png</texture>
            <keepaspectratio>no</keepaspectratio>
            <colordiffuse>90ffffff</colordiffuse>
            <visible>[window.isvisible(8888)|window.isvisible(88883)|window.isvisible(88884)|window.isvisible(88885)|window.isvisible(88886)|window.isvisible(88887)|window.isvisible(888811)]</visible>
        </control>
        <control>
            <description>Header Hover</description>
            <type>image</type>
            <id>0</id>
            <posX>-10</posX>
            <posY>20</posY>
            <width>120</width>
            <height>120</height>
            <texture>#header.hover</texture>
            <colordiffuse>ffffffff</colordiffuse>
            <animation effect="slide" start="-200,0" end="0,0" tween="quadratic" time="500" delay="100">WindowOpen</animation>
            <animation effect="slide" start="0,0" end="-200,0" tween="quadratic" time="500" delay="100">WindowClose</animation>
        </control>
        <control Style="Background">
            <description>Top Line</description>
            <type>image</type>
            <id>0</id>
			<posX>0</posX>
            <posY>99</posY>
            <height>1</height>
            <texture>MovingPictures\hbar1white.png</texture>
            <keepaspectratio>no</keepaspectratio>
            <colordiffuse>90ffffff</colordiffuse>
        </control>
       <!--  <control>
            <description>Top Background Glass</description>
            <type>image</type>
            <id>0</id>
            <posX>0</posX>
            <posY>0</posY>
            <width>1024</width>
            <height>40</height>
            <texture>background_glass_menu_area.png</texture>
            <colordiffuse>ffffffff</colordiffuse>
            <visible>![Window.IsVisible(35)|Window.IsVisible(34)|Window.IsVisible(0)]</visible>
        </control> -->
        <control Style="Background">
            <description>Header Label</description>
            <type>label</type>
            <id>0</id>
			<posX>13</posX>
            <posY>22</posY>
            <label>#header.label</label>
            <align>center</align>
            <font>font14</font>
            <textcolor>77ffffff</textcolor>
		    <visible>!string.equals(#OnlineVideos.state, details)</visible>
            <animation effect="slide" start="0,-200" end="0,0" tween="quadratic" time="500" delay="100">WindowOpen</animation>
            <animation effect="slide" start="0,0" end="0,-200" tween="quadratic" time="500" delay="100">WindowClose</animation>
        </control>
        <!-- Itemcount (Most Windows) -->
        <control>
            <description>Itemcount CurrentModule</description>
            <type>textboxscrollup</type>
            <id>0</id>
            <posX>30</posX>
            <posY>505</posY>
            <width>260</width>
            <height>100</height>
			<label>#selectedindex/#itemcount #currentmodule</label>
            <textalign>left</textalign>
            <textcolor>77ffffff</textcolor>
            <visible>string.equals(#selectedindex)+string.equals(#itemcount)+string.equals(#currentmodule)+!window.isvisible(9811)+!window.isvisible(603)+!window.isvisible(9813)+!window.isvisible(601)+!window.isvisible(604)+!window.isvisible(607)+!window.isvisible(608)+!window.isvisible(4755)+!window.isvisible(4757)+!window.isvisible(7986)+!string.equals(#OnlineVideos.state, details)</visible>
            <animation effect="slide" start="-300,0" end="0,0" tween="quadratic" time="300" delay="0">WindowOpen</animation>
            <animation effect="slide" start="0,0" end="-300,0" tween="quadratic" time="300" delay="0">WindowClose</animation>
        </control>
		<control>
            <description>Itemcount no Selectedindex</description>
            <type>fadelabel</type>
            <id>0</id>
            <posX>30</posX>
            <posY>507</posY>
            <width>260</width>
			<label>#itemcount #currentmodule</label>
            <align>left</align>
            <textcolor>77ffffff</textcolor>
            <visible>!string.equals(#selectedindex)+string.equals(#itemcount)+string.equals(#currentmodule)+!window.isvisible(9813)+!window.isvisible(0)+!window.isvisible(34)+!window.isvisible(35)+!window.isvisible(603)+!window.isvisible(601)+!window.isvisible(604)+!window.isvisible(607)+!window.isvisible(608)+!window.isvisible(4755)+!window.isvisible(7986)+!window.isvisible(4757)+!string.equals(#OnlineVideos.state, details)</visible>
            <animation effect="slide" start="-300,0" end="0,0" tween="quadratic" time="300" delay="0">WindowOpen</animation>
            <animation effect="slide" start="0,0" end="-300,0" tween="quadratic" time="300" delay="0">WindowClose</animation>
        </control>
        <!-- Itemcount (TV Search, RecordedTV, Scheduled TV) -->
        <control>
            <description>Itemcount Itemtype</description>
            <type>textboxscrollup</type>
            <id>0</id>
            <posX>30</posX>
            <posY>505</posY>
            <width>260</width>
            <height>100</height>
			<label>#selectedindex/#itemcount #itemtype</label>
            <textalign>left</textalign>
            <textcolor>77ffffff</textcolor>
            <visible>string.equals(#selectedindex)+string.equals(#itemcount)+[window.isvisible(603)|window.isvisible(601)|window.isvisible(604)|window.isvisible(607)|window.isvisible(608)]+!string.equals(#currentmodule+!string.equals(#OnlineVideos.state, details)</visible>
            <animation effect="slide" start="-300,0" end="0,0" tween="quadratic" time="300" delay="0">WindowOpen</animation>
            <animation effect="slide" start="0,0" end="-300,0" tween="quadratic" time="300" delay="0">WindowClose</animation>
        </control>
    </controls>
</window>