<includes>
    <include name="GalleryView">
        <control type="group">
            <visible>Control.IsVisible(57)</visible>
            <include content="BackgroundAnimationForBottomRing" />
        </control>

        <control type="fixedlist" id="57">
            <viewtype label="31937">list</viewtype>
            <visible allowhiddenfocus="true">true</visible>
            
            <posx>0</posx>
            <posy>0</posy>
            <width>1920</width>
            <height>1000</height>
            <pagecontrol>67</pagecontrol>
            <focusposition>2</focusposition>
            <orientation>horizontal</orientation>
            <scrolltime>200</scrolltime>
            <onup>9000</onup>
            <ondown>67</ondown>
            <onleft>57</onleft>
            <onright>57</onright>
    
            <include content="InvisibleHorizontalListItemsForMenu" />
        </control>
        
        <control type="group">
            <visible>Control.IsVisible(57)</visible>
            <animation effect="slide" start="0,-1080" time="500" acceleration="1.5">WindowOpen</animation>
            <animation effect="slide" end="0,-1080" time="500" acceleration="1.5">WindowClose</animation>
            
            <control type="group">
                <posx>-200</posx>
                <posy>810</posy>

                <control type="group">
                    <visible>Container(57).OnNext</visible>
                    <animation type="Visible">
                        <effect type="slide" end="200,-150" />
                        <effect type="zoom" end="150" />
                    </animation>
                    <animation type="Hidden" reversible="false">
                        <effect type="slide" start="200,-150" end="0,0" time="200" />
                        <effect type="zoom" start="150" end="100" time="200" />
                    </animation>
                
                    <width>300</width>
                    <height>300</height>
                    <include content="ItemMinusThreeForGalleryView" />
                </control>    
            </control>    
            
            <control type="group">
                <posx>1920</posx>
                <posy>810</posy>

                <control type="group">
                    <visible>Container(57).OnPrevious</visible>
                    <animation type="Visible">
                        <effect type="slide" end="-300,-150" />
                        <effect type="zoom" end="150" />
                    </animation>
                    <animation type="Hidden" reversible="false">
                        <effect type="slide" start="-300,-150" end="0,0" time="200" />
                        <effect type="zoom" start="150" end="100" time="200" />
                    </animation>
                
                    <width>300</width>
                    <height>300</height>
                    <include content="ItemPlusThreeForGalleryView" />
                </control>    
            </control>    
            
            <control type="group">
                <posx>0</posx>
                <posy>660</posy>
                
                <control type="group">
                    <visible>!Container(57).OnPrevious + !Container(57).OnNext</visible>
                    <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>

                    <width>300</width>
                    <height>300</height>
                    <include content="ItemMinusTwoForGalleryView" />
                </control>
                <control type="group">
                    <visible>Container(57).OnPrevious</visible>
                    <animation type="Visible">
                        <effect type="slide" end="-200,150" />
                        <effect type="zoom" end="67" />
                    </animation>
                    <animation type="Hidden" reversible="false">
                        <effect type="slide" start="-200,150" end="0,0" time="200" />
                        <effect type="zoom" start="67" end="100" time="200" />
                    </animation>
                
                    <width>300</width>
                    <height>300</height>
                    <include content="ItemMinusTwoForGalleryView" />
                </control>    
                <control type="group">
                    <visible>Container(57).OnNext</visible>
                    <animation type="Visible">
                        <effect type="slide" end="220,-210" />
                        <effect type="zoom" end="150" />
                    </animation>
                    <animation type="Hidden" reversible="false">
                        <effect type="slide" start="220,-210" end="0,0" time="200" />
                        <effect type="zoom" start="150" end="100" time="200" />
                    </animation>
                
                    <width>300</width>
                    <height>300</height>
                    <include content="ItemMinusTwoForGalleryView" />
                </control>    
            </control>    
            
            <control type="group">
                <posx>1620</posx>
                <posy>660</posy>

                <control type="group">
                    <visible>!Container(57).OnPrevious + !Container(57).OnNext</visible>
                    <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                    
                    <width>300</width>
                    <height>300</height>
                    <include content="ItemPlusTwoForGalleryView" />
                </control>    
                <control type="group">
                    <visible>Container(57).OnPrevious</visible>
                    <animation type="Visible">
                        <effect type="slide" end="-370,-210" />
                        <effect type="zoom" end="150" />
                    </animation>
                    <animation type="Hidden" reversible="false">
                        <effect type="slide" start="-370,-210" end="0,0" time="200" />
                        <effect type="zoom" start="150" end="100" time="200" />
                    </animation>
                
                    <width>300</width>
                    <height>300</height>
                    <include content="ItemPlusTwoForGalleryView" />
                </control>    
                <control type="group">
                    <visible>Container(57).OnNext</visible>
                    <animation type="Visible">
                        <effect type="slide" end="300,150" />
                        <effect type="zoom" end="67" />
                    </animation>
                    <animation type="Hidden" reversible="false">
                        <effect type="slide" start="300,150" end="0,0" time="200" />
                        <effect type="zoom" start="67" end="100" time="200" />
                    </animation>
                
                    <width>300</width>
                    <height>300</height>
                    <include content="ItemPlusTwoForGalleryView" />
                </control>    
            </control>    
            
            <control type="group">
                <posx>220</posx>
                <posy>450</posy>

                <control type="group">
                    <visible>!Container(57).OnPrevious + !Container(57).OnNext</visible>
                    <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                    
                    <width>450</width>
                    <height>450</height>
                    <include content="ItemMinusOneForGalleryView" />
                </control>    
                <control type="group">
                    <visible>Container(57).OnPrevious</visible>
                    <animation type="Visible">
                        <effect type="slide" end="-220,210" />
                        <effect type="zoom" end="67" />
                    </animation>
                    <animation type="Hidden" reversible="false">
                        <effect type="slide" start="-220,210" end="0,0" time="200" />
                        <effect type="zoom" start="67" end="100" time="200" />
                    </animation>
                
                    <width>450</width>
                    <height>450</height>
                    <include content="ItemMinusOneForGalleryView" />
                </control>    
                <control type="group">
                    <visible>Container(57).OnNext</visible>
                    <animation type="Visible">
                        <effect type="slide" end="315,-420" />
                        <effect type="zoom" end="189" />
                    </animation>
                    <animation type="Hidden" reversible="false">
                        <effect type="slide" start="315,-420" end="0,0" time="200" />
                        <effect type="zoom" start="189" end="100" time="200" />
                    </animation>
                
                    <width>450</width>
                    <height>450</height>
                    <include content="ItemMinusOneForGalleryView" />
                </control>    
            </control>
            
            <control type="group">
                <posx>1250</posx>
                <posy>450</posy>

                <control type="group">
                    <visible>!Container(57).OnPrevious + !Container(57).OnNext</visible>
                    <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                    
                    <width>450</width>
                    <height>450</height>
                    <include content="ItemPlusOneForGalleryView" />
                </control>    
                <control type="group">
                    <visible>Container(57).OnPrevious</visible>
                    <animation type="Visible">
                        <effect type="slide" end="-715,-420" />
                        <effect type="zoom" end="189" />
                    </animation>
                    <animation type="Hidden" reversible="false">
                        <effect type="slide" start="-715,-420" end="0,0" time="200" />
                        <effect type="zoom" start="189" end="100" time="200" />
                    </animation>
                
                    <width>450</width>
                    <height>450</height>
                    <include content="ItemPlusOneForGalleryView" />
                </control>    
                <control type="group">
                    <visible>Container(57).OnNext</visible>
                    <animation type="Visible">
                        <effect type="slide" end="370,210" />
                        <effect type="zoom" end="67" />
                    </animation>
                    <animation type="Hidden" reversible="false">
                        <effect type="slide" start="370,210" end="0,0" time="200" />
                        <effect type="zoom" start="67" end="100" time="200" />
                    </animation>
                
                    <width>450</width>
                    <height>450</height>
                    <include content="ItemPlusOneForGalleryView" />
                </control>    
            </control>
                
            <control type="group">
                <posx>535</posx>
                <posy>30</posy>

                <control type="group">
                    <visible>!Container(57).OnPrevious + !Container(57).OnNext</visible>
                    <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                    
                    <width>850</width>
                    <height>850</height>
                    <include content="ItemOnOriginForGalleryView" />
                </control>    
                <control type="group">
                    <visible>Container(57).OnPrevious</visible>
                    <animation type="Visible">
                        <effect type="slide" end="-315,420" />
                        <effect type="zoom" end="53" />
                    </animation>
                    <animation type="Hidden" reversible="false">
                        <effect type="slide" start="-315,420" end="0,0" time="200" />
                        <effect type="zoom" start="53" end="100" time="200" />
                    </animation>
                
                    <width>850</width>
                    <height>850</height>
                    <include content="ItemOnOriginForGalleryView" />
                </control>    
                <control type="group">
                    <visible>Container(57).OnNext</visible>
                    <animation type="Visible">
                        <effect type="slide" end="715,420" />
                        <effect type="zoom" end="53" />
                    </animation>
                    <animation type="Hidden" reversible="false">
                        <effect type="slide" start="715,420" end="0,0" time="200" />
                        <effect type="zoom" start="53" end="100" time="200" />
                    </animation>
                
                    <width>850</width>
                    <height>850</height>
                    <include content="ItemOnOriginForGalleryView" />
                </control>    
            </control>
        </control>        
        
        <control type="group">
            <visible>Control.IsVisible(57)</visible>
            <include content="BottomRing" />
            <include content="LabelsForBottomRing" />
        </control>        

        <control type="scrollbar" id="67">
            <visible allowhiddenfocus="true">Control.IsVisible(57)</visible>
            <animation type="Conditional" condition="!Control.HasFocus(67) + !Container(57).Scrolling + !Skin.HasSetting(ViewScrollbar.Visible)">
                <effect type="slide" start="0,0" end="0,-40" time="100" />
            </animation>

            <posx>PosXForHorizontalScrollbarForView</posx>
            <posy>PosYForHorizontalScrollbarForView</posy>
            <width>WidthForHorizontalScrollbarForView</width>
            <height>HeightForHorizontalScrollbarForView</height>
            <orientation>horizontal</orientation>
            <texturesliderbackground border="14,0,14,0" colordiffuse="$VAR[BackgroundColor]">controls/verticalbar-thick.png</texturesliderbackground>
            <texturesliderbar border="14,0,14,0" colordiffuse="$VAR[SelectColor]">controls/verticalbar-thin.png</texturesliderbar>
            <texturesliderbarfocus border="14,0,14,0" colordiffuse="$VAR[MainColor]">controls/verticalbar-thin.png</texturesliderbarfocus>
            <onup>57</onup>
            <ondown>57</ondown>
            <onleft>67</onleft>
            <onright>67</onright>
        </control>
    </include>
    
    <include name="ItemMinusThreeForGalleryView">
        <control type="image">
            <posx>-25</posx>
            <posy>-25</posy>
            <width>250</width>
            <height>250</height>
            <texture background="true">elements/circle-shadow.png</texture>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>200</width>
            <height>200</height>
            <texture colordiffuse="$VAR[MainColor]">elements/circle-mask.png</texture>
        </control>
        <control type="image">
            <posx>4</posx>
            <posy>4</posy>
            <width>192</width>
            <height>192</height>
            <texture diffuse="elements/circle-mask.png">$VAR[ContentWrapMinusThreeThumbnail]</texture>
            <aspectratio scalediffuse="false">scale</aspectratio>
        </control>
    </include>
    
    <include name="ItemMinusTwoForGalleryView">
        <control type="image">
            <posx>-30</posx>
            <posy>-30</posy>
            <width>360</width>
            <height>360</height>
            <texture background="true">elements/circle-shadow.png</texture>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>300</width>
            <height>300</height>
            <texture colordiffuse="$VAR[MainColor]">elements/circle-mask.png</texture>
        </control>
        <control type="image">
            <posx>4</posx>
            <posy>4</posy>
            <width>292</width>
            <height>292</height>
            <texture diffuse="elements/circle-mask.png">$VAR[ContentWrapMinusTwoThumbnail]</texture>
            <aspectratio scalediffuse="false">scale</aspectratio>
        </control>
    </include>
    
    <include name="ItemMinusOneForGalleryView">
        <control type="image">
            <posx>-45</posx>
            <posy>-45</posy>
            <width>540</width>
            <height>540</height>
            <texture background="true">elements/circle-shadow.png</texture>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>450</width>
            <height>450</height>
            <texture colordiffuse="$VAR[MainColor]">elements/circle-mask.png</texture>
        </control>
        <control type="image">
            <posx>4</posx>
            <posy>4</posy>
            <width>442</width>
            <height>442</height>
            <texture diffuse="elements/circle-mask.png">$VAR[ContentWrapMinusOneThumbnail]</texture>
            <aspectratio scalediffuse="false">scale</aspectratio>
        </control>
    </include>
    
    <include name="ItemOnOriginForGalleryView">
        <control type="image">
            <posx>-100</posx>
            <posy>-100</posy>
            <width>1050</width>
            <height>1050</height>
            <texture background="true">elements/circle-shadow.png</texture>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>850</width>
            <height>850</height>
            <texture colordiffuse="$VAR[MainColor]">elements/circle-mask.png</texture>
        </control>
        <control type="image">
            <posx>8</posx>
            <posy>8</posy>
            <width>834</width>
            <height>834</height>
            <texture diffuse="elements/circle-mask.png">$VAR[ContentThumbnail]</texture>
            <aspectratio scalediffuse="false">scale</aspectratio>
        </control>
        <control type="group">
            <posx>335</posx>
            <posy>640</posy>
            <include content="DefaultOverlayMediaFlag" />
        </control>
    </include>
    
    <include name="ItemPlusOneForGalleryView">
        <control type="image">
            <posx>-45</posx>
            <posy>-45</posy>
            <width>540</width>
            <height>540</height>
            <texture background="true">elements/circle-shadow.png</texture>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>450</width>
            <height>450</height>
            <texture colordiffuse="$VAR[MainColor]">elements/circle-mask.png</texture>
        </control>
        <control type="image">
            <posx>4</posx>
            <posy>4</posy>
            <width>442</width>
            <height>442</height>
            <texture diffuse="elements/circle-mask.png">$VAR[ContentWrapPlusOneThumbnail]</texture>
            <aspectratio scalediffuse="false">scale</aspectratio>
        </control>
    </include>
    
    <include name="ItemPlusTwoForGalleryView">
        <control type="image">
            <posx>-30</posx>
            <posy>-30</posy>
            <width>360</width>
            <height>360</height>
            <texture background="true">elements/circle-shadow.png</texture>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>300</width>
            <height>300</height>
            <texture colordiffuse="$VAR[MainColor]">elements/circle-mask.png</texture>
        </control>
        <control type="image">
            <posx>4</posx>
            <posy>4</posy>
            <width>292</width>
            <height>292</height>
            <texture diffuse="elements/circle-mask.png">$VAR[ContentWrapPlusTwoThumbnail]</texture>
            <aspectratio scalediffuse="false">scale</aspectratio>
        </control>
    </include>

    <include name="ItemPlusThreeForGalleryView">
        <control type="image">
            <posx>-25</posx>
            <posy>-25</posy>
            <width>250</width>
            <height>250</height>
            <texture background="true">elements/circle-shadow.png</texture>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>200</width>
            <height>200</height>
            <texture colordiffuse="$VAR[MainColor]">elements/circle-mask.png</texture>
        </control>
        <control type="image">
            <posx>4</posx>
            <posy>4</posy>
            <width>192</width>
            <height>192</height>
            <texture diffuse="elements/circle-mask.png">$VAR[ContentWrapPlusThreeThumbnail]</texture>
            <aspectratio scalediffuse="false">scale</aspectratio>
        </control>
    </include>
</includes>
