<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>100</defaultcontrol>
	<onload>SetProperty(onnext,SetFocus(100))</onload>
	<onload>SetProperty(onback_10052,SetFocus(100))</onload>
	<onload>SetProperty(onback_10053,SetFocus(100))</onload>
	<onload>SetProperty(onback_10054,SetFocus(100))</onload>
	<onload>SetProperty(onback_10055,SetFocus(100))</onload>
	<onload>SetProperty(onback_10056,SetFocus(100))</onload>
	<onload>SetProperty(onback_10057,SetFocus(100))</onload>
	<onload>SetProperty(onback_10058,SetFocus(100))</onload>
	<onload>SetProperty(onback_10059,SetFocus(100))</onload>
	<controls>
		<!-- Storage container for the item details -->
		<control type="list" id="10051">
			<top>-3000</top>
			<left>-3000</left>
			<width>1</width>
			<height>1</height>
			<itemlayout/>
			<focusedlayout/>
		</control>
		<!-- background -->
		<control type="group">
			<animation effect="fade" start="0" end="100" time="400" condition="!Skin.HasSetting(Disable.Animations)">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="300"  condition="!Skin.HasSetting(Disable.Animations)+[String.IsEmpty(Window(home).Property(script.embuary.info-nextcall))]">WindowClose</animation>
			<animation effect="fade" start="100" end="0" time="0"  condition="!Skin.HasSetting(Disable.Animations)+[!String.IsEmpty(Window(home).Property(script.embuary.info-nextcall))]">WindowClose</animation>
			<animation effect="fade" time="400" condition="!Skin.HasSetting(Disable.Animations)">VisibleChange</animation>
			<control type="image">
				<width>1920</width>
				<height>1080</height>
				<aspectratio>scale</aspectratio>
				<texture>colors/black.png</texture>
			</control>
			<control type="group">
				<animation effect="fade" start="100" end="97" time="0"  condition="!Skin.HasSetting(Disable.Animations)">Conditional</animation>
				<control type="image">
					<width>1920</width>
					<height>1080</height>
					<aspectratio>scale</aspectratio>
					<texture colordiffuse="BackgroundColor">backgrounds/primary.jpg</texture>
				</control>
			</control>
			<control type="image">
				<width>1920</width>
				<height>1080</height>
				<aspectratio>scale</aspectratio>
				<fadetime>400</fadetime>
				<animation effect="fade" time="400" condition="!Skin.HasSetting(Disable.Animations)">VisibleChange</animation>
				<texture background="true">$INFO[Container(10051).ListItem.Art(fanart)]</texture>
			</control>
	        <control type="image">
				<!--             <visible>!Window.IsVisible(script-globalsearch-main.xml) + !Control.IsVisible(59) + !Control.IsVisible(501) + [![Window.IsVisible(movieinformation) | Window.IsVisible(musicinformation) | Window.IsVisible(songinformation)] | Window.IsVisible(MyPlaylist.xml)]</visible> -->
	            <include>FullscreenDimensions</include>
	            <texture>$VAR[CommonBackgroundOverlay]</texture>
				<!-- 			<texture>background.png</texture> -->
	            <colordiffuse>BackgroundColor</colordiffuse>
	        </control>
		</control>
		
				<!-- title -->
		<control type="group">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>110%</width>
				<height>170</height>
				<texture>frame/InfoBar.png</texture>
			</control>
			<control type="group">
				<left>35</left>
				<right>35</right>
				<height>100</height>
				<animation effect="fade" start="0" end="100" time="300" condition="!Skin.HasSetting(Disable.Animations)">WindowOpen</animation>
				<animation effect="fade" start="100" end="0" time="200"  condition="!Skin.HasSetting(Disable.Animations)+[String.IsEmpty(Window(home).Property(script.embuary.info-nextcall))]">WindowClose</animation>
				<animation effect="fade" start="100" end="0" time="0"  condition="!Skin.HasSetting(Disable.Animations)+[!String.IsEmpty(Window(home).Property(script.embuary.info-nextcall))]">WindowClose</animation>
				<control type="label">
					<left>220</left>
					<right>150</right>
					<label>$INFO[Container(10051).ListItem.Label]$INFO[Container(10051).ListItem.Year, ([COLOR FFA0A0A0],[/COLOR])]</label>
					<font>font18</font>
					<shadowcolor>50000000</shadowcolor>
					<aligny>center</aligny>
					<height>100</height>
				</control>
				<control type="image">
					<top>10</top>
					<left>0</left>
					<aligny>center</aligny>
					<texture>tmdb.png</texture>
					<height>65</height>
					<width>200</width>
					<aspectratio align="right">keep</aspectratio>
				</control>
			</control>
		</control>
		
		
		<!-- infos -->
		<control type="grouplist" id="50">
			<animation type="WindowOpen" condition="!Skin.HasSetting(Disable.Animations)">
				<effect type="fade" start="0" end="100" time="300" tween="sine" easing="out" />
				<effect type="slide" start="320" end="0" time="400" tween="cubic" easing="out" />
			</animation>
			<animation type="WindowCLose"  condition="!Skin.HasSetting(Disable.Animations)+[String.IsEmpty(Window(home).Property(script.embuary.info-nextcall))]">
				<effect type="fade" start="100" end="0" time="300" tween="sine" easing="out" />
				<effect type="slide" start="0" end="320" time="300" tween="cubic" easing="out" />
			</animation>
			<animation type="WindowCLose"  condition="!Skin.HasSetting(Disable.Animations)+[!String.IsEmpty(Window(home).Property(script.embuary.info-nextcall))]">
				<effect type="fade" start="100" end="0" time="0" tween="sine" easing="out" />
			</animation>

			<width>1920</width>
			<height>1080</height>
			<orientation>vertical</orientation>
			<scrolltime tween="cubic" easing="out">500</scrolltime>
			<itemgap>-210</itemgap>
			<usecontrolcoords>true</usecontrolcoords>
			<!-- Meta -->
			<control type="group">
				<top>110</top>
				<height>900</height>
				<!-- poster -->
				<control type="group">
					<left>103</left>
					<width>500</width>
					<height>750</height>
					<control type="image">
						<left>-20</left>
						<top>-20</top>
						<width>540</width>
						<height>790</height>
						<texture>dialogs/dialog-bg-nobo.png</texture>
						<bordertexture border="21">overlays/shadow.png</bordertexture>
						<bordersize>20</bordersize>
					</control>
					<control type="image">
						<width>500</width>
						<height>750</height>
						<texture background="true">$INFO[Container(10051).ListItem.Art(thumb)]</texture>
						<aspectratio>scale</aspectratio>
					</control>
				</control>
				<!-- meta -->
				<control type="group">
					<left>650</left>
					<right>103</right>
					<!-- plot -->
					<control type="image">
						<top>-11</top>
						<left>-21</left>
						<right>339</right>
						<height>640</height>
						<texture border="21">dialogs/dialog-bg.png</texture>
					</control>
					<control type="textbox">
						<top>20</top>
						<left>15</left>
						<right>375</right>
						<height max="580">auto</height>
						<align>justify</align>
						<aligny>top</aligny>
						<label fallback="19055">$INFO[Container(10051).ListItem.Property(biography)]</label>
						<font>font13</font>
						<!--<textcolor>ffffffff</textcolor>-->
						<shadowcolor>50000000</shadowcolor>
<!-- 						<autoscroll delay="6000" time="3000" repeat="10000">true</autoscroll> -->
					</control>
					<!-- facts -->
					<control type="image">
						<top>-11</top>
						<left>812</left>
						<right>-20</right>
						<height>640</height>
						<texture border="21">dialogs/dialog-bg.png</texture>
					</control>
					<control type="grouplist">
						<top>20</top>
						<left>840</left>
						<width>310</width>
						<right>10</right>
						<height>640</height>
						<itemgap>5</itemgap>
						<orientation>vertical</orientation>
						<aligny>top</aligny>
						<control type="label">
							<label>[COLOR LabelTextColor]$LOCALIZE[39025]:[/COLOR][CR]$INFO[Container(10051).ListItem.Property(Gender)]</label>
							<height>80</height>
							<font>font15</font>
							<shadowcolor>50000000</shadowcolor>
							<scroll>false</scroll>
							<align>left</align>
							<aligny>top</aligny>
							<visible>!String.IsEmpty(Container(10051).ListItem.Property(Gender))</visible>
						</control>
						<control type="label">
							<label>[COLOR LabelTextColor]$ADDON[script.embuary.info 32017]:[/COLOR][CR]$INFO[Container(10051).ListItem.Property(Known_For_Department)]</label>
							<height>80</height>
							<font>font15</font>
							<shadowcolor>50000000</shadowcolor>
							<scroll>false</scroll>
							<align>left</align>
							<aligny>top</aligny>
							<visible>!String.IsEmpty(Container(10051).ListItem.Property(Known_For_Department))</visible>
						</control>
						<control type="label">
							<label>[COLOR LabelTextColor]$ADDON[script.embuary.info 32006]:[/COLOR][CR]$INFO[Container(10051).ListItem.Property(age)]</label>
							<height>80</height>
							<font>font15</font>
							<shadowcolor>50000000</shadowcolor>
							<scroll>false</scroll>
							<align>left</align>
							<aligny>top</aligny>
							<visible>!String.IsEmpty(Container(10051).ListItem.Property(age))</visible>
						</control>
						<control type="label">
							<label>[COLOR LabelTextColor]$LOCALIZE[21893]:[/COLOR][CR]$INFO[Container(10051).ListItem.Property(birthday)]</label>
							<height>80</height>
							<font>font15</font>
							<shadowcolor>50000000</shadowcolor>
							<scroll>false</scroll>
							<align>left</align>
							<aligny>top</aligny>
							<visible>!String.IsEmpty(Container(10051).ListItem.Property(birthday))</visible>
						</control>
						<control type="label">
							<label>[COLOR LabelTextColor]$LOCALIZE[21897]:[/COLOR][CR]$INFO[Container(10051).ListItem.Property(deathday)]</label>
							<height>80</height>
							<font>font15</font>
							<shadowcolor>50000000</shadowcolor>
							<scroll>false</scroll>
							<align>left</align>
							<aligny>top</aligny>
							<visible>!String.IsEmpty(Container(10051).ListItem.Property(deathday))</visible>
						</control>
						<control type="label">
							<label>[COLOR LabelTextColor]$ADDON[script.embuary.info 32007]:[/COLOR][CR]$INFO[Container(10051).ListItem.Property(Place_Of_Birth)]</label>
							<height>auto</height>
							<font>font15</font>
							<shadowcolor>50000000</shadowcolor>
							<wrapmultiline>true</wrapmultiline>
							<scroll>false</scroll>
							<align>left</align>
							<aligny>top</aligny>
							<visible>!String.IsEmpty(Container(10051).ListItem.Property(Place_Of_Birth))</visible>
						</control>
					</control>
					<!-- buttons -->
					<control type="panel" id="100">
						<top>619</top>
						<height>130</height>
						<width>100%</width>
						<orientation>horizontal</orientation>
						<defaultcontrol always="true">0</defaultcontrol>
						<onright>noop</onright>
						<onleft>noop</onleft>
						<ondown>10052</ondown>
						<itemlayout height="130" width="180">
							<control type="group">
								<control type="group">
									<control type="image">
										<centerleft>50%</centerleft>
										<top>15</top>
										<width>180</width>
										<height>48</height>
										<texture>icons/$INFO[ListItem.Property(icon)].png</texture>
										<aspectratio>keep</aspectratio>
									</control>
									<control type="label">
										<top>52</top>
										<width>180</width>
										<align>center</align>
										<font>font15</font>
										<shadowcolor>50000000</shadowcolor>
										<label>$INFO[ListItem.Label]</label>
									</control>
								</control>
							</control>
						</itemlayout>
						<focusedlayout height="130" width="180">
							<control type="group">
								<include>PanelFocusedItemZoom</include>
								<control type="image">
									<top>-10</top>
									<left>-10</left>
									<right>-10</right>
									<bottom>-10</bottom>
									<texture colordiffuse="FocusColor" border="5">listselect_fo.png</texture>
								</control>
								<control type="group">
									<control type="image">
										<centerleft>50%</centerleft>
										<top>15</top>
										<width>180</width>
										<height>48</height>
										<texture>icons/$INFO[ListItem.Property(icon)].png</texture>
										<aspectratio>keep</aspectratio>
									</control>
									<control type="label">
										<top>52</top>
										<width>180</width>
										<align>center</align>
										<font>font15</font>
										<shadowcolor>50000000</shadowcolor>
										<label>$INFO[ListItem.Label]</label>
									</control>
								</control>
							</control>
						</focusedlayout>
						<content>
							<item>
								<property name="icon">disable</property>
								<label>$LOCALIZE[15067]</label>
								<onclick>Dialog.Close(all)</onclick>
							</item>
							<item>
								<visible>!String.IsEmpty(Container(10051).ListItem.Property(biography))</visible>
								<property name="icon">plot</property>
								<label>$LOCALIZE[21887]</label>
								<onclick>RunScript(script.embuary.info,call=textviewer,header='$ESCINFO[Container(10051).ListItem.Label]',message='$ESCINFO[Container(10051).ListItem.Property(biography)]')</onclick>
							</item>
						</content>
					</control>
				</control>

			</control>

			<!-- movies -->
			<control type="group">
				<visible>true</visible>
				<visible>Integer.IsGreater(Container(10052).NumItems,0) | Container(10052).IsUpdating</visible>
				<top>50</top>
				<height>715</height>
				<control type="group">
					<control type="label">
						<left>55</left>
						<top>40</top>
						<width>900</width>
						<height>90</height>
						<align>left</align>
							<textcolor>LabelTextColor</textcolor>
						<label>$LOCALIZE[342]</label>
						<!--<textcolor>ffffffff</textcolor>-->
						<shadowcolor>50000000</shadowcolor>
						<font>font13</font>
					</control>

	<include content="fullwidth-posterlist">
		<param name="controlid" value="10052"/>
		<param name="upid" value="100"/>
		<param name="downid" value="10053"/>
	</include>


				</control>
			</control>

			<!-- tv shows -->
			<control type="group">
				<visible>true</visible>
				<visible>Integer.IsGreater(Container(10053).NumItems,0) | Container(10053).IsUpdating</visible>
				<top>50</top>
				<height>715</height>
				<control type="group">
					<control type="label">
						<left>55</left>
						<top>40</top>
						<width>900</width>
						<height>90</height>
						<align>left</align>
							<textcolor>LabelTextColor</textcolor>
						<label>$LOCALIZE[20343]</label>
						<!--<textcolor>ffffffff</textcolor>-->
						<shadowcolor>50000000</shadowcolor>
						<font>font13</font>
					</control>

	<include content="fullwidth-posterlist">
		<param name="controlid" value="10053"/>
		<param name="upid" value="10052"/>
		<param name="downid" value="10054"/>
	</include>


				</control>
			</control>

			<!-- images -->
			<control type="group">
				<visible>true</visible>
				<visible>Integer.IsGreater(Container(10054).NumItems,0) | Container(10054).IsUpdating</visible>
				<top>50</top>
				<height>715</height>
				<control type="group">
					<control type="label">
						<left>55</left>
						<top>40</top>
						<width>900</width>
						<height>90</height>
						<align>left</align>
							<textcolor>LabelTextColor</textcolor>
						<label>$ADDON[script.embuary.info 32010]</label>
						<!--<textcolor>ffffffff</textcolor>-->
						<shadowcolor>50000000</shadowcolor>
						<font>font13</font>
					</control>

	<include content="fullwidth-posterlist">
		<param name="controlid" value="10054"/>
		<param name="upid" value="10053"/>
		<param name="downid" value="noop"/>
	</include>

				</control>
			</control>

		</control>


	</controls>
</window>