<?xml version="1.0" encoding="utf-8"?>
<includes>
    <include name="Viewtype_Panel_Genre">
        <control type="group">
            <visible>Control.IsVisible(56)</visible>
            <animation type="TYPE" condition="Window.IsVisible(2003)" reversible="false">
                <effect type="slide" end="-1500,0" time="200" />
            </animation>
            <animation type="TYPE" condition="!Window.IsVisible(2003)" reversible="false">
                <effect type="slide" start="-1500,0" time="200" />
            </animation>
            <animation type="WindowClose">
                <effect type="fade" time="300" />
                <effect type="slide" end="+1500,0" time="300" />
            </animation>
            <animation type="WindowOpen">
                <effect type="fade" time="300" />
                <effect type="slide" start="+1500,0" time="300" />
            </animation>
            <animation effect="fade" time="300">WindowOpen</animation>
            <animation type="WindowClose">
                <effect type="fade" time="300" />
            </animation>
            <control type="panel" id="56">
                <viewtype label="Panel">Genres</viewtype>
                <left>50</left>
                <top>290</top>
                <width>1200</width>
                <height>320</height>
                <scrolltime>200</scrolltime>
                <orientation>vertical</orientation>
                <onright>60</onright>
                <onleft>9000</onleft>
				<onleft>Skin.ToggleSetting(showViewOptions)</onleft>
                <pagecontrol>60</pagecontrol>
                <preloaditems>2</preloaditems>
                <visible>Window.IsActive(1) | Container.Content(genres) | Container.Content(studios) | Container.Content(countries)</visible>
                <itemlayout width="160" height="160">
                    <control type="image">
						<include>PanelButtonImageNF</include>
                    </control>
                    <control type="image">
                        <include>PanelButtonIcon</include>
                      	<texture background="true">moviegenres/$INFO[ListItem.Label].png</texture>
						<visible>Container.Content(genres)</visible>
					</control>
					
					<control type="image">
                        <left>10</left>
						<top>5</top>
						<height>135</height>
						<width>135</width>
						<aspectratio align="center" aligny="center">keep</aspectratio>
                        <texture background="true">$INFO[ListItem.Label,resource://resource.images.studios.white/,.png]</texture>
						<visible>Container.Content(studios)</visible>
					</control>
					<!--
					<control type="image">
                        <left>10</left>
						<top>5</top>
						<height>135</height>
						<width>135</width>
						<aspectratio align="center" aligny="bottom">keep</aspectratio>
                        <texture background="true">$INFO[ListItem.Label,resource://resource.images.moviecountryicons.maps/,.png]</texture>
						<visible>Container.Content(Countries)</visible>
					
                    </control>
					<control type="image">
                        <left>10</left>
						<top>5</top>
						<height>135</height>
						<width>135</width>
						<aspectratio align="center" aligny="center">keep</aspectratio>
                        <texture background="true">$INFO[ListItem.Label,resource://resource.images.studios.white/,.png]</texture>
						<visible>Container.Content(studios)</visible>
					</control>
					-->
					
					
					
                    <control type="label">
                        <label>$INFO[ListItem.Label]</label>
                        <include>PanelButtonTitle</include>
                    </control>
					<control type="image">
                        <include>PanelButtonIcon</include>
                        <texture background="true">$INFO[ListItem.Icon]</texture>
						<visible>String.IsEqual(ListItem.Label,..)</visible>
                    </control>
                </itemlayout>
                <focusedlayout width="160" height="160">
                    <control type="image">
                        <include>PanelButtonImageFO</include>
                    </control>
                    <control type="image">
                        <include>PanelButtonIcon</include>
                        <texture background="true">moviegenres/$INFO[ListItem.Label].png</texture>
						<visible>Container.Content(genres)</visible>
                    </control>
					<control type="image">
                        <include>PanelButtonIcon</include>
                        <texture background="true">$INFO[ListItem.Icon]</texture>
						<visible>String.IsEqual(ListItem.Label,..)</visible>
                    </control>
					<control type="image">
                        <left>10</left>
						<top>5</top>
						<height>135</height>
						<width>135</width>
						<aspectratio align="center" aligny="bottom">keep</aspectratio>
                        <texture background="true">$INFO[ListItem.Label,resource://resource.images.moviecountryicons.maps/,.png]</texture>
						<visible>Container.Content(Countries)</visible>
			        </control>
					<control type="image">
                        <left>10</left>
						<top>5</top>
						<height>135</height>
						<width>135</width>
						<aspectratio align="center" aligny="center">keep</aspectratio>
                        <texture background="true">$INFO[ListItem.Label,resource://resource.images.studios.white/,.png]</texture>
						<visible>Container.Content(studios)</visible>
					</control>
					
                    <control type="label">
                        <label>$INFO[ListItem.Label]</label>
                        <include>PanelButtonTitle</include>
					</control>
                </focusedlayout>
            </control>
            <control type="label">
				<include>ViewMainTitle</include>
                <label>$INFO[Container.FolderName]</label>
            </control>
			
         </control>
    </include>
</includes>