<window>

	<id>1122</id>
	<defaultcontrol>2</defaultcontrol>
	<type>dialog</type>

	<controls>

		<control>
			<description>GamerCard Button</description>
			<type>button</type>
			<id>1</id>
			<posx>55</posx>
			<posy>80</posy>
			<width>262</width>
			<height>125</height>
			<onleft>1</onleft>
			<onright>2</onright>
			<onup>7</onup>
			<ondown>2</ondown>
			<texturefocus>gamecard_home-focus.png</texturefocus>
			<texturenofocus>gamecard_home.png</texturenofocus>
			<onclick>-</onclick>
			<pulseonselect>no</pulseonselect>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<description>Gamercard Shine</description>
			<type>image</type>
			<posx>46</posx>
			<posy>85</posy>
			<width>242</width>
			<height>103</height>
			<colordiffuse>10FFFFFF</colordiffuse>
			<texture>button_shine.gif</texture>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<description>Divider</description>
			<type>image</type>
			<posx>45</posx>
			<posy>206</posy>
			<width>230</width>
			<height>1</height>
			<texture>divider.png</texture>
			<animation effect="fade" time="100">VisibleChange</animation>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<description>Set Xbox.com Gamecard Button</description>
			<type>button</type>
			<id>2</id>
			<posx>22</posx>
			<posy>196</posy>
			<width>280</width>
			<height>59</height>
			<texturefocus>guide-button-focus.png</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onclick>XBMC.RunScript(Q:\skin\MC360\extras\set_gamercard.py)</onclick>
			<pulseonselect>no</pulseonselect>
			<onleft>1</onleft>
			<onright>3</onright>
			<onup>1</onup>
			<ondown>3</ondown>
			<font>font14</font>
			<label>Custom GamerCard</label>
			<include>19062</include>
			<textoffsetx>30</textoffsetx>
			<textcolor>FF000000</textcolor>
                        <include>shadow-grey</include>
			<animation effect="fade" time="100">VisibleChange</animation>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<animation effect="zoom" start="95" end="100" center="157,223" time="300">focus</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<description>Divider</description>
			<type>image</type>
			<posx>45</posx>
			<posy>242</posy>
			<width>230</width>
			<height>1</height>
			<texture>divider.png</texture>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<description>Set Gamer Tag</description>
			<type>button</type>
			<id>3</id>
			<posx>22</posx>
			<posy>232</posy>
			<width>280</width>
			<height>59</height>
			<texturefocus>guide-button-focus.png</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onclick>Skin.SetString(GamerName)</onclick>
			<pulseonselect>no</pulseonselect>
			<onleft>2</onleft>
			<onright>4</onright>
			<onup>2</onup>
			<ondown>4</ondown>
			<font>font14</font>
			<include>19063</include>
			<textoffsetx>30</textoffsetx>
			<textcolor>FF000000</textcolor>
                        <include>shadow-grey</include>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<animation effect="zoom" start="95" end="100" center="157,259" time="300">focus</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<description>Divider</description>
			<type>image</type>
			<posx>45</posx>
			<posy>278</posy>
			<width>230</width>
			<height>1</height>
			<texture>divider.png</texture>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<description>Set Gamer Picture Button</description>
			<type>button</type>
			<id>4</id>
			<posx>22</posx>
			<posy>268</posy>
			<width>280</width>
			<height>59</height>
			<texturefocus>guide-button-focus.png</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onclick>Skin.SetImage(GamerIcon)</onclick>
			<pulseonselect>no</pulseonselect>
			<onleft>3</onleft>
			<onright>5</onright>
			<onup>3</onup>
			<ondown>5</ondown>
			<font>font14</font>
			<include>19064</include>
			<textoffsetx>30</textoffsetx>
			<textcolor>FF000000</textcolor>
                        <include>shadow-grey</include>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<animation effect="zoom" start="95" end="100" center="157,295" time="300">focus</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
            
		</control>

		<control>
			<description>Divider</description>
			<type>image</type>
			<posx>45</posx>
			<posy>314</posy>
			<width>230</width>
			<height>1</height>
			<texture>divider.png</texture>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<type>image</type>
			<info>Skin.String(GamerRep)</info>
			<description>GamerCard Reputation</description>
			<posx>70</posx>
			<posy>315</posy>
			<width>160</width>
			<height>40</height>
			<pulseonselect>no</pulseonselect>
			<animation effect="fade" time="100">VisibleChange</animation>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<controlgroup id="gcr">
        
			<control>
				<id>5</id>
				<texturefocus>gamercard_rep_0.png</texturefocus>
				<onleft>29</onleft>
				<onright>10</onright>
				<include>GamerRepImage</include>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_0.png)</onfocus>
			</control>

			<control>
				<id>5</id>
				<texturefocus>gamercard_rep_0.png</texturefocus>
				<onleft>29</onleft>
				<onright>10</onright>
				<include>GamerRepImage</include>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_0.png)</onfocus>
			</control>

			<control>
				<id>10</id>
				<texturefocus>gamercard_rep_1.png</texturefocus>
				<onleft>5</onleft>
				<onright>11</onright>
				<include>GamerRepImage</include>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_1.png)</onfocus>
			</control>

			<control>
				<id>11</id>
				<texturefocus>gamercard_rep_2.png</texturefocus>
				<onleft>10</onleft>
				<onright>12</onright>
				<include>GamerRepImage</include>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_2.png)</onfocus>
			</control>

			<control>
				<id>12</id>
				<texturefocus>gamercard_rep_3.png</texturefocus>
				<onleft>11</onleft>
				<onright>13</onright>
				<include>GamerRepImage</include>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_3.png)</onfocus>
			</control>

			<control>
				<id>13</id>
				<texturefocus>gamercard_rep_4.png</texturefocus>
				<onleft>12</onleft>
				<onright>14</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_4.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>14</id>
				<texturefocus>gamercard_rep_5.png</texturefocus>
				<onleft>13</onleft>
				<onright>15</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_5.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>15</id>
				<texturefocus>gamercard_rep_6.png</texturefocus>
				<onleft>14</onleft>
				<onright>16</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_6.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>16</id>
				<texturefocus>gamercard_rep_7.png</texturefocus>
				<onleft>15</onleft>
				<onright>17</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_7.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>17</id>
				<texturefocus>gamercard_rep_8.png</texturefocus>
				<onleft>16</onleft>
				<onright>18</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_8.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>18</id>
				<texturefocus>gamercard_rep_9.png</texturefocus>
				<onleft>17</onleft>
				<onright>19</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_9.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>19</id>
				<texturefocus>gamercard_rep_10.png</texturefocus>
				<onleft>18</onleft>
				<onright>20</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_10.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>20</id>
				<texturefocus>gamercard_rep_11.png</texturefocus>
				<onleft>19</onleft>
				<onright>21</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_11.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>21</id>
				<texturefocus>gamercard_rep_12.png</texturefocus>
				<onleft>20</onleft>
				<onright>22</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_12.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>22</id>
				<texturefocus>gamercard_rep_13.png</texturefocus>
				<onleft>21</onleft>
				<onright>23</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_13.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>23</id>
				<texturefocus>gamercard_rep_14.png</texturefocus>
				<onleft>22</onleft>
				<onright>24</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_14.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>24</id>
				<texturefocus>gamercard_rep_15.png</texturefocus>
				<onleft>23</onleft>
				<onright>25</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_15.png)</onfocus>
				<include>GamerRepImage</include>
			</control> 

			<control>
				<id>25</id>
				<texturefocus>gamercard_rep_16.png</texturefocus>
				<onleft>24</onleft>
				<onright>26</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_16.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>26</id>
				<texturefocus>gamercard_rep_17.png</texturefocus>
				<onleft>25</onleft>
				<onright>27</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_17.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>27</id>
				<texturefocus>gamercard_rep_18.png</texturefocus>
				<onleft>26</onleft>
				<onright>28</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_18.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>28</id>
				<texturefocus>gamercard_rep_19.png</texturefocus>
				<onleft>27</onleft>
				<onright>29</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_19.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

			<control>
				<id>29</id>
				<texturefocus>gamercard_rep_20.png</texturefocus>
				<onleft>28</onleft>
				<onright>5</onright>
				<onfocus>Skin.SetString(GamerRep,gamercard_rep_20.png)</onfocus>
				<include>GamerRepImage</include>
			</control>

		</controlgroup>

		<control>
			<description>Divider</description>
			<type>image</type>
			<posx>45</posx>
			<posy>350</posy>
			<width>230</width>
			<height>1</height>
			<texture>divider.png</texture>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<description>Set Gamer Score Button</description>
			<type>button</type>
			<id>6</id>
			<posx>22</posx>
			<posy>340</posy>
			<width>280</width>
			<height>59</height>
			<texturefocus>guide-button-focus.png</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onclick>Skin.SetString(GamerScore)</onclick>
			<pulseonselect>no</pulseonselect>
			<onleft>5</onleft>
			<onright>7</onright>
			<onup>5</onup>
			<ondown>7</ondown>
			<font>font14</font>
			<include>19065</include>
			<textoffsetx>30</textoffsetx>
			<textcolor>FF000000</textcolor>
                        <include>shadow-grey</include>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<animation effect="zoom" start="95" end="100" center="157,295" time="300">focus</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<description>Divider</description>
			<type>image</type>
			<posx>45</posx>
			<posy>386</posy>
			<width>230</width>
			<height>1</height>
			<texture>divider.png</texture>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<description>Set Gamer Zone Button</description>
			<type>button</type>
			<id>7</id>
			<posx>22</posx>
			<posy>376</posy>
			<width>280</width>
			<height>59</height>
			<texturefocus>guide-button-focus.png</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onclick>Skin.SetString(GamerZone)</onclick>
			<pulseonselect>no</pulseonselect>
			<onleft>6</onleft>
			<onright>1</onright>
			<onup>6</onup>
			<ondown>1</ondown>
			<font>font14</font>
			<include>19066</include>
			<textoffsetx>30</textoffsetx>
			<textcolor>FF000000</textcolor>
			<include>shadow-grey</include>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<animation effect="zoom" start="95" end="100" center="157,295" time="300">focus</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<description>Divider</description>
			<type>image</type>
			<posx>45</posx>
			<posy>422</posy>
			<width>230</width>
			<height>1</height>
			<texture>divider.png</texture>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>
		<control>
			<description>Left Arrow</description>
			<type>image</type>
			<posx>47</posx>
			<posy>317</posy>
			<width>16</width>
			<height>32</height>
			<texture>left_arrow.png</texture>
			<colordiffuse>FFAACCAA</colordiffuse>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>

		<control>
			<description>Right Arrow</description>
			<type>image</type>
			<posx>262</posx>
			<posy>317</posy>
			<width>16</width>
			<height>32</height>
			<texture>right-arrow.png</texture>
			<colordiffuse>FFAACCAA</colordiffuse>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<visible>!Window.IsActive(filebrowser)</visible>
		</control>
<!-- Begin GamerCard -->
		<controlgroup>

			<control>
				<description>Gamercard Name</description>
				<type>label</type>
				<posx>65</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>
				<animation effect="fade" time="100">WindowOpen</animation>
				<animation effect="fade" time="100">WindowClose</animation>
				<visible>!Window.IsActive(filebrowser)</visible>
			</control>

			<control>
				<description>Gamercard Name</description>
				<type>label</type>
				<posx>65</posx>
				<posy>90</posy>
				<include>GamerName</include>
				<align>left</align>
				<font>bold14</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-white</include>
				<animation effect="fade" time="100">WindowOpen</animation>
				<animation effect="fade" time="100">WindowClose</animation>
				<visible>!Window.IsActive(filebrowser)</visible>
			</control>

			<control>
				<description>Gamercard Rep</description>
				<type>label</type>
				<posx>131</posx>
				<posy>117</posy>
				<label>Rep:</label>
				<align>left</align>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<animation effect="fade" time="100">WindowOpen</animation>
				<animation effect="fade" time="100">WindowClose</animation>
				<visible>!Window.IsActive(filebrowser)</visible>
			</control>

			<control>
				<description>Gamercard Pic Outline</description>
				<type>image</type>
				<posx>65</posx>
				<posy>118</posy>
				<width>64</width>
				<height>64</height>
				<texture>gamercard_iconoutline.png</texture>
				<animation effect="fade" time="100">WindowOpen</animation>
				<animation effect="fade" time="100">WindowClose</animation>
				<visible>!Window.IsActive(filebrowser)</visible>
			</control>

			<control>
				<description>Gamercard Pic</description>
				<type>image</type>
				<posx>75</posx>
				<posy>126</posy>
				<width>45</width>
				<height>45</height>
				<include>GamerIcon</include>
				<animation effect="fade" time="100">WindowOpen</animation>
				<animation effect="fade" time="100">WindowClose</animation>
				<visible>!Window.IsActive(filebrowser)</visible>
			</control>

			<control>
				<description>Gamercard Score Text</description>
				<type>label</type>
				<posx>150</posx>
				<posy>140</posy>
				<label>amerscore:</label>
				<align>left</align>
				<font>font10</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<animation effect="fade" time="100">WindowOpen</animation>
				<animation effect="fade" time="100">WindowClose</animation>
				<visible>!Window.IsActive(filebrowser)</visible>
			</control>

			<control>
				<description>Gamercard Score</description>
				<type>label</type>
				<posx>291</posx>
				<posy>140</posy>
				<include>GamerScore</include>
				<align>right</align>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<animation effect="fade" time="100">WindowOpen</animation>
				<animation effect="fade" time="100">WindowClose</animation>
				<visible>!Window.IsActive(filebrowser)</visible>
			</control>

			<control>
				<description>Gamercard Zone</description>
				<type>label</type>
				<posx>131</posx>
				<posy>163</posy>
				<label>Zone:</label>
				<align>left</align>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<animation effect="fade" time="100">WindowOpen</animation>
				<animation effect="fade" time="100">WindowClose</animation>
				<visible>!Window.IsActive(filebrowser)</visible>
			</control>

			<control>
				<description>Gamercard Info Zone</description>
				<type>label</type>
				<posx>291</posx>
				<posy>163</posy>
				<include>GamerZone</include>
				<align>right</align>
				<font>font12</font>
				<textcolor>FF000000</textcolor>
				<include>shadow-grey</include>
				<animation effect="fade" time="100">WindowOpen</animation>
				<animation effect="fade" time="100">WindowClose</animation>
				<visible>!Window.IsActive(filebrowser)</visible>
			</control>

			<control>
				<description>Gamercard Rep</description>
				<type>image</type>
				<posx>167</posx>
				<posy>110</posy>
				<width>128</width>
				<height>32</height>
				<include>GamerRep</include>
				<animation effect="fade" time="100">WindowOpen</animation>
				<animation effect="fade" time="100">WindowClose</animation>
				<visible>!Window.IsActive(filebrowser)</visible>
			</control>

			<control>
				<description>Gamercard Score Icon</description>
				<type>image</type>
				<posx>130</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>
				<animation effect="fade" time="100">WindowOpen</animation>
				<animation effect="fade" time="100">WindowClose</animation>
				<visible>!Window.IsActive(filebrowser)</visible>
			</control>

		</controlgroup>
<!-- End GamerCard -->

	</controls>

</window>