<!-- XLink Home -->
<window>

	<id>1113</id>
	<defaultcontrol always="true">4</defaultcontrol>
	<allowoverlay>no</allowoverlay>
	<previouswindow>1113</previouswindow>

	<controls>

		<control>
			<description>Background Animation</description>
			<type>image</type>
			<posx>18</posx>
			<posy>0</posy>
			<width>610</width>
			<height>576</height>
			<colordiffuse>50FFFFFF</colordiffuse>
			<texture>background-animation1.gif</texture>
			<visible>!Player.HasMedia + !Control.HasFocus(2) + !Skin.String(KAI)</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control>

		<control>
			<type>visualisation</type>
			<posx>18</posx>
			<posy>0</posy>
			<width>610</width>
			<height>576</height>
			<visible>!Control.HasFocus(2)</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control>

		<control>
			<description>video preview window</description>
			<type>videowindow</type>
			<posx>18</posx>
			<posy>0</posy>
			<width>610</width>
			<height>576</height>
			<visible>!Control.HasFocus(2)</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control>

		<control>
			<description>Orange Background Static Alpha</description>
			<type>image</type>
			<posx>18</posx>
			<posy>0</posy>
			<width>610</width>
			<height>576</height>
			<visible>!Control.HasFocus(2) + !Skin.String(KAI)</visible>
			<texture>background-orange-alpha.png</texture>
		</control>

		<control>
			<description>KAI Custom Background Static</description>
			<type>image</type>
			<posx>18</posx>
			<posy>0</posy>
			<width>610</width>
			<height>576</height>
			<info>Skin.String(KAI)</info>
			<visible>!Control.HasFocus(2) + !Player.HasMedia</visible>
		</control>

		<control>
			<description>KAI Custom Background Static Alpha</description>
			<type>image</type>
			<posx>18</posx>
			<posy>0</posy>
			<width>610</width>
			<height>576</height>
			<info>Skin.String(KAI)</info>
			<colordiffuse>77FFFFFF</colordiffuse>
			<visible>!Control.HasFocus(2) + Player.HasMedia</visible>
		</control>

<!-- Begin XLink Controls -->
		<control>
			<description>Whitewash Glass Top Left</description>
			<type>image</type>
			<posx>70</posx>
			<posy>0</posy>
			<width>16</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-top-left.png</texture>
			<visible>!Control.HasFocus(2) + !Skin.String(KAI)</visible>
		</control>

		<control>
			<description>Whitewash Glass Top Middle</description>
			<type>image</type>
			<posx>86</posx>
			<posy>0</posy>
			<width>492</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-top-middle.png</texture>
			<visible>!Control.HasFocus(2) + !Skin.String(KAI)</visible>
		</control>

		<control>
			<description>Whitewash Glass Top Right</description>
			<type>image</type>
			<posx>578</posx>
			<posy>0</posy>
			<width>16</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-top-right.png</texture>
			<visible>!Control.HasFocus(2) + !Skin.String(KAI)</visible>
		</control>

		<control>
			<description>Whitewash Glass Bottom Left</description>
			<type>image</type>
			<posx>70</posx>
			<posy>512</posy>
			<width>16</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-bottom-left.png</texture>
			<visible>!Control.HasFocus(2) + !Skin.String(KAI)</visible>
		</control>

		<control>
			<description>Whitewash Glass Bottom Middle</description>
			<type>image</type>
			<posx>86</posx>
			<posy>512</posy>
			<width>492</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-bottom-middle.png</texture>
			<visible>!Control.HasFocus(2) + !Skin.String(KAI)</visible>
		</control>

		<control>
			<description>Whitewash Glass Bottom Right</description>
			<type>image</type>
			<posx>578</posx>
			<posy>512</posy>
			<width>16</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-bottom-right.png</texture>
			<visible>!Control.HasFocus(2) + !Skin.String(KAI)</visible>
		</control>

		<control>
			<description>Whitewash Overlay Left</description>
			<type>image</type>
			<posx>60</posx>
			<posy>0</posy>
			<width>32</width>
			<height>576</height>
			<texture>background-overlay-whitewash-left.png</texture>
			<visible>!Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>Whitewash Overlay Middle</description>
			<type>image</type>
			<posx>92</posx>
			<posy>0</posy>
			<width>453</width>
			<height>576</height>
			<texture>background-overlay-whitewash-centertile.png</texture>
			<visible>!Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>Whitewash Overlay Right</description>
			<type>image</type>
			<posx>545</posx>
			<posy>0</posy>
			<width>64</width>
			<height>576</height>
			<texture>background-overlay-whitewash-right.png</texture>
			<visible>!Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>Y Button</description>
			<type>image</type>
			<posx>125</posx>
			<posy>505</posy>
			<width>21</width>
			<height>21</height>
			<texture>button-Y-turnedoff.png</texture>
			<visible>!Control.HasFocus(2)</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control>

		<control>
			<description>X Button</description>
			<type>image</type>
			<posx>112</posx>
			<posy>525</posy>
			<width>21</width>
			<height>21</height>
			<texture>button-X-turnedoff.png</texture>
			<visible>!Control.HasFocus(2) + !Player.HasMedia</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control>

		<control>
			<description>X Button</description>
			<type>image</type>
			<posx>112</posx>
			<posy>525</posy>
			<width>21</width>
			<height>21</height>
			<texture>button-X.png</texture>
			<visible>!Control.HasFocus(2) + Player.HasMedia</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control>

		<control>
			<description>Full-Screen Visualisation Label</description>
			<include>KeymapFont</include>
			<posx>143</posx>
			<posy>528</posy>
			<include>20002</include>
			<align>left</align>
			<visible>!Control.HasFocus(2) + Player.HasAudio</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control>

		<control>
			<description>Full-Screen Video Label</description>
			<include>KeymapFont</include>
			<posx>143</posx>
			<posy>528</posy>
			<include>20003</include>
			<align>left</align>
			<visible>!Control.HasFocus(2) + Player.HasVideo</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control>

		<control>
			<description>B Button</description>
			<type>image</type>
			<posx>515</posx>
			<posy>505</posy>
			<width>21</width>
			<height>21</height>
			<texture>button-B-turnedoff.png</texture>
			<visible>!Control.HasFocus(2)</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control>

		<control>
			<description>A Button</description>
			<type>image</type>
			<posx>528</posx>
			<posy>525</posy>
			<width>21</width>
			<height>21</height>
			<texture>button-A.png</texture>
			<visible>!Control.HasFocus(2)</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control> 

		<control>
			<description>Select Label</description>
			<include>KeymapFont</include>
			<posx>518</posx>
			<posy>528</posy>
			<include>19020</include>
			<align>right</align>
			<visible>!Control.HasFocus(2)</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control>

		<control>
			<description>RSS Feeds</description>
			<type>rss</type>
			<posx>80</posx>
			<posy>6</posy>
			<width>505</width>
			<font>special13</font>
			<scroll>true</scroll>
			<urlset>1</urlset>
			<titlecolor>90ffffff</titlecolor>
			<headlinecolor>50FFFFFF</headlinecolor>
			<textcolor>FFffffff</textcolor>
			<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
			<visible>Skin.HasSetting(rss-feeds)</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control>

		<control>
			<description>XLink Kai Label</description>
			<type>label</type>
			<posx>102</posx>
			<posy>42</posy>
			<include>19003</include>
			<align>left</align>
			<font>font18</font>
			<include>shadow-black</include>
			<visible>!Control.HasFocus(2)</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
		</control>

<!-- Begin GamerCard -->
		<controlgroup id="50">

			<control>
				<description>GamerCard Button</description>
				<type>button</type>
				<id>4</id>
				<posx>86</posx>
				<posy>77</posy>
				<width>262</width>
				<height>125</height>
				<onleft>4</onleft>
				<onright>2</onright>
				<onup>11</onup>
				<ondown>5</ondown>
				<onclick>XBMC.RunScript(Q:\skin\MC360\extras\set_gamercard.py)</onclick>
				<texturefocus>gamecard_home-focus.png</texturefocus>
				<texturenofocus>gamecard_home.png</texturenofocus>
				<pulseonselect>no</pulseonselect>
				<visible>!Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Gamercard Shine</description>
				<type>image</type>
				<posx>70</posx>
				<posy>85</posy>
				<width>260</width>
				<height>25</height>
				<colordiffuse>10FFFFFF</colordiffuse>
				<texture>button_shine.gif</texture>
				<visible>!Control.HasFocus(2)</visible>
				<animation effect="fade" time="275">Visible</animation>
			</control>

			<control>
				<description>Gamercard Name</description>
				<type>label</type>
				<posx>105</posx>
				<posy>90</posy>
				<label>GamerTag Not Set</label>
				<align>left</align>
				<font>bold14</font>
				<visible>!Skin.String(GamerName)</visible>
				<textcolor>FF000000</textcolor>
				<include>shadow-white</include>
				<include>GamerCardItems</include>
			</control>

			<control>
				<description>Gamercard Name</description>
				<type>label</type>
				<posx>105</posx>
				<posy>90</posy>
				<include>GamerName</include>
				<align>left</align>
				<font>bold14</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-white</include>
				<include>GamerCardItems</include>
			</control>

			<control>
				<description>Gamercard Rep</description>
				<type>label</type>
				<posx>160</posx>
				<posy>117</posy>
				<label>Rep:</label>
				<align>left</align>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<include>GamerCardItems</include>
			</control>

			<control>
				<description>Gamercard Pic Outline</description>
				<type>image</type>
				<posx>95</posx>
				<posy>118</posy>
				<width>64</width>
				<height>64</height>
				<texture>gamercard_iconoutline.png</texture>
				<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Gamercard Pic</description>
				<type>image</type>
				<posx>105</posx>
				<posy>127</posy>
				<width>45</width>
				<height>45</height>
				<include>GamerIcon</include>
				<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Gamercard Score Text</description>
				<type>label</type>
				<posx>180</posx>
				<posy>140</posy>
				<label>amerscore:</label>
				<align>left</align>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<include>GamerCardItems</include>
			</control>

			<control>
				<description>Gamercard Score</description>
				<type>label</type>
				<posx>320</posx>
				<posy>140</posy>
				<include>GamerScore</include>
				<align>right</align>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<include>GamerCardItems</include>
			</control>

			<control>
				<description>Gamercard Zone</description>
				<type>label</type>
				<posx>160</posx>
				<posy>163</posy>
				<label>Zone:</label>
				<align>left</align>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<include>GamerCardItems</include>
			</control>

			<control>
				<description>Gamercard Info Zone</description>
				<type>label</type>
				<posx>320</posx>
				<posy>163</posy>
				<include>GamerZone</include>
				<align>right</align>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<include>GamerCardItems</include>
			</control>

			<control>
				<description>Gamercard Rep</description>
				<type>image</type>
				<posx>198</posx>
				<posy>110</posy>
				<width>128</width>
				<height>32</height>
				<include>GamerRep</include>
				<include>GamerCardItems</include>
			</control>

			<control>
				<description>Gamercard Score Icon</description>
				<type>image</type>
				<posx>160</posx>
				<posy>138</posy>
				<width>20</width>
				<height>20</height>
				<texture>icon-gamescore.png</texture>
				<align>right</align>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<include>GamerCardItems</include>
			</control>
<!-- End GamerCard -->

			<control>
				<description>KAI Ad</description>
				<type>image</type>
				<posx>341</posx>
				<posy>183</posy>
				<width>256</width>
				<height>256</height>
				<texture>middle-panel.png</texture>
				<visible>!Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>KAI Logo</description>
				<type>image</type>
				<posx>392</posx>
				<posy>115</posy>
				<width>128</width>
				<height>128</height>
				<texture>kai-mainlogo.png</texture>
				<visible>!Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>
	
			<control>
				<description>Logo Shadow</description>
				<type>image</type>
				<posx>343</posx>
				<posy>185</posy>
				<width>232</width>
				<height>16</height>
				<texture>home_logoshadow.png</texture>
				<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Button Seperator</description>
				<type>image</type>
				<posx>100</posx>
				<posy>194</posy>
				<width>230</width>
				<height>1</height>
				<texture>divider.png</texture>
				<visible>[System.KaiConnected | !System.KaiConnected] + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Connect to kai Icon</description>
				<type>image</type>
				<posx>95</posx>
				<posy>196</posy>
				<width>64</width>
				<height>64</height>
				<texture>icon-connecttokai.png</texture>
				<visible>![System.KaiConnected] + !Control.HasFocus(8) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>icon</include>
			</control>

			<control>
				<description>Connect to kai Icon Slide Left</description>
				<type>image</type>
				<posx>95</posx>
				<posy>196</posy>
				<width>64</width>
				<height>64</height>
				<texture>icon-connecttokai.png</texture>
				<visible>Control.HasFocus(8) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>icon-effect</include>
			</control>

			<control>
				<description>Connect to kai Button Shadow</description>
				<type>image</type>
				<posx>100</posx>
				<posy>266</posy>
				<width>230</width>
				<height>16</height>
				<texture>button-shadow.png</texture>
				<visible>![System.KaiConnected] + Control.HasFocus(8) + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="250">Visible</animation>
			</control>

			<control>
				<description>Connect to kai button kai push button</description>
				<type>button</type>
				<id>8</id>
				<posx>90</posx>
				<posy>192</posy>
				<width>245</width>
				<height>80</height>
				<onleft>8</onleft>
				<onright>2</onright>
				<onup>7</onup>
				<ondown>9</ondown>
				<texturefocus>button-focus.png</texturefocus>
				<texturenofocus>-</texturenofocus>
				<pulseonselect>no</pulseonselect>
				<onclick>ActivateWindow(XLinkKai,Arenas)</onclick>
				<visible>![System.KaiConnected] + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Connect to kai Label</description>
				<type>label</type>
				<posx>156</posx>
				<posy>215</posy>
				<include>19019</include>
				<font>font14</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<align>left</align>
				<visible>![System.KaiConnected] + !Control.HasFocus(8) + !Control.HasFocus(2)</visible>
				<include>label</include>
			</control>

			<control>
				<description>Connect to kai Label Slide Left</description>
				<type>label</type>
				<posx>156</posx>
				<posy>215</posy>
				<include>19019</include>
				<font>font14</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<align>left</align>
				<visible>![System.KaiConnected] + Control.HasFocus(8) + !Control.HasFocus(2)</visible>
				<include>label-effect</include>
			</control>

			<control>
				<description>Connect to kai Button Shine</description>
				<type>image</type>
				<posx>90</posx>
				<posy>194</posy>
				<width>245</width>
				<height>76</height>
				<colordiffuse>10FFFFFF</colordiffuse>
				<texture>button_shine.gif</texture>
				<visible>![System.KaiConnected] + Control.HasFocus(8) + !Control.HasFocus(2)</visible>
				<animation effect="fade" delay="275">Visible</animation>
			</control>

			<control>
				<description>KAI Connect description 1</description>
				<type>label</type>
				<posx>363</posx>
				<posy>226</posy>
				<width>256</width>
				<height>15</height>
				<include>19014</include>
				<font>bold14</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<visible>!Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>KAI Connect description 2</description>
				<type>label</type>
				<posx>363</posx>
				<posy>251</posy>
				<width>256</width>
				<height>15</height>
				<include>19015</include>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<visible>!Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>KAI Connect description 3</description>
				<type>label</type>
				<posx>363</posx>
				<posy>276</posy>
				<width>256</width>
				<height>15</height>
				<include>19016</include>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<visible>!Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>KAI Connect description 4</description>
				<type>label</type>
				<posx>363</posx>
				<posy>301</posy>
				<width>256</width>
				<height>15</height>
				<include>19017</include>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<visible>!Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>KAI Connect description 5</description>
				<type>label</type>
				<posx>363</posx>
				<posy>326</posy>
				<width>256</width>
				<height>15</height>
				<include>19018</include>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<visible>!Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Extra Connect KAI description 6 (translator use only)</description>
				<type>label</type>
				<posx>363</posx>
				<posy>351</posy>
				<width>256</width>
				<height>15</height>
				<include>ExtraKAIDesc</include>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<visible>!Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Button Seperator</description>
				<type>image</type>
				<posx>100</posx>
				<posy>264</posy>
				<width>230</width>
				<height>1</height>
				<texture>divider.png</texture>
				<visible>![System.KaiConnected] + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Messages Icon</description>
				<type>image</type>
				<posx>110</posx>
				<posy>202</posy>
				<width>30</width>
				<height>30</height>
				<texture>icon-messages.png</texture>
				<visible>System.KaiConnected + !Control.HasFocus(5) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>icon</include>
			</control>

			<control>
				<description>Messages Icon Slide Left</description>
				<type>image</type>
				<posx>110</posx>
				<posy>202</posy>
				<width>30</width>
				<height>30</height>
				<texture>icon-messages.png</texture>
				<visible>Control.HasFocus(5) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>icon-effect</include>
			</control>

			<control>
				<description>Messages Button Shadow</description>
				<type>image</type>
				<posx>100</posx>
				<posy>234</posy>
				<width>230</width>
				<height>16</height>
				<texture>button-shadow.png</texture>
				<visible>System.KaiConnected + Control.HasFocus(5) + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="250">Visible</animation>
			</control>

			<control>
				<description>Messages Push Button</description>
				<type>button</type>
				<id>5</id>
				<posx>83</posx>
				<posy>194</posy>
				<width>256</width>
				<height>44</height>
				<onleft>5</onleft>
				<onright>2</onright>
				<onup>4</onup>
				<ondown>6</ondown>
				<onclick>ActivateWindow(XLinkKai,Chat)</onclick>
				<texturefocus>button-focus.png</texturefocus>
				<texturenofocus>-</texturenofocus>
				<pulseonselect>no</pulseonselect>
				<visible>System.KaiConnected + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Messages Label</description>
				<type>label</type>
				<posx>152</posx>
				<posy>204</posy>
				<include>19012</include>
				<font>font14</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<align>left</align>
				<visible>System.KaiConnected + !Control.HasFocus(5) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>label</include>
			</control>

			<control>
				<description>Messages Label Slide Left</description>
				<type>label</type>
				<posx>152</posx>
				<posy>204</posy>
				<include>19012</include>
				<font>font14</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<align>left</align>
				<visible>System.KaiConnected + Control.HasFocus(5) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>label-effect</include>
			</control>

			<control>
				<description>Messages Button Shine</description>
				<type>image</type>
				<posx>83</posx>
				<posy>196</posy>
				<width>245</width>
				<height>32</height>
				<colordiffuse>10FFFFFF</colordiffuse>
				<texture>button_shine.gif</texture>
				<visible>System.KaiConnected + Control.HasFocus(5) + !Control.HasFocus(2)</visible>
				<animation effect="fade" delay="275">Visible</animation>
			</control>

			<control>
				<description>Button Seperator</description>
				<type>image</type>
				<posx>100</posx>
				<posy>234</posy>
				<width>230</width>
				<height>1</height>
				<texture>divider.png</texture>
				<visible>System.KaiConnected + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Friends Icon</description>
				<type>image</type>
				<posx>113</posx>
				<posy>240</posy>
				<width>30</width>
				<height>30</height>
				<texture>icon-friends.png</texture>
				<visible>System.KaiConnected + !Control.HasFocus(6) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>icon</include>
			</control>

			<control>
				<description>Friends Icon Slide Left</description>
				<type>image</type>
				<posx>113</posx>
				<posy>240</posy>
				<width>30</width>
				<height>30</height>
				<texture>icon-friends.png</texture>
				<visible>Control.HasFocus(6) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>icon-effect</include>
			</control>

			<control>
				<description>Friends Button Shadow</description>
				<type>image</type>
				<posx>100</posx>
				<posy>274</posy>
				<width>230</width>
				<height>16</height>
				<texture>button-shadow.png</texture>
				<visible>System.KaiConnected + Control.HasFocus(6) + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="250">Visible</animation>
			</control>

			<control>
				<description>Friends Push Button</description>
				<type>button</type>
				<id>6</id>
				<posx>83</posx>
				<posy>234</posy>
				<width>256</width>
				<height>44</height>
				<onleft>6</onleft>
				<onright>2</onright>
				<onup>5</onup>
				<ondown>7</ondown>
				<texturefocus>button-focus.png</texturefocus>
				<texturenofocus>-</texturenofocus>
				<onclick>ActivateWindow(XLinkKai,Buddies)</onclick>
				<pulseonselect>no</pulseonselect>
				<visible>System.KaiConnected + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Friends Label</description>
				<type>label</type>
				<posx>152</posx>
				<posy>245</posy>
				<include>19013</include>
				<font>font14</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<align>left</align>
				<visible>System.KaiConnected + !Control.HasFocus(6) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>label</include>
			</control>

			<control>
				<description>Friends Label Slide Left</description>
				<type>label</type>
				<posx>152</posx>
				<posy>245</posy>
				<include>19013</include>
				<font>font14</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<align>left</align>
				<visible>System.KaiConnected + Control.HasFocus(6) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>label-effect</include>
			</control>


			<control>
				<description>Friends Button Shine</description>
				<type>image</type>
				<posx>83</posx>
				<posy>236</posy>
				<width>245</width>
				<height>32</height>
				<colordiffuse>10FFFFFF</colordiffuse>
				<texture>button_shine.gif</texture>
				<visible>System.KaiConnected + Control.HasFocus(6) + !Control.HasFocus(2)</visible>
				<animation effect="fade" delay="275">Visible</animation>
			</control>

			<control>
				<description>Button Seperator</description>
				<type>image</type>
				<posx>100</posx>
				<posy>274</posy>
				<width>230</width>
				<height>1</height>
				<texture>divider.png</texture>
				<visible>System.KaiConnected + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Games Icon</description>
				<type>image</type>
				<posx>110</posx>
				<posy>281</posy>
				<width>30</width>
				<height>30</height>
				<texture>icon-games.png</texture>
				<visible>System.KaiConnected + !Control.HasFocus(7) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>icon</include>
			</control>

			<control>
				<description>Games Icon Slide Left</description>
				<type>image</type>
				<posx>110</posx>
				<posy>281</posy>
				<width>30</width>
				<height>30</height>
				<texture>icon-games.png</texture>
				<visible>Control.HasFocus(7) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>icon-effect</include>
			</control>

			<control>
				<description>Games Button Shadow</description>
				<type>image</type>
				<posx>100</posx>
				<posy>314</posy>
				<width>230</width>
				<height>16</height>
				<texture>button-shadow.png</texture>
				<visible>System.KaiConnected + Control.HasFocus(7) + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="250">Visible</animation>
			</control>

			<control>
				<description>Games Push Button</description>
				<type>button</type>
				<id>7</id>
				<posx>83</posx>
				<posy>274</posy>
				<width>256</width>
				<height>44</height>
				<onleft>7</onleft>
				<onright>2</onright>
				<onup>6</onup>
				<ondown>8</ondown>
				<texturefocus>button-focus.png</texturefocus>
				<texturenofocus>-</texturenofocus>
				<pulseonselect>no</pulseonselect>
				<onclick>XBMC.ActivateWindow(XlinkKai,Games)</onclick>
				<visible>System.KaiConnected + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>Games Label</description>
				<type>label</type>
				<posx>152</posx>
				<posy>285</posy>
				<include>19001</include>
				<font>font14</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<align>left</align>
				<visible>System.KaiConnected + !Control.HasFocus(7) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>label</include>
			</control>

			<control>
				<description>Games Label Slide Left</description>
				<type>label</type>
				<posx>152</posx>
				<posy>285</posy>
				<include>19001</include>
				<font>font14</font>
				<textcolor>FF000000</textcolor>
                                <include>shadow-grey</include>
				<align>left</align>
				<visible>System.KaiConnected + Control.HasFocus(7) + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<include>label-effect</include>
			</control>


			<control>
				<description>Games Button Shine</description>
				<type>image</type>
				<posx>83</posx>
				<posy>277</posy>
				<width>245</width>
				<height>32</height>
				<colordiffuse>10FFFFFF</colordiffuse>
				<texture>button_shine.gif</texture>
				<visible>System.KaiConnected + Control.HasFocus(7) + !Control.HasFocus(2)</visible>
				<animation effect="fade" delay="275">Visible</animation>
			</control>

			<control>
				<description>Button Seperator</description>
				<type>image</type>
				<posx>100</posx>
				<posy>314</posy>
				<width>230</width>
				<height>1</height>
				<texture>divider.png</texture>
				<visible>System.KaiConnected + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>XLink Arena button</description>
				<type>button</type>
				<id>9</id>
				<posx>86</posx>
				<posy>324</posy>
				<width>322</width>
				<height>77</height>
				<onleft>9</onleft>
				<onright>2</onright>
				<onup>8</onup>
				<ondown>10</ondown>
				<texturefocus>ad-button-FO.png</texturefocus>
				<texturenofocus>ad-button-NF.png</texturenofocus>
				<pulseonselect>no</pulseonselect>
				<onclick>ActivateWindow(XLinkKai)</onclick>
				<visible>!Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>XLink Arena Animation</description>
				<type>image</type>
				<posx>96</posx>
				<posy>333</posy>
				<width>180</width>
				<height>57</height>
				<texture>xlink_smallad.gif</texture>
				<visible>!Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

			<control>
				<description>DVD Launch Button</description>
				<type>button</type>
				<id>10</id>
				<posx>86</posx>
				<posy>415</posy>
				<width>492</width>
				<height>71</height>
				<include>19049</include>
				<font>font14</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<onleft>10</onleft>
				<onright>2</onright>
				<onup>9</onup>
				<ondown>11</ondown>
				<texturefocus>dvdtrayeject-focus.png</texturefocus>
				<texturenofocus>dvdtrayeject-nofocus.png</texturenofocus>
				<textoffsetx>70</textoffsetx>
				<pulseonselect>no</pulseonselect>
				<visible>![System.hasmediadvd] + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
				<onclick>XBMC.EjectTray()</onclick>
			</control>
    
			<control>
				<description>DVD Launch Button 2</description>
				<type>button</type>
				<id>11</id>
				<posx>86</posx>
				<posy>415</posy>
				<width>492</width>
				<height>71</height>
				<label>Play:</label>
				<font>font14</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<onleft>11</onleft>
				<onright>2</onright>
				<onup>10</onup>
				<ondown>4</ondown>
				<texturefocus>dvdtray-focus.png</texturefocus>
				<texturenofocus>dvdtray-nofocus.png</texturenofocus>
				<textoffsetx>70</textoffsetx>
				<pulseonselect>no</pulseonselect>
				<visible>System.hasmediadvd + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
				<onclick>XBMC.PlayDVD()</onclick>
			</control>

			<control>
				<description>DVD Launch Label 2</description>
				<type>label</type>
				<id>11</id>
				<posx>156</posx>
				<posy>414</posy>
				<width>492</width>
				<height>71</height>
				<label>Play: $INFO[System.DVDLabel]</label>
				<font>font14</font>
				<aligny>center</aligny>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
		 		<visible>System.hasmediadvd + !Control.HasFocus(1) + !Control.HasFocus(2)</visible>
				<animation effect="fade" time="100">WindowOpen</animation>
			</control>

		</controlgroup>
<!-- End XLink Control -->

		<control>
			<description>Green Background Slide Left Alpha</description>
			<type>image</type>
			<posx>53</posx>
			<posy>0</posy>
			<width>610</width>
			<height>576</height>
			<visible>Control.HasFocus(2) + !Skin.String(Games)</visible>
			<animation effect="slide" start="585,0" time="100">Visible</animation>
			<texture>background-green-alpha.png</texture>
		</control>

		<control>
			<description>Games Custom Background Slide Left</description>
			<type>image</type>
			<posx>53</posx>
			<posy>0</posy>
			<width>610</width>
			<height>576</height>
			<info>Skin.String(Games)</info>
			<visible>Control.HasFocus(2) + !Player.HasMedia</visible>
			<animation effect="slide" start="585,0" time="100">Visible</animation>
		</control>

		<control>
			<description>Games Custom Background Slide Left Alpha</description>
			<type>image</type>
			<posx>53</posx>
			<posy>0</posy>
			<width>610</width>
			<height>576</height>
			<info>Skin.String(Games)</info>
			<colordiffuse>77FFFFFF</colordiffuse>
			<visible>Control.HasFocus(2) + Player.HasMedia</visible>
			<animation effect="slide" start="585,0" time="100">Visible</animation>
		</control>

<!-- Begin Games Blink -->
		<control>
			<description>Whitewash Glass Top Left</description>
			<type>image</type>
			<posx>105</posx>
			<posy>0</posy>
			<width>16</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-top-left.png</texture>
			<visible>Control.HasFocus(2) + !Skin.String(Games)</visible>
		</control>

		<control>
			<description>Whitewash Glass Top Middle</description>
			<type>image</type>
			<posx>121</posx>
			<posy>0</posy>
			<width>492</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-top-middle.png</texture>
			<visible>Control.HasFocus(2) + !Skin.String(Games)</visible>
		</control>

		<control>
			<description>Whitewash Glass Top Right</description>
			<type>image</type>
			<posx>613</posx>
			<posy>0</posy>
			<width>16</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-top-right.png</texture>
			<visible>Control.HasFocus(2) + !Skin.String(Games)</visible>
		</control>

		<control>
			<description>Whitewash Glass Bottom Left</description>
			<type>image</type>
			<posx>105</posx>
			<posy>512</posy>
			<width>16</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-bottom-left.png</texture>
			<visible>Control.HasFocus(2) + !Skin.String(Games)</visible>
		</control>

		<control>
			<description>Whitewash Glass Bottom Middle</description>
			<type>image</type>
			<posx>121</posx>
			<posy>512</posy>
			<width>492</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-bottom-middle.png</texture>
			<visible>Control.HasFocus(2) + !Skin.String(Games)</visible>
		</control>

		<control>
			<description>Whitewash Glass Bottom Right</description>
			<type>image</type>
			<posx>613</posx>
			<posy>512</posy>
			<width>16</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-bottom-right.png</texture>
			<visible>Control.HasFocus(2) + !Skin.String(Games)</visible>
		</control>

		<control>
			<description>Whitewash Overlay Left</description>
			<type>image</type>
			<posx>95</posx>
			<posy>0</posy>
			<width>32</width>
			<height>576</height>
			<texture>background-overlay-whitewash-left.png</texture>
			<visible>Control.HasFocus(2)</visible>
			<animation effect="zoom" center="111,288" start="100,30" time="100">visible</animation>
		</control>

		<control>
			<description>Whitewash Overlay Middle</description>
			<type>image</type>
			<posx>127</posx>
			<posy>0</posy>
			<width>453</width>
			<height>576</height>
			<texture>background-overlay-whitewash-centertile.png</texture>
			<visible>Control.HasFocus(2)</visible>
			<animation effect="zoom" center="353,288" start="100,30" time="100">visible</animation>
		</control>

		<control>
			<description>Whitewash Overlay Right</description>
			<type>image</type>
			<posx>580</posx>
			<posy>0</posy>
			<width>64</width>
			<height>576</height>
			<texture>background-overlay-whitewash-right.png</texture>
			<visible>Control.HasFocus(2)</visible>
			<animation effect="zoom" center="612,288" start="100,30" time="100">visible</animation>
		</control>
<!-- End Games Blink -->

		<control>
			<description>Orange Background Slide Left</description>
			<type>image</type>
			<posx>18</posx>
			<posy>0</posy>
			<width>610</width>
			<height>576</height>
			<visible>Control.HasFocus(2) + !Skin.String(KAI)</visible>
			<animation effect="slide" end="-585,0" time="100">Visible</animation>
			<texture>background-orange.png</texture>
		</control>

		<control>
			<description>KAI Custom Background Slide Left</description>
			<type>image</type>
			<posx>18</posx>
			<posy>0</posy>
			<width>610</width>
			<height>576</height>
			<info>Skin.String(KAI)</info>
			<visible>Control.HasFocus(2) + !Player.HasMedia</visible>
			<animation effect="slide" end="-585,0" time="100">Visible</animation>
		</control>

		<control>
			<description>KAI Custom Background Slide Left Alpha</description>
			<type>image</type>
			<posx>18</posx>
			<posy>0</posy>
			<width>610</width>
			<height>576</height>
			<info>Skin.String(KAI)</info>
			<colordiffuse>77FFFFFF</colordiffuse>
			<visible>Control.HasFocus(2) + Player.HasMedia</visible>
			<animation effect="slide" end="-585,0" time="100">Visible</animation>
		</control>

<!-- Begin Sliding Textures -->
		<control>
			<description>Blank Blade Slide Left</description>
			<type>image</type>
			<posx>608</posx>
			<posy>0</posy>
			<width>80</width>
			<height>576</height>
			<texture>blades-blank-right.png</texture>
			<visible>Control.HasFocus(2)</visible>
			<animation effect="slide" end="-585,0" time="100">Visible</animation>
		</control>
<!-- End Sliding Textures -->

<!-- Begin Real Blade Runners -->
		<control>
			<description>Left Blade Runner</description>
			<type>image</type>
			<posx>-61</posx>
			<posy>0</posy>
			<width>128</width>
			<height>576</height>
			<texture>blades-runner-left.png</texture>
		</control>

		<control>
			<description>Right Blade Runner</description>
			<type>image</type>
			<posx>665</posx>
			<posy>0</posy>
			<width>128</width>
			<height>576</height>
			<texture>blades-runner-right.png</texture>
		</control>
<!-- End Real Blade Runners -->

<!-- Begin Real Set of Blades -->
		<control>
			<description>XLink Blade</description>
			<type>image</type>
			<posx>18</posx>
			<posy>0</posy>
			<width>80</width>
			<height>576</height>
			<texture>blades-size4-header.png</texture>
			<visible>!Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>XLink Label</description>
			<type>label</type>
			<include>19010</include>
			<posx>79</posx>
			<posy>155</posy>
			<font>font14</font>
			<textcolor>FF000000</textcolor>
			<aligny>top</aligny>
			<angle>270</angle>
			<visible>!Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>Games Blade Image on Right</description>
			<type>image</type>
			<posx>563</posx>
			<posy>0</posy>
			<width>80</width>
			<height>576</height>
			<texture>blades-size3-right-NF.png</texture>
			<visible>!Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>Games Blade Label on Right</description>
			<type>label</type>
			<include>19008</include>
			<posx>606</posx>
			<posy>163</posy>
			<font>font14</font>
			<textcolor>FF353535</textcolor>
			<aligny>top</aligny>
			<angle>270</angle>
			<visible>!Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>Media Blade</description>
			<type>image</type>
			<posx>598</posx>
			<posy>0</posy>
			<width>80</width>
			<height>576</height>
			<texture>blades-size2-right-NF.png</texture>
			<visible>!Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>Media Label</description>
			<type>label</type>
			<include>19009</include>
			<posx>641</posx>
			<posy>170</posy>
			<font>font14</font>
			<textcolor>FF353535</textcolor>
			<aligny>top</aligny>
			<angle>270</angle>
			<visible>!Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>System Blade</description>
			<type>image</type>
			<posx>633</posx>
			<posy>0</posy>
			<width>80</width>
			<height>576</height>
			<texture>blades-size1-right-NF.png</texture>
			<visible>!Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>System Label</description>
			<type>label</type>
			<include>19011</include>
			<posx>676</posx>
			<posy>177</posy>
			<font>font14</font>
			<textcolor>FF353535</textcolor>
			<aligny>top</aligny>
			<angle>270</angle>
			<visible>!Control.HasFocus(2)</visible>
		</control>
<!-- End Real Set of Blades -->

<!-- Begin Blades for Games Home -->
		<control>
			<description>XLink Blade</description>
			<type>image</type>
			<posx>18</posx>
			<posy>0</posy>
			<width>80</width>
			<height>576</height>
			<texture>blades-size3-left-NF.png</texture>
			<visible>Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>XLink Label</description>
			<type>label</type>
			<include>19010</include>
			<posx>79</posx>
			<posy>163</posy>
			<font>font14</font>
			<textcolor>FF353535</textcolor>
			<aligny>top</aligny>
			<angle>270</angle>
			<visible>Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>Games Blade Left</description>
			<type>button</type>
			<id>2</id>
			<posx>53</posx>
			<posy>0</posy>
			<width>80</width>
			<height>576</height>
			<include>19008</include>
			<font>font14</font>
			<textcolor>FF000000</textcolor>
			<aligny>top</aligny>
			<textoffsetx>61</textoffsetx>
			<textoffsety>155</textoffsety>
			<angle>270</angle>
			<onleft>2</onleft>
			<onright>2</onright>
			<onup>2</onup>
			<ondown>2</ondown>
			<pulseonselect>no</pulseonselect>
			<visible allowhiddenfocus="true">Control.HasFocus(2)</visible>
			<animation effect="fade" delay="100" time="100">Focus</animation>
			<texturefocus>blades-size4-header.png</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onfocus>XBMC.ReplaceWindow(1112)</onfocus>
		</control>

		<control>
			<description>Media Blade</description>
			<type>image</type>
			<posx>598</posx>
			<posy>0</posy>
			<width>80</width>
			<height>576</height>
			<texture>blades-size3-right-NF.png</texture>
			<visible>Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>Media Label</description>
			<type>label</type>
			<include>19009</include>
			<posx>641</posx>
			<posy>163</posy>
			<font>font14</font>
			<textcolor>FF353535</textcolor>
			<aligny>top</aligny>
			<angle>270</angle>
			<visible>Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>System Blade</description>
			<type>image</type>
			<posx>633</posx>
			<posy>0</posy>
			<width>80</width>
			<height>576</height>
			<texture>blades-size2-right-NF.png</texture>
			<visible>Control.HasFocus(2)</visible>
		</control>

		<control>
			<description>System Label</description>
			<type>label</type>
			<include>19011</include>
			<posx>676</posx>
			<posy>170</posy>
			<font>font14</font>
			<textcolor>FF353535</textcolor>
			<aligny>top</aligny>
			<angle>270</angle>
			<visible>Control.HasFocus(2)</visible>
		</control>
<!-- End Blades for Games Home -->

<!-- XLink Blade Hazes -->
		<control>
			<description>XLink Blade Haze Left</description>
			<type>image</type>
			<posx>0</posx>
			<posy>288</posy>
			<width>98</width>
			<height>288</height>
			<texture>haze-orange.png</texture>
			<visible>!Control.HasFocus(2) + !Skin.String(KAI)</visible>
			<animation effect="fade" time="100">Hidden</animation>
		</control>

		<control>
			<description>XLink Blade Haze Right</description>
			<type>image</type>
			<posx>563</posx>
			<posy>288</posy>
			<width>157</width>
			<height>288</height>
			<texture>haze-orange.png</texture>
			<visible>!Control.HasFocus(2) + !Skin.String(KAI)</visible>
			<animation effect="fade" time="100">Hidden</animation>
		</control>

<!-- Games Blade Hazes -->
		<control>
			<description>Games Blade Haze Left</description>
			<type>image</type>
			<posx>0</posx>
			<posy>288</posy>
			<width>133</width>
			<height>288</height>
			<texture>haze-green.png</texture>
			<visible>Control.HasFocus(2) + !Skin.String(Games)</visible>
			<animation effect="fade" time="100">Visible</animation>
		</control>

		<control>
			<description>Games Blade Haze Right</description>
			<type>image</type>
			<posx>598</posx>
			<posy>288</posy>
			<width>122</width>
			<height>288</height>
			<texture>haze-green.png</texture>
			<visible>Control.HasFocus(2) + !Skin.String(Games)</visible>
			<animation effect="fade" time="100">Visible</animation>
		</control>

	</controls>

</window>