<includes>
	<variable name="MPAAFilmRating">
		<value condition="substring(ListItem.MPAA,Rated G) | substring(ListItem.MPAA,USA:G)">flags/mpaa/film/rating-g.png</value>
		<value condition="[substring(ListItem.MPAA,Rated PG) + !substring(ListItem.MPAA,13)] | substring(ListItem.MPAA,USA:PG)">flags/mpaa/film/rating-pg.png</value>
		<value condition="[substring(ListItem.MPAA,PG-13) | substring(ListItem.MPAA,USA:PG-13)] + [!substring(ListItem.MPAA,USA:R) + !substring(ListItem.MPAA,rated R)]">flags/mpaa/film/rating-pg13.png</value>
		<value condition="substring(ListItem.MPAA,Rated R) | substring(ListItem.MPAA,USA:R)">flags/mpaa/film/rating-r.png</value>
		<value condition="substring(ListItem.MPAA, NC-17) | substring(ListItem.MPAA,USA:NC-17)">flags/mpaa/film/rating-nc17.png</value>
		<value>flags/mpaa/film/rating-nr.png</value>
	</variable>
	<variable name="VideoCodec">
		<value condition="[substring(ListItem.VideoCodec,div,left) | stringcompare(ListItem.VideoCodec,dx50)]">divx</value>
		<value>$INFO[ListItem.VideoCodec]</value>
	</variable>

	<include name="FlagsLayout">
			<width>65</width>
			<height>28</height>
			<colordiffuse>99ffffff</colordiffuse>
			<aspectratio align="center">keep</aspectratio>
	</include>

	<include name="FlagsOSDLayout">
			<width>50</width>
			<height>22</height>
			<colordiffuse>55ffffff</colordiffuse>
			<aspectratio align="center">keep</aspectratio>
	</include>
	
	<include name="VideoResFlagsConditions">
		<control type="image">
			<description>Video Resolution Image</description>
			<include>FlagsLayout</include>
			<texture>$INFO[ListItem.VideoResolution,flags/res/,.png]</texture>
		</control>
	</include>

	<include name="VideoCodecFlagsConditions">		
		<control type="image">
			<description>Video Codec Image</description>
			<include>FlagsLayout</include>
			<texture>$VAR[VideoCodec,flags/video/,.png]</texture>
		</control>
	</include>

	<include name="AudioFlagsConditions">
		<control type="image">
			<description>Audio Codec Image</description>
			<include>FlagsLayout</include>
			<texture>$INFO[ListItem.AudioCodec,flags/audio/,.png]</texture>
		</control>
	</include>

	<include name="AspectRatioFlagsConditions">
		<control type="image">
			<description>Aspectratio Image</description>
			<include>FlagsLayout</include>
			<texture>$INFO[ListItem.VideoAspect,flags/aspect/,.png]</texture>
		</control>
	</include>

	<include name="CameraLogosLayout">
			<posx>0</posx>
			<posy>0</posy>
			<width>161</width>
			<height>109</height>
	    <colordiffuse>99ffffff</colordiffuse>
	</include>
	<include name="CameraLogosFlags">
		<control type="image.">
      <include>CameraLogosLayout</include>
      <texture>views/list/info.png</texture>
			<visible>IsEmpty(ListItem.PictureCamMake)</visible>
		</control>
		<control type="image">
      <include>CameraLogosLayout</include>
      <texture>flags/camera/Canon.png</texture>
			<visible>SubString(ListItem.PictureCamMake,Canon) | SubString(ListItem.PictureCamModel,Canon)</visible>
		</control>
		<control type="image">
			<include>CameraLogosLayout</include>
      <texture>flags/camera/FujiFilm.png</texture>
			<visible>SubString(ListItem.PictureCamMake,FujiFilm) | SubString(ListItem.PictureCamModel,FujiFilm)</visible>
		</control>
		<control type="image">
			<include>CameraLogosLayout</include>
      <texture>flags/camera/Kodak.png</texture>
			<visible>SubString(ListItem.PictureCamMake,Kodak) | SubString(ListItem.PictureCamModel,Kodak)</visible>
		</control>
		<control type="image">
			<include>CameraLogosLayout</include>
      <texture>flags/camera/Leica.png</texture>
			<visible>SubString(ListItem.PictureCamMake,Leica) | SubString(ListItem.PictureCamModel,Leica)</visible>
		</control>
		<control type="image">
			<include>CameraLogosLayout</include>
      <texture>flags/camera/Nikon.png</texture>
			<visible>SubString(ListItem.PictureCamMake,Nikon) | SubString(ListItem.PictureCamModel,Nikon)</visible>
		</control>
		<control type="image">
			<include>CameraLogosLayout</include>
      <texture>flags/camera/Nokia.png</texture>
			<visible>SubString(ListItem.PictureCamMake,Nokia) | SubString(ListItem.PictureCamModel,Nokia)</visible>
		</control>
		<control type="image">
			<include>CameraLogosLayout</include>
      <texture>flags/camera/Olympus.png</texture>
			<visible>SubString(ListItem.PictureCamMake,Olympus) | SubString(ListItem.PictureCamModel,Olympus)</visible>
		</control>
		<control type="image">
			<include>CameraLogosLayout</include>
      <texture>flags/camera/Panasonic.png</texture>
			<visible>SubString(ListItem.PictureCamMake,Panasonic) | SubString(ListItem.PictureCamModel,Panasonic)</visible>
		</control>
		<control type="image">
			<include>CameraLogosLayout</include>
      <texture>flags/camera/Polaroid.png</texture>
			<visible>SubString(ListItem.PictureCamMake,Polaroid) | SubString(ListItem.PictureCamModel,Polaroid)</visible>
		</control>
		<control type="image">
			<include>CameraLogosLayout</include>
      <texture>flags/camera/Samsung.png</texture>
			<visible>SubString(ListItem.PictureCamMake,Samsung) | SubString(ListItem.PictureCamModel,Samsung)</visible>
		</control>
		<control type="image">
			<include>CameraLogosLayout</include>
      <texture>flags/camera/Sony.png</texture>
			<visible>SubString(ListItem.PictureCamMake,Sony) | SubString(ListItem.PictureCamModel,Sony)</visible>
		</control>
		<control type="image">
			<include>CameraLogosLayout</include>
      <texture>flags/camera/Toshiba.png</texture>
			<visible>SubString(ListItem.PictureCamMake,Toshiba) | SubString(ListItem.PictureCamModel,Toshiba)</visible>
		</control>
	</include>

	
</includes>