<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_AuctionUI.lua"/>
	<Include file="Blizzard_AuctionUITemplates.xml"/>
	<Frame name="AuctionFrame" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
		<Size>
			<AbsDimension x="832" y="447"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="0" y="-104"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="AuctionPortraitTexture">
					<Size>
						<AbsDimension x="58" y="58"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="12" y="-8"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="$parentTopLeft" file="Interface\AuctionFrame\UI-AuctionFrame-Browse-TopLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
				<Texture name="$parentTop" file="Interface\AuctionFrame\UI-AuctionFrame-Browse-Top">
					<Size>
						<AbsDimension x="320" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="256" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTopRight" file="Interface\AuctionFrame\UI-AuctionFrame-Browse-TopRight">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentTop" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentBotLeft" file="Interface\AuctionFrame\UI-AuctionFrame-Browse-BotLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="-256"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentBot" file="Interface\AuctionFrame\UI-AuctionFrame-Browse-Bot">
					<Size>
						<AbsDimension x="320" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="256" y="-256"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentBotRight" file="Interface\AuctionFrame\UI-AuctionFrame-Browse-BotRight">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentBot" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Button name="AuctionFrameTab1" inherits="AuctionTabTemplate" id="1" text="BROWSE">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="15" y="11"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="AuctionFrameTab2" inherits="AuctionTabTemplate" id="2" text="BIDS">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="AuctionFrameTab1" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-8" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="AuctionFrameTab3" inherits="AuctionTabTemplate" id="3" text="AUCTIONS">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="AuctionFrameTab2" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-8" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Frame name="AuctionFrameMoneyFrame" inherits="SmallMoneyFrameTemplate">
				<Anchors>
					<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="181" y="18"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Button name="AuctionFrameCloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="3" y="-8"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<!-- Browse Tab -->
			<Frame name="AuctionFrameBrowse" hidden="true">
				<Size>
					<AbsDimension x="758" y="447"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="BrowseTitle" inherits="GameFontNormal" text="BROWSE_AUCTIONS">
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-18"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
					<Layer level="ARTWORK">
						<FontString name="BrowseNameText" inherits="GameFontHighlightSmall" text="NAME">
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="80" y="-41"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="BrowseLevelText" inherits="GameFontHighlightSmall" text="LEVEL_RANGE">
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="230" y="-47"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="BrowseSearchCountText" inherits="GameFontHighlightSmall">
							<Anchors>
								<Anchor point="BOTTOM">
									<Offset>
										<AbsDimension x="80" y="53"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="BrowseNoResultsText" inherits="GameFontNormal" text="BROWSE_SEARCH_TEXT"  hidden="true">
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="115" y="-120"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="BrowseSearchDotsText" inherits="GameFontNormal">
							<Anchors>
								<Anchor point="LEFT" relativeTo="BrowseNoResultsText" relativePoint="RIGHT">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Button name="AuctionFilterButton1" inherits="AuctionClassButtonTemplate" id="1">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="23" y="-105"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton2" inherits="AuctionClassButtonTemplate" id="2">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton1" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton3" inherits="AuctionClassButtonTemplate" id="3">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton2" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton4" inherits="AuctionClassButtonTemplate" id="4">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton3" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton5" inherits="AuctionClassButtonTemplate" id="5">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton4" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton6" inherits="AuctionClassButtonTemplate" id="6">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton5" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton7" inherits="AuctionClassButtonTemplate" id="7">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton6" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton8" inherits="AuctionClassButtonTemplate" id="8">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton7" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton9" inherits="AuctionClassButtonTemplate" id="9">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton8" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton10" inherits="AuctionClassButtonTemplate" id="10">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton9" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton11" inherits="AuctionClassButtonTemplate" id="11">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton10" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton12" inherits="AuctionClassButtonTemplate" id="12">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton11" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton13" inherits="AuctionClassButtonTemplate" id="13">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton12" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton14" inherits="AuctionClassButtonTemplate" id="14">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton13" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionFilterButton15" inherits="AuctionClassButtonTemplate" id="15">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionFilterButton14" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<ScrollFrame name="BrowseFilterScrollFrame" inherits="FauxScrollFrameTemplate">
						<Size>
							<AbsDimension x="160" y="305"/>
						</Size>
						<Anchors>
							<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
								<Offset>
									<AbsDimension x="158" y="-105"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size>
										<AbsDimension x="31" y="256"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
											<Offset>
												<AbsDimension x="-2" y="5"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
								</Texture>
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size>
										<AbsDimension x="31" y="106"/>
									</Size>
									<Anchors>
										<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
											<Offset>
												<AbsDimension x="-2" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
								</Texture>
							</Layer>
						</Layers>
						<Scripts>
							<OnVerticalScroll>
								FauxScrollFrame_OnVerticalScroll(self, offset, BROWSE_FILTER_HEIGHT, AuctionFrameFilters_Update);
							</OnVerticalScroll>
						</Scripts>
					</ScrollFrame>
					<ScrollFrame name="BrowseScrollFrame" inherits="FauxScrollFrameTemplate">
						<Size>
							<AbsDimension x="465" y="306"/>
						</Size>
						<Anchors>
							<Anchor point="TOPRIGHT">
								<Offset>
									<AbsDimension x="39" y="-105"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size>
										<AbsDimension x="31" y="256"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
											<Offset>
												<AbsDimension x="-2" y="5"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
								</Texture>
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size>
										<AbsDimension x="31" y="106"/>
									</Size>
									<Anchors>
										<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
											<Offset>
												<AbsDimension x="-2" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
								</Texture>
							</Layer>
						</Layers>
						<Scripts>
							<OnVerticalScroll>
								FauxScrollFrame_OnVerticalScroll(self, offset, AUCTIONS_BUTTON_HEIGHT, AuctionFrameBrowse_Update);
							</OnVerticalScroll>
						</Scripts>
					</ScrollFrame>
					<Button name="BrowseQualitySort" inherits="AuctionSortButtonTemplate" text="RARITY">
						<Size>
							<AbsDimension x="214" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="186" y="-82"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("list", "quality")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BrowseLevelSort" inherits="AuctionSortButtonTemplate" text="LEVEL_ABBR">
						<Size>
							<AbsDimension x="57" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="BrowseQualitySort" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("list", "level")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BrowseDurationSort" inherits="AuctionSortButtonTemplate" text="CLOSES_IN">
						<Size>
							<AbsDimension x="91" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="BrowseLevelSort" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("list", "duration")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BrowseHighBidderSort" inherits="AuctionSortButtonTemplate" text="AUCTION_CREATOR">
						<Size>
							<AbsDimension x="76" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="BrowseDurationSort" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("list", "seller")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BrowseCurrentBidSort" inherits="AuctionSortButtonTemplate" text="CURRENT_BID">
						<Size>
							<AbsDimension x="207" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="BrowseHighBidderSort" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("list", "bid");
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BrowseButton1" inherits="BrowseButtonTemplate" id="1">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="195" y="-110"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BrowseButton2" inherits="BrowseButtonTemplate" id="2">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BrowseButton1" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BrowseButton3" inherits="BrowseButtonTemplate" id="3">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BrowseButton2" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BrowseButton4" inherits="BrowseButtonTemplate" id="4">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BrowseButton3" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BrowseButton5" inherits="BrowseButtonTemplate" id="5">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BrowseButton4" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BrowseButton6" inherits="BrowseButtonTemplate" id="6">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BrowseButton5" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BrowseButton7" inherits="BrowseButtonTemplate" id="7">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BrowseButton6" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BrowseButton8" inherits="BrowseButtonTemplate" id="8">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BrowseButton7" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<EditBox name="BrowseName" autoFocus="false" inherits="InputBoxTemplate">
						<Size>
							<AbsDimension x="140" y="16"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BrowseNameText" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="3" y="-2"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnTabPressed>
								if ( IsShiftKeyDown() ) then
									BrowseBidPriceCopper:SetFocus();
								else
									BrowseMinLevel:SetFocus();
								end
							</OnTabPressed>
							<OnEnterPressed>
								AuctionFrameBrowse_Search();
								self:ClearFocus();
							</OnEnterPressed>
						</Scripts>
						<FontString inherits="ChatFontNormal" bytes="64"/>
					</EditBox>
					<EditBox name="BrowseMinLevel" letters="2" numeric="true" autoFocus="false" inherits="InputBoxTemplate">
						<Size>
							<AbsDimension x="25" y="16"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BrowseLevelText" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="3" y="-6"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<FontString name="BrowseLevelHyphen" inherits="GameFontHighlightSmall" text="-">
									<Anchors>
										<Anchor point="LEFT" relativeTo="BrowseMinLevel" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="0" y="1"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnTabPressed>
								if ( IsShiftKeyDown() ) then
									BrowseName:SetFocus();
								else
									BrowseMaxLevel:SetFocus();
								end
							</OnTabPressed>
							<OnEnterPressed function="EditBox_ClearFocus"/>
						</Scripts>
					</EditBox>
					<EditBox name="BrowseMaxLevel" letters="2" numeric="true" autoFocus="false" inherits="InputBoxTemplate">
						<Size>
							<AbsDimension x="25" y="16"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="BrowseMinLevel" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="12" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnTabPressed>
								if ( IsShiftKeyDown() ) then
									BrowseMinLevel:SetFocus();
								else
									BrowseBidPriceGold:SetFocus();
								end
							</OnTabPressed>
							<OnEnterPressed function="EditBox_ClearFocus"/>
						</Scripts>
					</EditBox>
					<Frame name="BrowseDropDown" inherits="UIDropDownMenuTemplate" id="1">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BrowseLevelText" relativePoint="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-5" y="-1"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="BrowseDropDownName" inherits="GameFontHighlightSmall" text="RARITY">
									<Anchors>
										<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
											<Offset>
												<AbsDimension x="20" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnLoad function="BrowseDropDown_OnLoad"/>
							<OnShow function="BrowseDropDown_OnLoad"/>
						</Scripts>
					</Frame>
					<CheckButton name="IsUsableCheckButton" inherits="UICheckButtonTemplate">
						<Size>
							<AbsDimension x="24" y="24"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="BrowseDropDownButton" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="10" y="13"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								IsUsableCheckButtonText:SetFontObject(GameFontHighlightSmall);
								IsUsableCheckButtonText:SetText(USABLE_ITEMS);
							</OnLoad>
							<OnClick>
								PlaySound("igMainMenuOptionCheckBoxOn");
							</OnClick>
						</Scripts>
					</CheckButton>
					<CheckButton name="ShowOnPlayerCheckButton" inherits="UICheckButtonTemplate">
						<Size>
							<AbsDimension x="24" y="24"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="IsUsableCheckButton" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="2"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								ShowOnPlayerCheckButtonText:SetFontObject(GameFontHighlightSmall);
								ShowOnPlayerCheckButtonText:SetText(DISPLAY_ON_CHARACTER);
							</OnLoad>
							<OnShow>
								self:SetChecked(GetCVarBool("auctionDisplayOnCharacter"));
							</OnShow>
							<OnClick>
								PlaySound("igMainMenuOptionCheckBoxOn");
								SetCVar("auctionDisplayOnCharacter", self:GetChecked());
							</OnClick>
							<OnEnter>
								GameTooltip:SetOwner(self, "ANCHOR_LEFT");
								GameTooltip:SetText(DISPLAY_ON_CHAR_TOOLTIP, nil, nil, nil, nil, 1);
							</OnEnter>
							<OnLeave function="GameTooltip_Hide"/>
						</Scripts>
					</CheckButton>
					<Button name="BrowseSearchButton" inherits="UIPanelButtonTemplate" text="SEARCH">
						<Size>
							<AbsDimension x="80" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="TOPRIGHT">
								<Offset>
									<AbsDimension x="25" y="-39"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrameBrowse_Search();
							</OnClick>
							<OnUpdate function="BrowseSearchButton_OnUpdate"/>
						</Scripts>
					</Button>
					<Button name="BrowsePrevPageButton">
						<Size>
							<AbsDimension x="32" y="32"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="658" y="-53"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<FontString inherits="GameFontHighlightSmall" justifyH="LEFT" text="PREV">
									<Size>
										<AbsDimension x="60" y="10"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativePoint="RIGHT"/>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnClick>
								PlaySound("igMainMenuOptionCheckBoxOn");
								AuctionFrameBrowse.page = AuctionFrameBrowse.page - 1;
								self:Disable();
								BrowseScrollFrameScrollBar:SetValue(0);
								AuctionFrameBrowse_Search();
							</OnClick>
						</Scripts>
						<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
						<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
						<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/>
						<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
					</Button>
					<Button name="BrowseNextPageButton">
						<Size>
							<AbsDimension x="32" y="32"/>
						</Size>
						<Anchors>
							<Anchor point="TOPRIGHT">
								<Offset>
									<AbsDimension x="70" y="-53"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<FontString inherits="GameFontHighlightSmall" justifyH="RIGHT" text="NEXT">
									<Size>
										<AbsDimension x="60" y="10"/>
									</Size>
									<Anchors>
										<Anchor point="RIGHT" relativePoint="LEFT"/>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnClick>
								PlaySound("igMainMenuOptionCheckBoxOn");
								AuctionFrameBrowse.page = AuctionFrameBrowse.page + 1;
								self:Disable();
								BrowseScrollFrameScrollBar:SetValue(0);
								AuctionFrameBrowse_Search();
							</OnClick>
						</Scripts>
						<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
						<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
						<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
						<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
					</Button>
					<Button name="BrowseCloseButton" inherits="UIPanelButtonTemplate" text="CLOSE">
						<Size>
							<AbsDimension x="80" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="66" y="14"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								HideUIPanel(self:GetParent():GetParent());
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BrowseBuyoutButton" inherits="UIPanelButtonTemplate" text="BUYOUT">
						<Size>
							<AbsDimension x="80" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="RIGHT" relativeTo="BrowseCloseButton" relativePoint="LEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								StaticPopup_Show("BUYOUT_AUCTION");
								self:Disable();
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BrowseBidButton" inherits="UIPanelButtonTemplate" text="BID">
						<Size>
							<AbsDimension x="80" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="RIGHT" relativeTo="BrowseBuyoutButton" relativePoint="LEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								PlaceAuctionBid("list", GetSelectedAuctionItem("list"), MoneyInputFrame_GetCopper(BrowseBidPrice));
								self:Disable();
							</OnClick>
						</Scripts>
					</Button>
					<Frame name="BrowseBidPrice" inherits="MoneyInputFrameTemplate">
						<Anchors>
							<Anchor point="BOTTOM">
								<Offset>
									<AbsDimension x="25" y="18"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="BrowseBidText" inherits="GameFontHighlightSmall" text="BID" justifyH="RIGHT">
									<Anchors>
										<Anchor point="RIGHT" relativeTo="$parent" relativePoint="LEFT">
											<Offset>
												<AbsDimension x="-10" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<Button name="BrowseResetButton" inherits="UIPanelButtonTemplate" text="RESET">
						<Size>
							<AbsDimension x="80" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="78" y="-75"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick function="AuctionFrameBrowse_Reset"/>
							<OnUpdate function="BrowseResetButton_OnUpdate"/>
						</Scripts>
					</Button>
				</Frames>
				<Scripts>
					<OnLoad function="AuctionFrameBrowse_OnLoad"/>
					<OnShow function="AuctionFrameBrowse_OnShow"/>
					<OnEvent function="AuctionFrameBrowse_OnEvent"/>
				</Scripts>
			</Frame>
			<!-- Bid Tab -->
			<Frame name="AuctionFrameBid" hidden="false">
				<Size>
					<AbsDimension x="758" y="447"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="BidTitle" inherits="GameFontNormal" text="BID">
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-18"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
					<Layer level="ARTWORK">
						<FontString name="BidBidText" inherits="GameFontHighlightSmall" text="BID">
							<Anchors>
								<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOM">
									<Offset>
										<AbsDimension x="-115" y="21"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="BidSearchCountText" inherits="GameFontHighlightSmall">
							<Anchors>
								<Anchor point="BOTTOM">
									<Offset>
										<AbsDimension x="-10" y="53"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Button name="BidQualitySort" inherits="AuctionSortButtonTemplate" text="RARITY">
						<Size>
							<AbsDimension x="195" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="65" y="-52"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("bidder", "quality")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BidLevelSort" inherits="AuctionSortButtonTemplate" text="LEVEL_ABBR">
						<Size>
							<AbsDimension x="65" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="BidQualitySort" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("bidder", "level")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BidDurationSort" inherits="AuctionSortButtonTemplate" text="CLOSES_IN">
						<Size>
							<AbsDimension x="79" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="BidLevelSort" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("bidder", "duration")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BidBuyoutSort" inherits="AuctionSortButtonTemplate" text="BUYOUT_PRICE">
						<Size>
							<AbsDimension x="162" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="BidDurationSort" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("bidder", "buyout")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BidStatusSort" inherits="AuctionSortButtonTemplate" text="BID_STATUS">
						<Size>
							<AbsDimension x="94" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="BidBuyoutSort" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("bidder", "status")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BidBidSort" inherits="AuctionSortButtonTemplate" text="CURRENT_BID">
						<Size>
							<AbsDimension x="169" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="BidStatusSort" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("bidder", "bid")
							</OnClick>
						</Scripts>
					</Button>
					<ScrollFrame name="BidScrollFrame" inherits="FauxScrollFrameTemplate">
						<Size>
							<AbsDimension x="625" y="335"/>
						</Size>
						<Anchors>
							<Anchor point="TOPRIGHT">
								<Offset>
									<AbsDimension x="40" y="-74"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size>
										<AbsDimension x="31" y="256"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
											<Offset>
												<AbsDimension x="-2" y="5"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
								</Texture>
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size>
										<AbsDimension x="31" y="106"/>
									</Size>
									<Anchors>
										<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
											<Offset>
												<AbsDimension x="-2" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
								</Texture>
							</Layer>
						</Layers>
						<Scripts>
							<OnVerticalScroll>
								FauxScrollFrame_OnVerticalScroll(self, offset, AUCTIONS_BUTTON_HEIGHT, AuctionFrameBid_Update)
							</OnVerticalScroll>
						</Scripts>
					</ScrollFrame>
					<Button name="BidButton1" inherits="BidButtonTemplate" id="1">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="27" y="-76"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BidButton2" inherits="BidButtonTemplate" id="2">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BidButton1" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BidButton3" inherits="BidButtonTemplate" id="3">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BidButton2" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BidButton4" inherits="BidButtonTemplate" id="4">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BidButton3" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BidButton5" inherits="BidButtonTemplate" id="5">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BidButton4" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BidButton6" inherits="BidButtonTemplate" id="6">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BidButton5" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BidButton7" inherits="BidButtonTemplate" id="7">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BidButton6" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BidButton8" inherits="BidButtonTemplate" id="8">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BidButton7" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="BidButton9" inherits="BidButtonTemplate" id="9">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="BidButton8" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Frame name="BidBidPrice" inherits="MoneyInputFrameTemplate">
						<Anchors>
							<Anchor point="BOTTOM">
								<Offset>
									<AbsDimension x="-15" y="18"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Frame>
					<Button name="BidCloseButton" inherits="UIPanelButtonTemplate" text="CLOSE">
						<Size>
							<AbsDimension x="80" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="66" y="14"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								HideUIPanel(self:GetParent():GetParent());
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BidBuyoutButton" inherits="UIPanelButtonTemplate" text="BUYOUT">
						<Size>
							<AbsDimension x="80" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="RIGHT" relativeTo="BidCloseButton" relativePoint="LEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								StaticPopup_Show("BUYOUT_AUCTION");
								self:Disable();
							</OnClick>
						</Scripts>
					</Button>
					<Button name="BidBidButton" inherits="UIPanelButtonTemplate" text="BID">
						<Size>
							<AbsDimension x="80" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="RIGHT" relativeTo="BidBuyoutButton" relativePoint="LEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								PlaceAuctionBid("bidder", GetSelectedAuctionItem("bidder"), MoneyInputFrame_GetCopper(BidBidPrice))
								self:Disable();
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
				<Scripts>
					<OnLoad function="AuctionFrameBid_OnLoad"/>
					<OnShow function="AuctionFrameBid_OnShow"/>
					<OnEvent function="AuctionFrameBid_OnEvent"/>
				</Scripts>
			</Frame>
			<!-- Auctions Tab -->
			<Frame name="AuctionFrameAuctions" hidden="true">
				<Size>
					<AbsDimension x="758" y="447"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="AuctionsTitle" inherits="GameFontNormal">
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-18"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
					<Layer level="ARTWORK">
						<FontString name="AuctionsTabText" inherits="GameFontHighlightSmall" text="CREATE_AUCTION">
							<Anchors>
								<Anchor point="TOP" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="121" y="-55"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="AuctionsItemText" inherits="GameFontHighlightSmall" text="AUCTION_ITEM">
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="28" y="-83"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="AuctionsPriceText" inherits="GameFontHighlightSmall" text="STARTING_PRICE">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="AuctionsItemText">
									<Offset>
										<AbsDimension x="0" y="-70"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="AuctionsDurationText" inherits="GameFontHighlightSmall" text="AUCTION_DURATION">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="AuctionsPriceText">
									<Offset>
										<AbsDimension x="0" y="-50"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="AuctionsBuyoutText" inherits="GameFontHighlightSmall">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="AuctionsPriceText">
									<Offset>
										<AbsDimension x="0" y="-144"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="AuctionsBuyoutErrorText" inherits="GameFontRedSmall" text="AUCTION_BUYOUT_ERROR">
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativeTo="AuctionsBuyoutText" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="0" y="3"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="AuctionsDepositText" inherits="GameFontNormal" text="DEPOSIT_COLON">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="AuctionsBuyoutText">
									<Offset>
										<AbsDimension x="0" y="-67"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="AuctionsSearchCountText" inherits="GameFontHighlightSmall">
							<Anchors>
								<Anchor point="BOTTOM">
									<Offset>
										<AbsDimension x="90" y="53"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Button name="AuctionsQualitySort" inherits="AuctionSortButtonTemplate" text="RARITY">
						<Size>
							<AbsDimension x="185" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="219" y="-51"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("owner", "quality")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="AuctionsDurationSort" inherits="AuctionSortButtonTemplate" text="CLOSES_IN">
						<Size>
							<AbsDimension x="100" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="AuctionsQualitySort" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("owner", "duration")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="AuctionsHighBidderSort" inherits="AuctionSortButtonTemplate" text="HIGH_BIDDER">
						<Size>
							<AbsDimension x="108" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="AuctionsDurationSort" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("owner", "status")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="AuctionsBidSort" inherits="AuctionSortButtonTemplate" text="CURRENT_BID">
						<Size>
							<AbsDimension x="213" y="19"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="AuctionsHighBidderSort" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AuctionFrame_OnClickSortColumn("owner", "bid")
							</OnClick>
						</Scripts>
					</Button>
					<ScrollFrame name="AuctionsScrollFrame" inherits="FauxScrollFrameTemplate">
						<Size>
							<AbsDimension x="435" y="339"/>
						</Size>
						<Anchors>
							<Anchor point="TOPRIGHT">
								<Offset>
									<AbsDimension x="40" y="-72"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size>
										<AbsDimension x="31" y="256"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
											<Offset>
												<AbsDimension x="-2" y="5"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
								</Texture>
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size>
										<AbsDimension x="31" y="106"/>
									</Size>
									<Anchors>
										<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
											<Offset>
												<AbsDimension x="-2" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
								</Texture>
							</Layer>
						</Layers>
						<Scripts>
							<OnVerticalScroll>
								FauxScrollFrame_OnVerticalScroll(self, offset, AUCTIONS_BUTTON_HEIGHT, AuctionFrameAuctions_Update);
							</OnVerticalScroll>
						</Scripts>
					</ScrollFrame>
					<Button name="AuctionsButton1" inherits="AuctionsButtonTemplate" id="1">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="219" y="-76"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionsButton2" inherits="AuctionsButtonTemplate" id="2">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsButton1" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionsButton3" inherits="AuctionsButtonTemplate" id="3">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsButton2" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionsButton4" inherits="AuctionsButtonTemplate" id="4">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsButton3" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionsButton5" inherits="AuctionsButtonTemplate" id="5">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsButton4" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionsButton6" inherits="AuctionsButtonTemplate" id="6">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsButton5" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionsButton7" inherits="AuctionsButtonTemplate" id="7">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsButton6" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionsButton8" inherits="AuctionsButtonTemplate" id="8">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsButton7" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionsButton9" inherits="AuctionsButtonTemplate" id="9">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsButton8" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AuctionsItemButton">
						<Size>
							<AbsDimension x="37" y="37"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="28" y="-98"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<FontString name="$parentName" inherits="GameFontNormal">
									<Size>
										<AbsDimension x="124" y="30"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
											<Offset>
												<AbsDimension x="5" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
							<Layer level="OVERLAY">
								<FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
									<Anchors>
										<Anchor point="BOTTOMRIGHT">
											<Offset>
												<AbsDimension x="-5" y="2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnLoad>
								self:RegisterEvent("NEW_AUCTION_UPDATE");
								self:RegisterForDrag("LeftButton");
							</OnLoad>
							<OnEvent function="AuctionSellItemButton_OnEvent"/>
							<OnClick function="AuctionSellItemButton_OnClick"/>
							<OnDragStart function="AuctionSellItemButton_OnClick"/>
							<OnReceiveDrag function="AuctionSellItemButton_OnClick"/>
							<OnEnter>
								GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
								if ( GetAuctionSellItemInfo() ) then
									GameTooltip:SetAuctionSellItem();
								else
									GameTooltip:SetText(AUCTION_ITEM_TEXT, 1.0, 1.0, 1.0);
								end
							</OnEnter>
							<OnLeave function="GameTooltip_Hide"/>
						</Scripts>
						<HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
					</Button>
					<Frame name="StartPrice" inherits="MoneyInputFrameTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsPriceText" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="3" y="-2"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								MoneyInputFrame_SetOnValueChangedFunc(self, AuctionsFrameAuctions_ValidateAuction);
								StartPriceGold:SetMaxLetters(6);
							</OnLoad>
						</Scripts>
					</Frame>
					<CheckButton name="AuctionsShortAuctionButton" inherits="UIRadioButtonTemplate" id="1">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsDurationText" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="3" y="-2"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								_G[self:GetName().."Text"]:SetFormattedText(FORMATED_HOURS, 12);
							</OnLoad>
							<OnClick function="AuctionsRadioButton_OnClick"/>
						</Scripts>
					</CheckButton>
					<CheckButton name="AuctionsMediumAuctionButton" inherits="UIRadioButtonTemplate" id="2">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsShortAuctionButton" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								_G[self:GetName().."Text"]:SetFormattedText(FORMATED_HOURS, 24);
							</OnLoad>
							<OnClick function="AuctionsRadioButton_OnClick"/>
						</Scripts>
					</CheckButton>
					<CheckButton name="AuctionsLongAuctionButton" inherits="UIRadioButtonTemplate" id="3">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsMediumAuctionButton" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								_G[self:GetName().."Text"]:SetFormattedText(FORMATED_HOURS, 48);
							</OnLoad>
							<OnClick function="AuctionsRadioButton_OnClick"/>
						</Scripts>
					</CheckButton>
					<Frame name="BuyoutPrice" inherits="MoneyInputFrameTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="AuctionsBuyoutText" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="2" y="-2"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								MoneyInputFrame_SetOnValueChangedFunc(self, AuctionsFrameAuctions_ValidateAuction);
							</OnLoad>
						</Scripts>
					</Frame>
					<Frame name="AuctionsDepositMoneyFrame" inherits="SmallMoneyFrameTemplate">
						<Anchors>
							<Anchor point="LEFT" relativeTo="AuctionsDepositText" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="5" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								self.small = 1;
								MoneyFrame_SetType(self, "AUCTION_DEPOSIT");
							</OnLoad>
						</Scripts>
					</Frame>
					<Button name="AuctionsCloseButton" inherits="UIPanelButtonTemplate" text="CLOSE">
						<Size>
							<AbsDimension x="80" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="66" y="14"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								HideUIPanel(self:GetParent():GetParent());
							</OnClick>
						</Scripts>
					</Button>
					<Button name="AuctionsCancelAuctionButton" inherits="UIPanelButtonTemplate" text="CANCEL_AUCTION">
						<Size>
							<AbsDimension x="126" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="RIGHT" relativeTo="AuctionsCloseButton" relativePoint="LEFT">
								<Offset>
									<AbsDimension x="2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								if ( GetSelectedAuctionItem("owner") and (GetSelectedAuctionItem("owner") > 0) ) then
									StaticPopup_Show("CANCEL_AUCTION");
								end
							</OnClick>
						</Scripts>
					</Button>
					<Button name="AuctionsCreateAuctionButton" inherits="UIPanelButtonTemplate" text="CREATE_AUCTION">
						<Size>
							<AbsDimension x="191" y="20"/>
						</Size>
						<Anchors>
							<Anchor point="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="18" y="39"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick function="AuctionsCreateAuctionButton_OnClick"/>
						</Scripts>
					</Button>
				</Frames>
				<Scripts>
					<OnLoad function="AuctionFrameAuctions_OnLoad"/>
					<OnShow function="AuctionFrameAuctions_OnShow"/>
					<OnEvent function="AuctionFrameAuctions_OnEvent"/>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad function="AuctionFrame_OnLoad"/>
			<OnShow function="AuctionFrame_OnShow"/>
			<OnHide>
				PlaySound("AuctionWindowClose");
				StaticPopup_Hide("BUYOUT_AUCTION");
				StaticPopup_Hide("CANCEL_AUCTION");
				HideUIPanel(AuctionDressUpFrame);
				CloseAuctionHouse();
			</OnHide>
		</Scripts>
	</Frame>
</Ui>