<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="2212">
	<defaultcontrol>9001</defaultcontrol>
	<include>dialogeffect</include>
	<coordinates>
		<left>0</left>
		<top>0</top>
	</coordinates>
	<controls>
		<control type="button" id="9001">
			<description>Make sure we hit the first button in the group list and not the close window button</description>
			<left>-16</left>
			<top>-16</top>
			<width>4</width>
			<height>4</height>
			<label/>
			<font/>
			<onfocus>down</onfocus>
			<texturefocus/>
			<texturenofocus/>
			<onleft>9000</onleft>
			<onright>9000</onright>
			<onup>9000</onup>
			<ondown>2</ondown>
		</control>
		<control type="image">
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<texture>black-back.png</texture>
		</control>
		<control type="grouplist" id="9000">
			<left>470</left>
			<top>0</top>
			<width>340</width>
			<height>720</height>
			<onleft>9000</onleft>
			<onright>9000</onright>
			<onup>9000</onup>
			<ondown>9000</ondown>
			<itemgap>0</itemgap>
			<align>center</align>
			<control type="group" id="1">
				<width>340</width>
				<height>30</height>
				<control type="image">
					<description>background top image</description>
					<left>0</left>
					<top>0</top>
					<width>340</width>
					<height>30</height>
					<texture border="20,19,20,0">DialogContextTop.png</texture>
				</control>
				<control type="button" id="20">
					<description>Close Window button</description>
					<left>260</left>
					<top>5</top>
					<width>64</width>
					<height>32</height>
					<label/>
					<font/>
					<onclick>PreviousMenu</onclick>
					<texturefocus>DialogCloseButton-focus.png</texturefocus>
					<texturenofocus>DialogCloseButton.png</texturenofocus>
					<onleft>2</onleft>
					<onright>14</onright>
					<onup>14</onup>
					<ondown>2</ondown>
					<visible>system.getbool(input.enablemouse)</visible>
				</control>
			</control>
			<control type="button" id="2">
				<description>Search in Media</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>Dialog.Close(all)</onclick>
				<onclick condition="System.hasAddon(script.globalsearch)">RunScript(script.globalsearch)</onclick>
				<onclick condition="!System.hasAddon(script.globalsearch)">InstallAddon(script.globalsearch)</onclick>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>$LOCALIZE[90114]</label>
				<visible>Skin.HasSetting(ActivateGlobalSearch)</visible>
			</control>
			<control type="button" id="3">
				<description>Search Addons</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>Dialog.Close(all)</onclick>
				<onclick>ActivateWindow(addonbrowser,addons://search/,return)</onclick>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>$LOCALIZE[90115]</label>
			</control>
			<control type="button" id="4">
				<description>Search in YouTube</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>Dialog.Close(all)</onclick>
				<onclick condition="System.hasAddon(plugin.video.youtube)">ActivateWindow(videos,"plugin://plugin.video.youtube/kodion/search/list/",return)</onclick>
				<onclick condition="!System.hasAddon(plugin.video.youtube)">InstallAddon(plugin.video.youtube)</onclick>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>$LOCALIZE[90116]</label>
			</control>
			<control type="button" id="5">
				<description>Search in TheMovieDB</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>Dialog.Close(all)</onclick>
				<onclick condition="System.hasAddon(script.extendedinfo)">RunScript(script.extendedinfo,info=moviedbbrowser,search=True)</onclick>
				<onclick condition="!System.hasAddon(script.extendedinfo)">InstallAddon(script.extendedinfo)</onclick>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>$LOCALIZE[90117]</label>
				<visible>Skin.HasSetting(ActivateExtendedInfo)</visible>
			</control>
			<control type="image" id="6">
				<description>background bottom image</description>
				<left>0</left>
				<width>340</width>
				<height>25</height>
				<texture border="20,0,19,20">DialogContextBottom.png</texture>
			</control>
		</control>
	</controls>
</window>