<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
	..\FrameXML\UI.xsd">
	<Script file="ISync_Search.lua"/>
	
	
	<EditBox name="ISync_EditBoxTemplate" letters="256" historyLines="0" virtual="true">
		<Size>
			<AbsDimension x="200" y="20"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
					<Size>
						<AbsDimension x="12" y="29"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="-11" y="2"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0" right="0.09375" top="0" bottom="1.0"/>
				</Texture>
				<Texture name="$parentMiddle" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
					<Size>
						<AbsDimension x="195" y="29"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
					</Anchors>
					<TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/>
				</Texture>
				<Texture name="$parentRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
					<Size>
						<AbsDimension x="12" y="29"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
					</Anchors>
					<TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnEscapePressed>
				ISync:SF_Close();
			</OnEscapePressed>
			<OnEnterPressed>
				ISYNC_SHOWSEARCH_CHK = 1;
				ISync:Main_Refresh();
			</OnEnterPressed>
		</Scripts>
		<FontString inherits="ChatFontNormal"/>
	</EditBox>
	
	<Frame name="ISync_SearchFrame" inherits="ISyncFrame_MainTemplate" hidden="true" parent="ISync_MainFrame">
			<Size>
				<AbsDimension x="360" y="495"/>
			</Size>
			<Anchors>
	 			<Anchor point="TOPLEFT">
	 				<Offset>
	 					<AbsDimension x="0" y="-104"/>
	 				</Offset>
	 			</Anchor>
			</Anchors>
			<Layers>
				<Layer level="ARTWORK">
					
					<FontString name="ISync_SearchFrameHelp" inherits="GameFontNormal" text="ISYNC_SEARCH_HELP">
						<Anchors>
							<Anchor point="TOP"> 
								<Offset>
									<AbsDimension x="0" y="-30"/>
								</Offset>
							</Anchor>
						</Anchors>
					</FontString>
					
				</Layer>
				<Layer level="BACKGROUND">
	
					<FontString name="ISync_SearchFrameHelp1" inherits="GameFontNormal" text="ISYNC_SEARCH_HELP1">
						<Anchors>
							<Anchor point="TOPLEFT"> 
								<Offset>
									<AbsDimension x="60" y="-50"/>
								</Offset>
							</Anchor>
						</Anchors>
					</FontString>
					
	
					<FontString name="ISync_SearchFrameHelp2" inherits="GameFontNormal" text="ISYNC_SEARCH_HELP2">
						<Anchors>
							<Anchor point="TOPLEFT"> 
								<Offset>
									<AbsDimension x="60" y="-110"/>
								</Offset>
							</Anchor>
						</Anchors>
					</FontString>
					
	
					<FontString name="ISync_SearchFrameHelp3" inherits="GameFontNormal" text="ISYNC_SEARCH_HELP3">
						<Anchors>
							<Anchor point="TOPLEFT"> 
								<Offset>
									<AbsDimension x="60" y="-170"/>
								</Offset>
							</Anchor>
						</Anchors>
					</FontString>
					
					<FontString name="ISync_SearchFrameHelp4" inherits="GameFontNormal" text="ISYNC_SEARCH_HELP4">
						<Anchors>
							<Anchor point="TOPLEFT"> 
								<Offset>
									<AbsDimension x="60" y="-230"/>
								</Offset>
							</Anchor>
						</Anchors>
					</FontString>
					
					
					<FontString name="ISync_SearchFrameHelp5" inherits="GameFontNormal" text="ISYNC_SEARCH_HELP5">
						<Anchors>
							<Anchor point="TOPLEFT"> 
								<Offset>
									<AbsDimension x="60" y="-290"/>
								</Offset>
							</Anchor>
						</Anchors>
					</FontString>

					<FontString name="ISync_SearchFrameHelp6" inherits="GameFontNormal" text="ISYNC_SEARCH_HELP6">
						<Anchors>
							<Anchor point="CENTER"> 
								<Offset>
									<AbsDimension x="0" y="-125"/>
								</Offset>
							</Anchor>
						</Anchors>
					</FontString>
					
					<FontString name="ISync_SearchFrameHelp7" inherits="GameFontNormal" text="ISYNC_SEARCH_HELP7">
						<Anchors>
							<Anchor point="TOPLEFT"> 
								<Offset>
									<AbsDimension x="200" y="-50"/>
								</Offset>
							</Anchor>
						</Anchors>
					</FontString>
					
					
					<FontString name="ISync_SearchFrameHelp8" inherits="GameFontNormal" text="ISYNC_SEARCH_HELP8">
						<Anchors>
							<Anchor point="TOPLEFT"> 
								<Offset>
									<AbsDimension x="200" y="-110"/>
								</Offset>
							</Anchor>
						</Anchors>
					</FontString>
					
				</Layer> 
			</Layers>
			<Frames>

				<Button name="ISync_Location_DropDown" inherits="UIDropDownMenuTemplate">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="40" y="-70"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
					</Scripts>
				</Button>
				
				<Button name="ISync_Rarity_DropDown" inherits="UIDropDownMenuTemplate">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="180" y="-70"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
					</Scripts>
				</Button>
				
				
				
				<Button name="ISync_Weapons_DropDown" inherits="UIDropDownMenuTemplate">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="40" y="-130"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
					</Scripts>
				</Button>
				

				<Button name="ISync_Level_DropDown" inherits="UIDropDownMenuTemplate">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="180" y="-130"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
					</Scripts>
				</Button>
				
				
	
				<Button name="ISync_Tradeskills_DropDown" inherits="UIDropDownMenuTemplate">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="40" y="-190"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
					</Scripts>
				</Button>
				
	
				<Button name="ISync_Armor_DropDown" inherits="UIDropDownMenuTemplate">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="40" y="-250"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
					</Scripts>
				</Button>
				
				
				<Button name="ISync_Shield_DropDown" inherits="UIDropDownMenuTemplate">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="40" y="-310"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Button>
				
				<EditBox name="ISync_TextEditBox" inherits="ISync_EditBoxTemplate" autoFocus="false">
					<Anchors>
						<Anchor point="CENTER">
							<Offset>
								<AbsDimension x="0" y="-145"/>
							</Offset>
						</Anchor>
					</Anchors>
				</EditBox>
			
	
				<Button name="ISync_SearchFrameSearchButton" inherits="GameMenuButtonTemplate">
					<Size>
						<AbsDimension x="140" y="18"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOM">
							<Offset>
								<AbsDimension x="0" y="40"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Layers>
						<Layer level="ARTWORK">
							<FontString inherits="GameFontNormal" text="ISYNC_SEARCH_BT1">
								<Anchors>
									<Anchor point="CENTER">
										<Offset>
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
							</FontString>
						</Layer>
					</Layers>
					<Scripts>
	  					<OnClick>
	  						ISYNC_SHOWSEARCH_CHK = 1;
	  						ISync:Main_Refresh();
	  					</OnClick>
	  				</Scripts>
				</Button>
				

				<Button name="ISync_SearchFrameReset_ALL" inherits="GameMenuButtonTemplate">
					<Size>
						<AbsDimension x="100" y="18"/>
					</Size>
					<Anchors>
						<Anchor point="CENTER">
							<Offset>
								<AbsDimension x="110" y="10"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Layers>
						<Layer level="ARTWORK">
							<FontString inherits="GameFontNormal" text="ISYNC_SEARCH_BT2">
								<Anchors>
									<Anchor point="CENTER">
										<Offset>
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
							</FontString>
						</Layer>
					</Layers>
					<Scripts>
	  					<OnClick>
	  						ISync:SF_Reset();
	  					</OnClick>
	  				</Scripts>
				</Button>
				
			</Frames>
 			<Scripts>
   				<OnLoad>	
   						ISync:SF_Load();
 						ISync_SearchFrameHeader_Box:SetBackdropBorderColor(0.4, 0.4, 0.4);
						ISync_SearchFrameHeader_Box:SetBackdropColor(0.0, 0.0, 1.0, 0.7);
   						
 				</OnLoad>
 				<OnShow>	
 						PlaySound("igMainMenuOptionCheckBoxOn");
 						ISync_SearchFrameHeader_BoxText:SetText(ISYNC_BT_SEARCH);
 						

	
 				</OnShow>
 				<OnHide>PlaySound("igMainMenuOptionCheckBoxOff"); ISync:SF_Close(); </OnHide>
		      		<OnLeave>ISync_TextEditBox:ClearFocus();</OnLeave>
 			</Scripts>
	
	</Frame>

</Ui>