<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="Blizzard_LookingForGuildUI.lua"/>
<!--
*******************************************************************************
	Templates
*******************************************************************************
-->
	<CheckButton name="LookingForGuildCheckButtonTemplate" virtual="true">
		<Scripts>
			<OnClick>
				if ( self:GetChecked() ) then
					PlaySound("igMainMenuOptionCheckBoxOn");
				else
					PlaySound("igMainMenuOptionCheckBoxOff");
				end
				SetLookingForGuildSettings(self:GetID(), self:GetChecked());
				LookingForGuildBrowseButton_Update();
			</OnClick>
			<OnEnter function="LookingForGuildCheckButton_OnEnter"/>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
		<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
		<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
		<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
		<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
		<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
	</CheckButton>
	<Frame name="LookingForGuildSectionTemplate" virtual="true">
		<Size x="312" y="74"/>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentBg" >
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
					</Anchors>
					<Color r="0.95" g="0.95" b="1" a="0.09"/>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<FontString name="$parentText" inherits="GameFontNormal">
					<Anchors>
						<Anchor point="TOPLEFT" x="8" y="-8"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
	</Frame>
	<Button name="LookingForGuildRoleTemplate" virtual="true" motionScriptsWhileDisabled="true">
		<Size>
			<AbsDimension x="40" y="40"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentText" inherits="GameFontHighlightSmall">
					<Anchors>
						<Anchor point="TOP" relativePoint="BOTTOM" x="0" y="0"/>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="OVERLAY">
				<Texture file="Interface\LFGFrame\UI-LFG-ICON-ROLES" setAllPoints="true" parentKey="cover" alpha="0.5" hidden="true">
					<TexCoords left="0" right="0.2617" top="0.5234" bottom="0.7851"/>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<CheckButton parentKey="checkButton">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="-8" y="-1"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick function="LookingForGuildRoleButton_OnClick"/>
					<OnLeave function="GameTooltip_Hide"/>
				</Scripts>
				<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
				<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
				<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
				<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
				<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
			</CheckButton>
		</Frames>
		<Scripts>
			<OnEnter>
				GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
				GameTooltip:SetText(_G["ROLE_DESCRIPTION"..self:GetID()], nil, nil, nil, nil, 1);
				if ( self.permDisabled ) then
					GameTooltip:AddLine(YOUR_CLASS_MAY_NOT_PERFORM_ROLE, 1, 0, 0, 1);
				end
				GameTooltip:Show();
				LFGFrameRoleCheckButton_OnEnter(self);
			</OnEnter>
			<OnClick>
				if ( self.checkButton:IsEnabled() == 1 ) then
					self.checkButton:Click();
				end
			</OnClick>
			<OnLeave>
				GameTooltip:Hide();
				self.checkButton:UnlockHighlight();
			</OnLeave>
		</Scripts>
		<NormalTexture file="Interface\LFGFrame\UI-LFG-ICON-ROLES"/>
	</Button>
	<Button name="LookingForGuildGuildTemplate" virtual="true" hidden="true">
		<Size>
			<AbsDimension x="320" y="84"/>
		</Size>
		<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
			<EdgeSize>
				<AbsValue val="12"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="12"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="4" right="4" top="4" bottom="4"/>
			</BackgroundInsets>
		</Backdrop>
		<Layers>
			<Layer level="BORDER" textureSubLevel="-1">
				<Texture parentKey="selectedTex" file="Interface\ClassTrainerFrame\TrainerTextures" hidden="true" alphaMode="ADD">
					<Anchors>
						<Anchor point="TOPLEFT" x="1" y="-1"/>
						<Anchor point="BOTTOMRIGHT" x="-1" y="1"/>
					</Anchors>
					<TexCoords left="0.00195313" right="0.57421875" top="0.84960938" bottom="0.94140625"/>
				</Texture>
			</Layer>
			<Layer level="BORDER">
				<Texture name="$parentTabardBackground" file="Interface\GuildFrame\GuildFrame" parentKey="tabard">
					<Size x="38" y="38"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="13" y="-12"/>
					</Anchors>
					<TexCoords left="0.63183594" right="0.69238281" top="0.61914063" bottom="0.74023438"/>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="$parentTabardEmblem" file="Interface\GuildFrame\GuildEmblemsLG_01" parentKey="emblem">
					<Size x="39" y="39"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="13" y="-11"/>
					</Anchors>
				</Texture>
				<FontString name="$parentGuildName" inherits="GameFontNormal" justifyH="LEFT" parentKey="name">
					<Size x="165" y="12"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="66" y="-10"/>
					</Anchors>
				</FontString>
				<FontString name="$parentGuildMembers" inherits="GameFontNormalSmall" justifyH="RIGHT" parentKey="numMembers">
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentGuildName" relativePoint="RIGHT" x="8" y="0"/>
						<Anchor point="RIGHT" x="-8" y="0"/>
					</Anchors>
					<Color r="1.0" g="1.0" b="0.45"/>
				</FontString>
				<FontString name="$parentComment" inherits="GameFontHighlightSmall" justifyH="LEFT" justifyV="TOP" parentKey="comment" spacing="2">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentGuildName" relativePoint="BOTTOMLEFT" x="4" y="-4"/>
						<Anchor point="BOTTOMRIGHT" x="-8" y="8"/>
					</Anchors>
				</FontString>
				<FontString name="$parentFullComment" inherits="GameFontHighlightSmall" justifyH="LEFT" justifyV="TOP" parentKey="fullComment" spacing="2" hidden="true">
					<Size x="10" y="0"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentComment" relativePoint="TOPLEFT"/>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="ARTWORK" textureSubLevel="1">
				<Texture name="$parentTabardBorder" file="Interface\GuildFrame\GuildFrame" parentKey="border">
					<Size x="37" y="37"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="14" y="-12"/>
					</Anchors>
					<TexCoords left="0.63183594" right="0.69238281" top="0.74414063" bottom="0.86523438"/>
					<Color r="0.25" b="0.25" g="0.25"/>
				</Texture>
			</Layer>
			<Layer level="ARTWORK" textureSubLevel="2">
				<Texture name="$parentRing" inherits="Talent-Ring">
					<Size x="48" y="48"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="8" y="-8"/>
					</Anchors>
				</Texture>
				<Texture name="$parentShield" file="Interface\AchievementFrame\UI-Achievement-Guild">
					<Size>
						<AbsDimension x="20" y="18"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentRing" relativePoint="BOTTOMLEFT" x="3" y="1"/>
					</Anchors>
					<TexCoords left="0.63281250" right="0.67187500" top="0.13085938" bottom="0.16601563"/>
				</Texture>
				<FontString name="$parentPoints" inherits="GameFontNormalSmall" justifyH="RIGHT" parentKey="achPoints">
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentShield" relativePoint="RIGHT" x="1" y="0"/>
					</Anchors>
					<Color r="1.0" g="1.0" b="0.45"/>
				</FontString>
			</Layer>
			<Layer level="ARTWORK" textureSubLevel="3">
				<Texture name="$parentLevelRing" inherits="TalentHeader-PointCircle-Gold" parentKey="PointsSpentBgGold">
					<Size x="27" y="27"/>
					<Anchors>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentRing" relativePoint="BOTTOMRIGHT" x="6" y="3"/>
					</Anchors>
				</Texture>
				<FontString name="$parentLevelText" inherits="ChatFontSmall" parentKey="level">
					<Anchors>
						<Anchor point="CENTER" relativeTo="$parentLevelRing" x="0" y="0"/>
					</Anchors>
					<Color r="1.0" g="0.82" b="0.0"/>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentPending" parentKey="pendingFrame" setAllPoints="true" hidden="true" enableMouse="true">
				<Layers>
					<Layer level="BACKGROUND">
						<Texture parentKey="pendingTex">
							<Anchors>
								<Anchor point="TOPLEFT" x="6" y="-6"/>
								<Anchor point="BOTTOMRIGHT" x="-6" y="6"/>
							</Anchors>
							<Color r="0" g="0" b="0" a="0.75"/>
						</Texture>
					</Layer>
					<Layer level="ARTWORK">
						<FontString name="$parentLevelText" inherits="GameFontHighlightLarge" text="GUILD_MEMBERSHIP_REQUEST_SENT">
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnEnter>
						LookingForGuildGuild_ShowTooltip(self:GetParent());
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				self:SetBackdropColor(1, 1, 1, 0.3);
			</OnLoad>
			<OnClick function="LookingForGuildGuild_OnClick"/>
			<OnEnter function="LookingForGuildGuild_ShowTooltip"/>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
		<HighlightTexture name="$parentHighlight" file="Interface\ClassTrainerFrame\TrainerTextures" alphaMode="ADD">
			<Anchors>
				<Anchor point="TOPLEFT" x="1" y="-1"/>
				<Anchor point="BOTTOMRIGHT" x="-1" y="1"/>
			</Anchors>
			<TexCoords left="0.00195313" right="0.57421875" top="0.75390625" bottom="0.84570313"/>
		</HighlightTexture>
	</Button>
	<Button name="LookingForGuildAppTemplate" virtual="true">
		<Size>
			<AbsDimension x="320" y="30"/>
		</Size>
		<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
			<EdgeSize>
				<AbsValue val="12"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="12"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="4" right="4" top="4" bottom="4"/>
			</BackgroundInsets>
		</Backdrop>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentGuildName" inherits="GameFontNormal" justifyH="LEFT" parentKey="name">
					<Size x="200" y="12"/>
					<Anchors>
						<Anchor point="LEFT" x="12" y="0"/>
					</Anchors>
				</FontString>
				<FontString name="$parentTimeLeft" inherits="GameFontHighlightSmall" parentKey="timeLeft">
					<Anchors>
						<Anchor point="RIGHT" x="-40" y="0"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button name="$parentRemoveButton" parentKey="removeButton" hidden="true">
				<Size>
					<AbsDimension x="16" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT" x="-12" y="0"/>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<Texture file="Interface\Buttons\UI-GroupLoot-Pass-Up" alpha="0.75" parentKey="texture"/>
					</Layer>
				</Layers>
				<Scripts>
					<OnEnter>
						self:GetParent():LockHighlight();
					</OnEnter>
					<OnLeave>
						self:Hide();
						self:GetParent():UnlockHighlight();
						self.texture:SetPoint("TOPLEFT", 0, 0);
					</OnLeave>
					<OnMouseDown>
						self.texture:SetPoint("TOPLEFT", 1, -1);
					</OnMouseDown>
					<OnMouseUp>
						self.texture:SetPoint("TOPLEFT", 0, 0);
					</OnMouseUp>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						CancelGuildMembershipRequest(self:GetParent().index);
						RequestRecruitingGuildsList();
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				self:SetBackdropColor(1, 1, 1, 0.3);
			</OnLoad>
			<OnEnter>
				self.removeButton:Show();
				LookingForGuildApp_ShowTooltip(self);
			</OnEnter>
			<OnLeave>
				if ( not self.removeButton:IsMouseOver() ) then
					self.removeButton:Hide();
				end
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
		<HighlightTexture name="$parentHighlight" file="Interface\ClassTrainerFrame\TrainerTextures" alphaMode="ADD">
			<Anchors>
				<Anchor point="TOPLEFT" x="1" y="-1"/>
				<Anchor point="BOTTOMRIGHT" x="-1" y="1"/>
			</Anchors>
			<TexCoords left="0.00195313" right="0.57421875" top="0.75390625" bottom="0.84570313"/>
		</HighlightTexture>
	</Button>
<!--
*******************************************************************************
	Guild Finder Frame
*******************************************************************************
-->
	<Frame name="LookingForGuildFrame" inherits="ButtonFrameTemplate" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="$parentTabardBackground" file="Interface\GuildFrame\GuildFrame">
					<Size x="62" y="62"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="-7" y="8"/>
					</Anchors>
					<TexCoords left="0.63183594" right="0.69238281" top="0.61914063" bottom="0.74023438"/>
					<Color r="0.5" b="0.5" g="0.5"/>
				</Texture>
			</Layer>
			<Layer level="ARTWORK" textureSubLevel="1">
				<Texture name="$parentTabardEmblem" file="Interface\FriendsFrame\PlusManz-Horde" hidden="false">
					<Size x="47" y="47"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK" textureSubLevel="2">
				<Texture name="$parentTabardBorder" file="Interface\GuildFrame\GuildFrame">
					<Size x="61" y="60"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="-6" y="7"/>
					</Anchors>
					<TexCoords left="0.63183594" right="0.69238281" top="0.74414063" bottom="0.86523438"/>
					<Color r="0.25" b="0.25" g="0.25"/>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Button name="LookingForGuildFrameTab1" inherits="TabButtonTemplate" text="LFGUILD_TAB_SETTINGS" id="1">
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativeTo="$parentInset" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="60" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						PanelTemplates_TabResize(self, 0);
						_G[self:GetName().."HighlightTexture"]:SetWidth(self:GetTextWidth() + 31);
					</OnLoad>
					<OnClick>
						PanelTemplates_Tab_OnClick(self, LookingForGuildFrame);
						LookingForGuildFrame_Update();
						PlaySound("igMainMenuOptionCheckBoxOn");
					</OnClick>
				</Scripts>
			</Button>
			<Button name="LookingForGuildFrameTab2" inherits="TabButtonTemplate" text="LFGUILD_TAB_BROWSE" id="2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="LookingForGuildFrameTab1" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PanelTemplates_Tab_OnClick(self, LookingForGuildFrame);
						LookingForGuildFrame_Update();
						PlaySound("igMainMenuOptionCheckBoxOn");
					</OnClick>
				</Scripts>
			</Button>
			<Button name="LookingForGuildFrameTab3" inherits="TabButtonTemplate" text="LFGUILD_TAB_REQUESTS_NONE" id="3">
				<Anchors>
					<Anchor point="LEFT" relativeTo="LookingForGuildFrameTab2" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PanelTemplates_Tab_OnClick(self, LookingForGuildFrame);
						LookingForGuildFrame_Update();
						PlaySound("igMainMenuOptionCheckBoxOn");
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad function="LookingForGuildFrame_OnLoad"/>
			<OnShow function="LookingForGuildFrame_OnShow"/>
			<OnEvent function="LookingForGuildFrame_OnEvent"/>
			<OnHide function="LookingForGuildFrame_OnHide"/>
		</Scripts>
	</Frame>
<!--
*******************************************************************************
	Settings panel
*******************************************************************************
-->
	<Frame name="LookingForGuildStartFrame" parent="LookingForGuildFrame">
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="$parentInset" relativePoint="TOPLEFT"/>
			<Anchor point="BOTTOMRIGHT" relativeTo="$parentInset" relativePoint="BOTTOMRIGHT"/>
		</Anchors>
		<Frames>
			<Frame name="LookingForGuildInterestFrame" inherits="LookingForGuildSectionTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" x="8" y="-10"/>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<FontString name="LookingForGuildQuestText" inherits="GameFontHighlightSmall" text="GUILD_INTEREST_QUEST">
							<Anchors>
								<Anchor point="TOPLEFT" x="31" y="-32"/>
							</Anchors>
						</FontString>
						<FontString name="LookingForGuildRaidText" inherits="GameFontHighlightSmall" text="GUILD_INTEREST_RAID">
							<Anchors>
								<Anchor point="TOPRIGHT" x="-12" y="-32"/>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<CheckButton name="LookingForGuildQuestButton" inherits="LookingForGuildCheckButtonTemplate" id="1">
						<Size>
							<AbsDimension x="20" y="20"/>
						</Size>
						<Anchors>
							<Anchor point="RIGHT" relativeTo="LookingForGuildQuestText" relativePoint="LEFT" x="-3" y="0"/>
						</Anchors>
					</CheckButton>
					<CheckButton name="LookingForGuildRaidButton" inherits="LookingForGuildCheckButtonTemplate" id="3">
						<Size>
							<AbsDimension x="20" y="20"/>
						</Size>
						<Anchors>
							<Anchor point="RIGHT" relativeTo="LookingForGuildRaidText" relativePoint="LEFT" x="-3" y="0"/>
						</Anchors>
					</CheckButton>
					<Frame name="LookingForGuildDungeonFramePlacer">
						<Size x="0" y="30"/>
						<Anchors>
							<Anchor point="LEFT" relativeTo="LookingForGuildQuestText" relativePoint="RIGHT" x="0" y="0"/>
							<Anchor point="RIGHT" relativeTo="LookingForGuildRaidButton" relativePoint="LEFT" x="0" y="0"/>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<FontString name="LookingForGuildDungeonText" inherits="GameFontHighlightSmall" text="GUILD_INTEREST_DUNGEON">
									<Anchors>
										<Anchor point="CENTER" x="11" y="0"/>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<CheckButton name="LookingForGuildDungeonButton" inherits="LookingForGuildCheckButtonTemplate" id="2">
						<Size>
							<AbsDimension x="20" y="20"/>
						</Size>
						<Anchors>
							<Anchor point="RIGHT" relativeTo="LookingForGuildDungeonText" relativePoint="LEFT" x="-3" y="0"/>
						</Anchors>
					</CheckButton>
					<CheckButton name="LookingForGuildPvPButton" inherits="LookingForGuildCheckButtonTemplate" id="4">
						<Size>
							<AbsDimension x="20" y="20"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="LookingForGuildQuestButton" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<FontString name="$parentText" inherits="GameFontHighlightSmall" text="GUILD_INTEREST_PVP">
									<Anchors>
										<Anchor point="LEFT" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="3" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
					</CheckButton>
					<CheckButton name="LookingForGuildRPButton" inherits="LookingForGuildCheckButtonTemplate" id="5">
						<Size>
							<AbsDimension x="20" y="20"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="LookingForGuildDungeonButton" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<FontString name="$parentText" inherits="GameFontHighlightSmall" text="GUILD_INTEREST_RP">
									<Anchors>
										<Anchor point="LEFT" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="3" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
					</CheckButton>
				</Frames>
			</Frame>
			<Frame name="LookingForGuildAvailabilityFrame" inherits="LookingForGuildSectionTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="LookingForGuildInterestFrame" relativePoint="BOTTOMLEFT" x="0" y="-4"/>
				</Anchors>
				<Frames>
					<CheckButton name="LookingForGuildWeekdaysButton" inherits="LookingForGuildCheckButtonTemplate" id="6">
						<Size>
							<AbsDimension x="20" y="20"/>
						</Size>
						<Anchors>
							<Anchor point="TOP" x="0" y="-26"/>
							<Anchor point="LEFT" relativeTo="LookingForGuildQuestButton" relativePoint="LEFT"/>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<FontString name="$parentText" inherits="GameFontHighlightSmall" text="GUILD_AVAILABILITY_WEEKDAYS">
									<Anchors>
										<Anchor point="LEFT" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="3" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
					</CheckButton>
					<CheckButton name="LookingForGuildWeekendsButton" inherits="LookingForGuildCheckButtonTemplate" id="7">
						<Size>
							<AbsDimension x="20" y="20"/>
						</Size>
						<Anchors>
							<Anchor point="TOP" x="0" y="-26"/>
							<Anchor point="LEFT" relativeTo="LookingForGuildDungeonButton" relativePoint="LEFT"/>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<FontString name="$parentText" inherits="GameFontHighlightSmall" text="GUILD_AVAILABILITY_WEEKENDS">
									<Anchors>
										<Anchor point="LEFT" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="3" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
					</CheckButton>
				</Frames>
			</Frame>
			<Frame name="LookingForGuildRolesFrame" inherits="LookingForGuildSectionTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="LookingForGuildAvailabilityFrame" relativePoint="BOTTOMLEFT" x="0" y="-4"/>
				</Anchors>
				<Frames>
					<Button name="LookingForGuildTankButton" inherits="LookingForGuildRoleTemplate" id="2">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="30" y="-25"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								self:GetNormalTexture():SetTexCoord(GetTexCoordsForRole("TANK"));
								self.param = LFGUILD_PARAM_TANK;
								LookingForGuildTankButtonText:SetText(TANK);
							</OnLoad>
						</Scripts>
					</Button>
					<Button name="LookingForGuildHealerButton" inherits="LookingForGuildRoleTemplate" id="3">
						<Anchors>
							<Anchor point="TOP">
								<Offset>
									<AbsDimension x="1" y="-25"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								self:GetNormalTexture():SetTexCoord(GetTexCoordsForRole("HEALER"));
								self.param = LFGUILD_PARAM_HEALER;
								LookingForGuildHealerButtonText:SetText(HEALER);
							</OnLoad>
						</Scripts>
					</Button>
					<Button name="LookingForGuildDamagerButton" inherits="LookingForGuildRoleTemplate" id="1">
						<Anchors>
							<Anchor point="TOPRIGHT">
								<Offset>
									<AbsDimension x="-30" y="-25"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								self:GetNormalTexture():SetTexCoord(GetTexCoordsForRole("DAMAGER"));
								self.param = LFGUILD_PARAM_DAMAGE;
								LookingForGuildDamagerButtonText:SetText(DAMAGER);
							</OnLoad>
						</Scripts>
					</Button>
				</Frames>
			</Frame>
			<Frame name="LookingForGuildCommentFrame" inherits="LookingForGuildSectionTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="LookingForGuildRolesFrame" relativePoint="BOTTOMLEFT" x="0" y="-4"/>
				</Anchors>
				<Frames>
					<Frame name="LookingForGuildCommentInputFrame">
						<Size x="286" y="62"/>
						<Anchors>
							<Anchor point="TOP">
								<Offset x="0" y="-28"/>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture name="$parentTopLeft" file="Interface\Common\Common-Input-Border-TL">
									<Size>
										<AbsDimension x="8" y="8"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset x="0" y="0"/>
										</Anchor>
									</Anchors>
								</Texture>
								<Texture name="$parentTopRight" file="Interface\Common\Common-Input-Border-TR">
									<Size>
										<AbsDimension x="8" y="8"/>
									</Size>
									<Anchors>
										<Anchor point="TOPRIGHT">
											<Offset x="0" y="0"/>
										</Anchor>
									</Anchors>
								</Texture>
								<Texture name="$parentTop" file="Interface\Common\Common-Input-Border-T">
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="TOPRIGHT"/>
										<Anchor point="BOTTOMRIGHT" relativeTo="$parentTopRight" relativePoint="BOTTOMLEFT"/>
									</Anchors>
								</Texture>
								<Texture name="$parentBottomLeft" file="Interface\Common\Common-Input-Border-BL">
									<Size>
										<AbsDimension x="8" y="8"/>
									</Size>
									<Anchors>
										<Anchor point="BOTTOMLEFT">
											<Offset x="0" y="0"/>
										</Anchor>
									</Anchors>
								</Texture>
								<Texture name="$parentBottomRight" file="Interface\Common\Common-Input-Border-BR">
									<Size>
										<AbsDimension x="8" y="8"/>
									</Size>
									<Anchors>
										<Anchor point="BOTTOMRIGHT">
											<Offset x="0" y="0"/>
										</Anchor>
									</Anchors>
								</Texture>
								<Texture name="$parentBottom" file="Interface\Common\Common-Input-Border-B">
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="$parentBottomLeft" relativePoint="TOPRIGHT"/>
										<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRight" relativePoint="BOTTOMLEFT"/>
									</Anchors>
								</Texture>
								<Texture name="$parentLeft" file="Interface\Common\Common-Input-Border-L">
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="BOTTOMLEFT"/>
										<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomLeft" relativePoint="TOPRIGHT"/>
									</Anchors>
								</Texture>
								<Texture name="$parentRight" file="Interface\Common\Common-Input-Border-R">
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="$parentTopRight" relativePoint="BOTTOMLEFT"/>
										<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRight" relativePoint="TOPRIGHT"/>
									</Anchors>
								</Texture>
								<Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border-M">
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="$parentLeft" relativePoint="TOPRIGHT"/>
										<Anchor point="BOTTOMRIGHT" relativeTo="$parentRight" relativePoint="BOTTOMLEFT"/>
									</Anchors>
								</Texture>
							</Layer>
						</Layers>
						<Frames>
							<ScrollFrame name="$parentScrollFrame" inherits="UIPanelScrollFrameTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="6" y="-6"/>
									<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="0" y="6"/>
								</Anchors>
								<Frames>
									<Button name="$parentFocusButton" setAllPoints="true">
										<Scripts>
											<OnClick>
												LookingForGuildCommentEditBox:SetFocus();
											</OnClick>
										</Scripts>
									</Button>
								</Frames>
								<Scripts>
									<OnLoad>
										local scrollBar = _G[self:GetName().."ScrollBar"];
										scrollBar:SetFrameLevel(_G[self:GetName().."FocusButton"]:GetFrameLevel() + 2);
										scrollBar:ClearAllPoints();
										scrollBar:SetPoint("TOPLEFT", self, "TOPRIGHT", -18, -10);
										scrollBar:SetPoint("BOTTOMLEFT", self, "BOTTOMRIGHT", -18, 8);
										-- reposition the up and down buttons
										_G[self:GetName().."ScrollBarScrollDownButton"]:SetPoint("TOP", scrollBar, "BOTTOM", 0, 4);
										_G[self:GetName().."ScrollBarScrollUpButton"]:SetPoint("BOTTOM", scrollBar, "TOP", 0, -4);
										-- make the scroll bar hideable and force it to start off hidden so positioning calculations can be done
										-- as soon as it needs to be shown
										self.scrollBarHideable = 1;
										scrollBar:Hide();
									</OnLoad>
								</Scripts>
								<ScrollChild>
									<EditBox name="LookingForGuildCommentEditBox" multiLine="true" letters="230" countInvisibleLetters="true" autoFocus="false">
										<Size x="258" y="1"/>
										<Layers>
											<Layer level="BORDER">
												<FontString name="$parentFill" inherits="GameFontHighlightSmall" justifyH="LEFT" justifyV="MIDDLE" text="CLICK_TO_ENTER_COMMENT">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="3" y="0"/>
															</Offset>
														</Anchor>
													</Anchors>
													<Color r="0.35" g="0.35" b="0.35"/>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnTabPressed>
												LookingForGuildCommentEditBox:SetFocus();
											</OnTabPressed>
											<OnEditFocusLost function="LookingForGuildComment_SaveText"/>
											<OnTextChanged>
												ScrollingEdit_OnTextChanged(self, self:GetParent());
												if ( self:GetText() ~= "" ) then
													LookingForGuildCommentEditBoxFill:Hide();
												else
													LookingForGuildCommentEditBoxFill:Show();
												end
											</OnTextChanged>
											<OnCursorChanged function="ScrollingEdit_OnCursorChanged"/>
											<OnUpdate>
												ScrollingEdit_OnUpdate(self, elapsed, self:GetParent());
											</OnUpdate>
											<OnEscapePressed>
												self:ClearFocus();
											</OnEscapePressed>
											<OnEnterPressed>
												self:ClearFocus();
											</OnEnterPressed>
										</Scripts>
										<FontString inherits="GameFontHighlightSmall"/>
									</EditBox>
								</ScrollChild>
							</ScrollFrame>
						</Frames>
					</Frame>
				</Frames>
			</Frame>
			<Button name="LookingForGuildBrowseButton" inherits="MagicButtonTemplate" text="BROWSE_GUILDS_BUTTON">
				<Size x="116" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" relativeTo="LookingForGuildFrame" />
				</Anchors>
				<Scripts>
					<OnClick>
						LookingForGuildFrameTab2:Click();
					</OnClick>
					<OnEnter>
					</OnEnter>
					<OnLeave function="GameTooltip_Hide"/>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad function="LookingForGuildStartFrame_OnLoad"/>
		</Scripts>
	</Frame>
<!--
*******************************************************************************
	Browse panel
*******************************************************************************
-->
	<Frame name="LookingForGuildBrowseFrame" parent="LookingForGuildFrame" hidden="true">
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="$parentInset" relativePoint="TOPLEFT"/>
			<Anchor point="BOTTOMRIGHT" relativeTo="$parentInset" relativePoint="BOTTOMRIGHT"/>
		</Anchors>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentRequestsLeft" inherits="GameFontHighlightSmall">
					<Anchors>
						<Anchor point="BOTTOMRIGHT" relativeTo="LookingForGuildFrame" relativePoint="BOTTOMRIGHT" x="-15" y="9" />
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<ScrollFrame name="$parentContainer" inherits="HybridScrollFrameTemplate" hidden="false">
				<Size x="304" y="327"/>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="4" y="-4"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Slider name="$parentScrollBar" inherits="HybridScrollBarTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="0" y="-12"/>
								</Offset>
							</Anchor>
							<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="0" y="13"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Slider>
				</Frames>
			</ScrollFrame>
			<Button name="LookingForGuildRequestButton" inherits="MagicButtonTemplate" text="REQUEST_GUILD_MEMBERSHIP">
				<Size x="156" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativeTo="LookingForGuildFrame" />
				</Anchors>
				<Scripts>
					<OnClick function="LookingForGuild_RequestMembership"/>
					<OnEnter>
					</OnEnter>
					<OnLeave function="GameTooltip_Hide"/>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad function="LookingForGuildBrowseFrame_OnLoad"/>
			<OnShow function="LookingForGuildBrowseFrame_OnShow"/>
		</Scripts>
	</Frame>
<!--
*******************************************************************************
	Apps panel
*******************************************************************************
-->
	<Frame name="LookingForGuildAppsFrame" parent="LookingForGuildFrame" hidden="true">
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="$parentInset" relativePoint="TOPLEFT"/>
			<Anchor point="BOTTOMRIGHT" relativeTo="$parentInset" relativePoint="BOTTOMRIGHT"/>
		</Anchors>
		<Frames>
			<ScrollFrame name="$parentContainer" inherits="HybridScrollFrameTemplate" hidden="false">
				<Size x="304" y="327"/>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="4" y="-4"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Slider name="$parentScrollBar" inherits="HybridScrollBarTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="0" y="-12"/>
								</Offset>
							</Anchor>
							<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="0" y="13"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Slider>
				</Frames>
			</ScrollFrame>
		</Frames>
		<Scripts>
			<OnLoad function="LookingForGuildAppsFrame_OnLoad"/>
		</Scripts>
	</Frame>
<!--
*******************************************************************************
	Request Membership popup
*******************************************************************************
-->
	<Frame name="GuildFinderRequestMembershipFrame" parent="UIParent" hidden="true" frameStrata="DIALOG">
		<Size>
			<AbsDimension x="328" y="192"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11"/>
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32"/>
			</TileSize>
			<EdgeSize>
				<AbsValue val="32"/>
			</EdgeSize>
		</Backdrop>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentTitle" inherits="GameFontNormal" text="GUILDFINDER_POPUP_TEXT">
					<Anchors>
						<Anchor point="TOP" x="0" y="-20"/>
					</Anchors>
				</FontString>
				<FontString name="$parentGuildName" inherits="GameFontNormal">
					<Size x="300" y="12"/>
					<Anchors>
						<Anchor point="TOP" relativeTo="$parentTitle" relativePoint="BOTTOM" x="0" y="-12"/>
					</Anchors>
					<Color r="0.1" g="1" b="0.1"/>
				</FontString>
				<FontString name="$parentGuildLevel" inherits="GameFontHighlightSmall">
					<Anchors>
						<Anchor point="TOP" relativeTo="$parentGuildName" relativePoint="BOTTOM" x="0" y="-4"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentInputFrame">
				<Size x="286" y="62"/>
				<Anchors>
					<Anchor point="BOTTOM">
						<Offset x="0" y="48"/>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parentTopLeft" file="Interface\Common\Common-Input-Border-TL">
							<Size>
								<AbsDimension x="8" y="8"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset x="0" y="0"/>
								</Anchor>
							</Anchors>
						</Texture>
						<Texture name="$parentTopRight" file="Interface\Common\Common-Input-Border-TR">
							<Size>
								<AbsDimension x="8" y="8"/>
							</Size>
							<Anchors>
								<Anchor point="TOPRIGHT">
									<Offset x="0" y="0"/>
								</Anchor>
							</Anchors>
						</Texture>
						<Texture name="$parentTop" file="Interface\Common\Common-Input-Border-T">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="TOPRIGHT"/>
								<Anchor point="BOTTOMRIGHT" relativeTo="$parentTopRight" relativePoint="BOTTOMLEFT"/>
							</Anchors>
						</Texture>
						<Texture name="$parentBottomLeft" file="Interface\Common\Common-Input-Border-BL">
							<Size>
								<AbsDimension x="8" y="8"/>
							</Size>
							<Anchors>
								<Anchor point="BOTTOMLEFT">
									<Offset x="0" y="0"/>
								</Anchor>
							</Anchors>
						</Texture>
						<Texture name="$parentBottomRight" file="Interface\Common\Common-Input-Border-BR">
							<Size>
								<AbsDimension x="8" y="8"/>
							</Size>
							<Anchors>
								<Anchor point="BOTTOMRIGHT">
									<Offset x="0" y="0"/>
								</Anchor>
							</Anchors>
						</Texture>
						<Texture name="$parentBottom" file="Interface\Common\Common-Input-Border-B">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parentBottomLeft" relativePoint="TOPRIGHT"/>
								<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRight" relativePoint="BOTTOMLEFT"/>
							</Anchors>
						</Texture>
						<Texture name="$parentLeft" file="Interface\Common\Common-Input-Border-L">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="BOTTOMLEFT"/>
								<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomLeft" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>
						<Texture name="$parentRight" file="Interface\Common\Common-Input-Border-R">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parentTopRight" relativePoint="BOTTOMLEFT"/>
								<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRight" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>
						<Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border-M">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parentLeft" relativePoint="TOPRIGHT"/>
								<Anchor point="BOTTOMRIGHT" relativeTo="$parentRight" relativePoint="BOTTOMLEFT"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<ScrollFrame name="$parentScrollFrame" inherits="UIPanelScrollFrameTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="6" y="-6"/>
							<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="0" y="6"/>
						</Anchors>
						<Frames>
							<Button name="GuildFinderRequestMembershipEditBoxFocusButton" setAllPoints="true">
								<Scripts>
									<OnClick>
										GuildFinderRequestMembershipEditBox:SetFocus();
									</OnClick>
								</Scripts>
							</Button>
						</Frames>
						<Scripts>
							<OnLoad>
								local scrollBar = _G[self:GetName().."ScrollBar"];
								scrollBar:SetFrameLevel(GuildFinderRequestMembershipEditBoxFocusButton:GetFrameLevel() + 2);
								scrollBar:ClearAllPoints();
								scrollBar:SetPoint("TOPLEFT", self, "TOPRIGHT", -18, -10);
								scrollBar:SetPoint("BOTTOMLEFT", self, "BOTTOMRIGHT", -18, 8);
								-- reposition the up and down buttons
								_G[self:GetName().."ScrollBarScrollDownButton"]:SetPoint("TOP", scrollBar, "BOTTOM", 0, 4);
								_G[self:GetName().."ScrollBarScrollUpButton"]:SetPoint("BOTTOM", scrollBar, "TOP", 0, -4);
								-- make the scroll bar hideable and force it to start off hidden so positioning calculations can be done
								-- as soon as it needs to be shown
								self.scrollBarHideable = 1;
								scrollBar:Hide();
							</OnLoad>
						</Scripts>
						<ScrollChild>
							<EditBox name="GuildFinderRequestMembershipEditBox" multiLine="true" letters="230" countInvisibleLetters="true" autoFocus="false">
								<Size x="258" y="1"/>
								<Layers>
									<Layer level="BORDER">
										<FontString name="$parentFill" inherits="GameFontHighlightSmall" justifyH="LEFT" justifyV="MIDDLE" text="CLICK_TO_ENTER_COMMENT">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="3" y="0"/>
													</Offset>
												</Anchor>
											</Anchors>
											<Color r="0.35" g="0.35" b="0.35"/>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnTabPressed>
										GuildFinderRequestMembershipEditBox:SetFocus();
									</OnTabPressed>
									<OnEditFocusGained>
										GuildFinderRequestMembershipEditBoxFocusButton:Hide();
									</OnEditFocusGained>
									<OnEditFocusLost>
										GuildFinderRequestMembershipEditBoxFocusButton:Show();
									</OnEditFocusLost>
									<OnTextChanged>
										ScrollingEdit_OnTextChanged(self, self:GetParent());
										if ( self:GetText() ~= "" ) then
											GuildFinderRequestMembershipEditBoxFill:Hide();
										else
											GuildFinderRequestMembershipEditBoxFill:Show();
										end
									</OnTextChanged>
									<OnCursorChanged function="ScrollingEdit_OnCursorChanged"/>
									<OnUpdate>
										ScrollingEdit_OnUpdate(self, elapsed, self:GetParent());
									</OnUpdate>
									<OnEscapePressed>
										self:ClearFocus();
									</OnEscapePressed>
									<OnEnterPressed>
										self:ClearFocus();
									</OnEnterPressed>
								</Scripts>
								<FontString inherits="GameFontHighlightSmall"/>
							</EditBox>
						</ScrollChild>
					</ScrollFrame>
				</Frames>
			</Frame>
			<Button name="$parentAcceptButton" inherits="UIPanelButtonTemplate" text="SEND_LABEL">
				<Size>
					<AbsDimension x="118" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="20" y="20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick function="GuildFinderRequestMembershipFrame_SendRequest"/>
				</Scripts>
			</Button>
			<Button name="$parentCancelButton" inherits="UIPanelButtonTemplate" text="CANCEL">
				<Size>
					<AbsDimension x="118" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-20" y="20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						StaticPopupSpecial_Hide(self:GetParent());
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				self.exclusive = true;
				self.hideOnEscape = true;
			</OnLoad>
			<OnHide>
				PlaySound("igMainMenuClose");
			</OnHide>
		</Scripts>
	</Frame>
</Ui>