<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="GuildRaidSnapShot.lua"/>


	<Script file="GRSS_Data.lua"/>


	<FontString name="GRSSFont" font="Fonts\ARIALN.TTF" virtual="true">


		<FontHeight>


			<AbsValue val="12"/>


		</FontHeight>


		<Color r="1.0" g="1.0" b="0.0"/>


	</FontString>


	<FontString name="GRSSHeaderFont" font="Fonts\ARIALN.TTF" virtual="true">


		<FontHeight>


			<AbsValue val="12"/>


		</FontHeight>


		<Color r="1.0" g="1.0" b="1.0"/>


	</FontString>


	<Button name="GRSSDeleteButtonTemplate" inherits="OptionsButtonTemplate" virtual="true">


		<Size>


			<AbsDimension x="11" y="11"/>


		</Size>


	</Button>


	<Button name = "GRSSBidsTemplate" virtual="true">


		<Size>


			<AbsDimension x="135" y="11" />


		</Size>


		<Frames>


			<Frame name="$parentField" setAllPoints="true" enableMouse="true">


				<Layers>


					<Layer level="HIGHLIGHT">


						<Texture name="$parentHighlight" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true" hidden="true">


							<Size>


								<AbsDimension x="210" y="11"/>


							</Size>


							<Anchors>


								<Anchor point="TOP">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</Texture>


					</Layer>


					<Layer level="BACKGROUND">


						<FontString name="$parentPlayer" inherits="GRSSFont" justifyH="LEFT">


							<Size>


								<AbsDimension x="70" y="11"/>


							</Size>


							<Anchors>


								<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</FontString>


						<FontString name="$parentBid" inherits="GRSSFont" justifyH="RIGHT">


							<Size>


								<AbsDimension x="50" y="11"/>


							</Size>


							<Anchors>


								<Anchor point="TOPLEFT" relativeTo="$parentPlayer" relativePoint="TOPRIGHT">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</FontString>


					</Layer>	


				</Layers>


			</Frame>	


		</Frames>


	</Button>


	<Button name = "GRSSRowTemplate" virtual="true">


		<Size>


			<AbsDimension x="410" y="11" />


		</Size>


		<Frames>


			<Frame name="$parentField" setAllPoints="true" enableMouse="true">


				<Layers>


					<Layer level="HIGHLIGHT">


						<Texture name="$parentHighlight" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true">


							<Size>


								<AbsDimension x="330" y="11"/>


							</Size>


							<Anchors>


								<Anchor point="TOP">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</Texture>


					</Layer>


					<Layer level="BACKGROUND">


						<FontString name="$parentPlayer" inherits="GRSSFont" justifyH="LEFT">


							<Size>


								<AbsDimension x="90" y="11"/>


							</Size>


							<Anchors>


								<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</FontString>


						<FontString name="$parentRank" inherits="GRSSFont" justifyH="LEFT">


							<Size>


								<AbsDimension x="60" y="11"/>


							</Size>


							<Anchors>


								<Anchor point="TOPLEFT" relativeTo="$parentPlayer" relativePoint="TOPRIGHT">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</FontString>


						<FontString name="$parentClass" inherits="GRSSFont" justifyH="LEFT">


							<Size>


								<AbsDimension x="60" y="11"/>


							</Size>


							<Anchors>


								<Anchor point="TOPLEFT" relativeTo="$parentRank" relativePoint="TOPRIGHT">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</FontString>


						<FontString name="$parentEarned" inherits="GRSSFont" justifyH="RIGHT">


							<Size>


								<AbsDimension x="50" y="11"/>


							</Size>


							<Anchors>


								<Anchor point="TOPLEFT" relativeTo="$parentClass" relativePoint="TOPRIGHT">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</FontString>


						<FontString name="$parentSpent" inherits="GRSSFont" justifyH="RIGHT">


							<Size>


								<AbsDimension x="50" y="11"/>


							</Size>


							<Anchors>


								<Anchor point="TOPLEFT" relativeTo="$parentEarned" relativePoint="TOPRIGHT">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</FontString>


						<FontString name="$parentAdj" inherits="GRSSFont" justifyH="RIGHT">


							<Size>


								<AbsDimension x="50" y="11"/>


							</Size>


							<Anchors>


								<Anchor point="TOPLEFT" relativeTo="$parentSpent" relativePoint="TOPRIGHT">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</FontString>


						<FontString name="$parentDKP" inherits="GRSSFont" justifyH="RIGHT">


							<Size>


								<AbsDimension x="50" y="11"/>


							</Size>


							<Anchors>


								<Anchor point="TOPLEFT" relativeTo="$parentAdj" relativePoint="TOPRIGHT">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</FontString>


					</Layer>


				</Layers>


			</Frame>


		</Frames>


	</Button>


	<Frame name="GRSSTimer" parent="UIParent">


		<Scripts>


			<OnLoad>


				tinsert(UISpecialFrames,"GRSS");


				--GuildRaidSnapShot_OnLoad();


			</OnLoad>


			<OnUpdate>


				GRSS_Timer_OnUpdate();


			</OnUpdate>


		</Scripts>


	</Frame>


	<Frame name="GRSS" parent="UIParent" enableMouse="true" movable="true">


		<Size>


			<AbsDimension x="460" y="200"/>


		</Size>


		<Anchors>


			<Anchor point="CENTER"/>


		</Anchors>


		<Scripts>


			<OnLoad>


				tinsert(UISpecialFrames,"GRSS");


				GuildRaidSnapShot_OnLoad();


			</OnLoad>


			<OnEvent>


				GuildRaidSnapShot_OnEvent(event,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);


			</OnEvent>


			<OnMouseUp>


				 if ( this.isMoving ) then


					this:StopMovingOrSizing();


					this.isMoving = false;


				 end


			</OnMouseUp>


			<OnMouseDown>


			 if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then


				this:StartMoving();


				this.isMoving = true;


			 end


			</OnMouseDown>


			<OnHide>


				GRSSPrint("You can type |c00ffff00/grss show|r to bring back the current standings frame");


			 if ( this.isMoving ) then


				this:StopMovingOrSizing();


				this.isMoving = false;


			 end


			</OnHide>


		</Scripts>


		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">


			<BackgroundInsets>


				<AbsInset left="4" right="4" top="4" bottom="4" />


			</BackgroundInsets>


			<TileSize>


				<AbsValue val="16" />


			</TileSize>


			<EdgeSize>


				<AbsValue val="16" />


			</EdgeSize>


		</Backdrop>


		<Frames>	


			<Button name="$parentHeader">


				<Size>


					<AbsDimension x="400" y="11"/>


				</Size>


				<Anchors>


					<Anchor point="TOPLEFT">


						<Offset>


							<AbsDimension x="8" y="-68"/>


						</Offset>


					</Anchor>


				</Anchors>


				<Frames>	


					<Button name="$parentPlayer">


						<Size>


							<AbsDimension x="90" y="11"/>


						</Size>


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">


								<Offset>


									<AbsDimension x="0" y="0"/>


								</Offset>


							</Anchor>


						</Anchors>


						<Layers>


							<Layer level="BACKGROUND">


								<FontString name="$parentText" inherits="GRSSHeaderFont" justifyH="LEFT" text="Name">


									<Anchors>


										<Anchor point="LEFT">


											<Offset>


												<AbsDimension x="0" y="0"/>


											</Offset>


										</Anchor>


									</Anchors>


								</FontString>


							</Layer>


						</Layers>


						<Scripts>


							<OnClick>


								GRSSSortBy("name");


							</OnClick>


						</Scripts>


					</Button>


					<Button name="$parentRank">


						<Size>


							<AbsDimension x="60" y="11"/>


						</Size>


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentPlayer" relativePoint="TOPRIGHT">


								<Offset>


									<AbsDimension x="0" y="0"/>


								</Offset>


							</Anchor>


						</Anchors>


						<Layers>


							<Layer level="BACKGROUND">


								<FontString name="$parentText" inherits="GRSSHeaderFont" justifyH="LEFT" text="Rank">


									<Anchors>


										<Anchor point="LEFT">


											<Offset>


												<AbsDimension x="0" y="0"/>


											</Offset>


										</Anchor>


									</Anchors>


								</FontString>


							</Layer>


						</Layers>


						<Scripts>


							<OnClick>


								GRSSSortBy("rankid");


							</OnClick>


						</Scripts>


					</Button>


					<Button name="$parentClass">


						<Size>


							<AbsDimension x="60" y="11"/>


						</Size>


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRank" relativePoint="TOPRIGHT">


								<Offset>


									<AbsDimension x="0" y="0"/>


								</Offset>


							</Anchor>


						</Anchors>


						<Layers>


							<Layer level="BACKGROUND">


								<FontString name="$parentText" inherits="GRSSHeaderFont" justifyH="LEFT" text="Class">


									<Anchors>


										<Anchor point="LEFT">


											<Offset>


												<AbsDimension x="0" y="0"/>


											</Offset>


										</Anchor>


									</Anchors>


								</FontString>


							</Layer>


						</Layers>


						<Scripts>


							<OnClick>


								GRSSSortBy("class");


							</OnClick>


						</Scripts>


					</Button>


					<Button name="$parentEarned">


						<Size>


							<AbsDimension x="50" y="11"/>


						</Size>


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentClass" relativePoint="TOPRIGHT">


								<Offset>


									<AbsDimension x="0" y="0"/>


								</Offset>


							</Anchor>


						</Anchors>


						<Layers>


							<Layer level="BACKGROUND">


								<FontString name="$parentText" inherits="GRSSHeaderFont" justifyH="RIGHT" text="Earned">


									<Anchors>


										<Anchor point="RIGHT">


											<Offset>


												<AbsDimension x="0" y="0"/>


											</Offset>


										</Anchor>


									</Anchors>


								</FontString>


							</Layer>


						</Layers>


						<Scripts>


							<OnClick>


								GRSSSortBy("earned");


							</OnClick>


						</Scripts>


					</Button>


					<Button name="$parentSpent">


						<Size>


							<AbsDimension x="50" y="11"/>


						</Size>


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentEarned" relativePoint="TOPRIGHT">


								<Offset>


									<AbsDimension x="0" y="0"/>


								</Offset>


							</Anchor>


						</Anchors>


						<Layers>


							<Layer level="BACKGROUND">


								<FontString name="$parentText" inherits="GRSSHeaderFont" justifyH="RIGHT" text="Spent">


									<Anchors>


										<Anchor point="RIGHT">


											<Offset>


												<AbsDimension x="0" y="0"/>


											</Offset>


										</Anchor>


									</Anchors>


								</FontString>


							</Layer>


						</Layers>


						<Scripts>


							<OnClick>


								GRSSSortBy("spent");


							</OnClick>


						</Scripts>


					</Button>


					<Button name="$parentAdj">


						<Size>


							<AbsDimension x="50" y="11"/>


						</Size>


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentSpent" relativePoint="TOPRIGHT">


								<Offset>


									<AbsDimension x="0" y="0"/>


								</Offset>


							</Anchor>


						</Anchors>


						<Layers>


							<Layer level="BACKGROUND">


								<FontString name="$parentText" inherits="GRSSHeaderFont" justifyH="RIGHT" text="Adj">


									<Anchors>


										<Anchor point="RIGHT">


											<Offset>


												<AbsDimension x="0" y="0"/>


											</Offset>


										</Anchor>


									</Anchors>


								</FontString>


							</Layer>


						</Layers>


						<Scripts>


							<OnClick>


								GRSSSortBy("adj");


							</OnClick>


						</Scripts>


					</Button>


					<Button name="$parentDKP">


						<Size>


							<AbsDimension x="50" y="11"/>


						</Size>


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentAdj" relativePoint="TOPRIGHT">


								<Offset>


									<AbsDimension x="0" y="0"/>


								</Offset>


							</Anchor>


						</Anchors>


						<Layers>


							<Layer level="BACKGROUND">


								<FontString name="$parentText" inherits="GRSSHeaderFont" justifyH="RIGHT" text="Total">


									<Anchors>


										<Anchor point="RIGHT">


											<Offset>


												<AbsDimension x="0" y="0"/>


											</Offset>


										</Anchor>


									</Anchors>


								</FontString>


							</Layer>


						</Layers>


						<Scripts>


							<OnClick>


								GRSSSortBy("total");


							</OnClick>


						</Scripts>


					</Button>


				</Frames>


			</Button>


			





			<Button name="$parentCloseButton" inherits="UIPanelCloseButton">


				<Size>


					<AbsDimension x="27" y="27"/>


				</Size>


				<Anchors>


					<Anchor point="TOPRIGHT">


						<Offset>


							<AbsDimension x="0" y="0"/>


						</Offset>


					</Anchor>


				</Anchors>


			</Button>





			<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate" hidden="true">


				<Anchors>


					<Anchor point="TOPLEFT">


						<Offset>


							<AbsDimension x="0" y="-80"/>


						</Offset>


					</Anchor>


					<Anchor point="BOTTOMRIGHT">


						<Offset>


							<AbsDimension x="-30" y="7"/>


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnVerticalScroll>


						FauxScrollFrame_OnVerticalScroll(self, offset, 16, GRSSScrollBar_Update);


					</OnVerticalScroll>


					<OnShow>


						GRSSScrollBar_Update()


					</OnShow>


				</Scripts>


			</ScrollFrame>





			





			<Button name="$parentRow1" inherits="GRSSRowTemplate">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT">


						<Offset>


							<AbsDimension x="8" y="0"/>


						</Offset>


					</Anchor>


				</Anchors>


			</Button>


			<Button name="$parentRow2" inherits="GRSSRowTemplate">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentRow1" relativePoint="BOTTOMLEFT"/>


				</Anchors>


			</Button>


			<Button name="$parentRow3" inherits="GRSSRowTemplate">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentRow2" relativePoint="BOTTOMLEFT"/>


				</Anchors>


			</Button>


			<Button name="$parentRow4" inherits="GRSSRowTemplate">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentRow3" relativePoint="BOTTOMLEFT"/>


				</Anchors>


			</Button>


			<Button name="$parentRow5" inherits="GRSSRowTemplate">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentRow4" relativePoint="BOTTOMLEFT"/>


				</Anchors>


			</Button>


			<Button name="$parentRow6" inherits="GRSSRowTemplate">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentRow5" relativePoint="BOTTOMLEFT"/>


				</Anchors>


			</Button>


			<Button name="$parentRow7" inherits="GRSSRowTemplate">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentRow6" relativePoint="BOTTOMLEFT"/>


				</Anchors>


			</Button>


			<Button name="$parentRow8" inherits="GRSSRowTemplate">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentRow7" relativePoint="BOTTOMLEFT"/>


				</Anchors>


			</Button>


			<Button name="$parentRow9" inherits="GRSSRowTemplate">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentRow8" relativePoint="BOTTOMLEFT"/>


				</Anchors>


			</Button>


			<Button name="$parentRow10" inherits="GRSSRowTemplate">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentRow9" relativePoint="BOTTOMLEFT"/>


				</Anchors>


			</Button>





			<Frame name="$parentSystemDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">


						<Offset>


							<AbsDimension x="-8" y="-8"/>


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						GRSSSystemDropDown_OnLoad();


					</OnLoad>


				</Scripts>


			</Frame>


			<Frame name="$parentActionDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">


				<Size>


					<AbsDimension x="180" y="20"/>


				</Size>


				<Anchors>


					<Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">


						<Offset>


							<AbsDimension x="-8" y="-8"/>


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						GRSSActionDropDown_OnLoad();


					</OnLoad>


				</Scripts>


			</Frame>





			<Frame name="$parentBidStyleDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentActionDropDown" relativePoint="BOTTOMLEFT">


						<Offset>


							<AbsDimension x="0" y="7"/>


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						this:Hide();


						GRSSBidStyleDropDown_OnLoad();


					</OnLoad>


					<OnEnter>


						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");


						GameTooltip:SetText("Bidding Styles\n|c00ffffffSilent Auction|r: High bid relayed to raid,\nbidders are notified of status\n|c00ffffffSilent Non-Auction|r: High bid not relayed to raid,\nbidders only notified that bid is received\n|c00ffffffOpen Auction|r: High Bid and High Bidder relayed to raid");


					</OnEnter>


					<OnLeave>


						GameTooltip:Hide();


					</OnLeave>





				</Scripts>


			</Frame>


			<Frame name="$parentRollNumberDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentActionDropDown" relativePoint="BOTTOMLEFT">


						<Offset>


							<AbsDimension x="0" y="7"/>


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						this:Hide();


						GRSSRollNumberDropDown_OnLoad();


					</OnLoad>


				</Scripts>


			</Frame>


			<Frame name="$parentRaidFilterDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentSystemDropDown" relativePoint="BOTTOMLEFT">


						<Offset>


							<AbsDimension x="0" y="7"/>


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						GRSSRaidFilterDropDown_OnLoad();


					</OnLoad>


					<OnEnter>


						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");


						GameTooltip:SetText("Raid Filter\n|c00ffffffAll|r: Shows everyone in DKP System\n|c00ffffffRaid Only|r: Only Shows Members in the Current Raid");


					</OnEnter>


					<OnLeave>


						GameTooltip:Hide();


					</OnLeave>





				</Scripts>


			</Frame>


			<Frame name="$parentClassFilterDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentSystemDropDown" relativePoint="BOTTOMLEFT">


						<Offset>


							<AbsDimension x="135" y="7"/>


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						GRSSClassFilterDropDown_OnLoad();


					</OnLoad>


					<OnEnter>


						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");


						GameTooltip:SetText("Only show the selected class");


					</OnEnter>


					<OnLeave>


						GameTooltip:Hide();


					</OnLeave>





				</Scripts>


			</Frame>


			<Frame name="$parentSpamDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parentActionDropDown" relativePoint="BOTTOMLEFT">


						<Offset>


							<AbsDimension x="0" y="7"/>


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						GRSSSpamDropDown_OnLoad();


					</OnLoad>


					<OnEnter>


						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");


						GameTooltip:SetText("Spam the Guild, Raid, or Officer chat with the current standings");


					</OnEnter>


					<OnLeave>


						GameTooltip:Hide();


					</OnLeave>





				</Scripts>


			</Frame>





			<EditBox name="$parentItemName" letters="80" hidden="true" autoFocus="false">


				<Size>


					<AbsDimension x="120" y="32"></AbsDimension>


				</Size>


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">


						<Offset>


							<AbsDimension x="17" y="-32"></AbsDimension>


						</Offset>


					</Anchor>


				</Anchors>


				<Layers>


					<Layer level="BACKGROUND">


						<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">


							<Size>


								<AbsDimension x="75" y="32"></AbsDimension>


							</Size>


							<Anchors>


								<Anchor point="LEFT">


									<Offset>


										<AbsDimension x="-10" y="0"></AbsDimension>


									</Offset>


								</Anchor>


							</Anchors>


							<TexCoords left="0" right="0.2" top="0" bottom="1.0"></TexCoords>


						</Texture>


						<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">


							<Size>


								<AbsDimension x="75" y="32"></AbsDimension>


							</Size>


							<Anchors>


								<Anchor point="RIGHT">


									<Offset>


										<AbsDimension x="10" y="0"></AbsDimension>


									</Offset>


								</Anchor>


							</Anchors>


							<TexCoords left="0.7" right="1.0" top="0" bottom="1.0"></TexCoords>


						</Texture>


					</Layer>


				</Layers>


				<Scripts>


					<OnLoad>


						this:SetText("Enter Item Name");


					</OnLoad>


					<OnEnterPressed>


						this:ClearFocus();


					</OnEnterPressed>


					<OnEscapePressed>


						this:ClearFocus();


					</OnEscapePressed>


				</Scripts>


				<FontString inherits="ChatFontNormal"></FontString>


			</EditBox>





			<Button name="$parentLootDropDown">


				<Size>


					<AbsDimension x="15" y="11"/>


				</Size>


				<Anchors>


					<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentItemName">


						<Offset>


							<AbsDimension x="6" y="0" />


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						this:Hide();


						GRSSLootDropDown_OnLoad();


					</OnLoad>	


					<OnClick>


                       				GRSSLootDropDown_OnClick();


                   			</OnClick>


				</Scripts>


				<Layers>


					<Layer level="HIGHLIGHT">


						<Texture name="$parentHighlight" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true" hidden="true">


							<Size>


								<AbsDimension x="15" y="11"/>


							</Size>


							<Anchors>


								<Anchor point="RIGHT">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</Texture>


					</Layer>


					<Layer level="BACKGROUND">


						<FontString name="$parentText" inherits="GRSSHeaderFont" justifyH="RIGHT" text=">>">


							<Anchors>


								<Anchor point="RIGHT">


									<Offset>


										<AbsDimension x="0" y="0"/>


									</Offset>


								</Anchor>


							</Anchors>


						</FontString>


					</Layer>


				</Layers>


			</Button>








			<Button name="$parentToggleRolls" inherits="OptionsButtonTemplate" text="Start Rolls">


				<Size>


					<AbsDimension x="90" y="22"/>


				</Size>


				<Anchors>


					<Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parentActionDropDown">


						<Offset>


							<AbsDimension x="18" y="-4" />


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						this:Hide();


					</OnLoad>


					<OnClick>


						GRSS_ToggleRolls();


					</OnClick>


				</Scripts>


			</Button>


			<Button name="$parentClearRolls" inherits="OptionsButtonTemplate" text="Clear Rolls">


				<Size>


					<AbsDimension x="90" y="22"/>


				</Size>


				<Anchors>


					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentToggleRolls">


						<Offset>


							<AbsDimension x="0" y="0" />


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						this:Hide();


					</OnLoad>


					<OnClick>


						GRSS_ClearRolls();


					</OnClick>


				</Scripts>


			</Button>


			<Button name="$parentClearBids" inherits="OptionsButtonTemplate" text="Clear Bids">


				<Size>


					<AbsDimension x="90" y="22"/>


				</Size>


				<Anchors>


					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parentClearRolls">


						<Offset>


							<AbsDimension x="0" y="0" />


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						this:Hide();


					</OnLoad>


					<OnClick>


						GRSS_ClearBids();


					</OnClick>


				</Scripts>


			</Button>





			<Button name="$parentToggleBids" inherits="OptionsButtonTemplate" text="Start Bids">


				<Size>


					<AbsDimension x="90" y="22"/>


				</Size>


				<Anchors>


					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parentToggleRolls">


						<Offset>


							<AbsDimension x="0" y="0" />


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						this:Hide();


					</OnLoad>


					<OnClick>


						GRSS_ToggleBids();


					</OnClick>


				</Scripts>


			</Button>





			<Frame name="$parentBids">


				<Size>


					<AbsDimension x="190" y="300"/>


				</Size>


				<Anchors>


					<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint = "TOPRIGHT">


						<Offset>


							<AbsDimension x="0" y="0" />


						</Offset>


					</Anchor>


				</Anchors>


				<Scripts>


					<OnLoad>


						GRSSBids:Hide();


					</OnLoad>


				</Scripts>


				<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">


					<BackgroundInsets>


						<AbsInset left="4" right="4" top="4" bottom="4" />


					</BackgroundInsets>


					<TileSize>


						<AbsValue val="16" />


					</TileSize>


					<EdgeSize>


						<AbsValue val="16" />


					</EdgeSize>


				</Backdrop>


				<Frames>


					<Button name="$parentHistory">


						<Size>


							<AbsDimension x="90" y="11"/>


						</Size>


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">


								<Offset>


									<AbsDimension x="20" y="-8"/>


								</Offset>


							</Anchor>


						</Anchors>


						<Layers>


							<Layer level="BACKGROUND">


								<FontString name="$parentText" inherits="GRSSHeaderFont" justifyH="LEFT" text="Bid History">


									<Anchors>


										<Anchor point="LEFT">


											<Offset>


												<AbsDimension x="0" y="0"/>


											</Offset>


										</Anchor>


									</Anchors>


								</FontString>


							</Layer>


						</Layers>


					</Button>


					<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT">


								<Offset>


									<AbsDimension x="0" y="-25"/>


								</Offset>


							</Anchor>


							<Anchor point="BOTTOMRIGHT">


								<Offset>


									<AbsDimension x="-30" y="10"/>


								</Offset>


							</Anchor>


						</Anchors>


						<Scripts>


							<OnVerticalScroll>


								FauxScrollFrame_OnVerticalScroll(self, offset, 16, GRSSBidsScrollBar_Update);


							</OnVerticalScroll>


							<OnShow>


								GRSSBidsScrollBar_Update()


							</OnShow>


						</Scripts>


					</ScrollFrame>





					<Button name="$parentRow1" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT">


								<Offset>


									<AbsDimension x="8" y="0"/>


								</Offset>


							</Anchor>


						</Anchors>


					</Button>


					


					<Button name="$parentRow2" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow1" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow3" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow2" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow4" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow3" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow5" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow4" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow6" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow5" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow7" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow6" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow8" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow7" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow9" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow8" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow10" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow9" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow11" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow10" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow12" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow11" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow13" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow12" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow14" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow13" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow15" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow14" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow16" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow15" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow17" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow16" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow18" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow17" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow19" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow18" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow20" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow19" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow21" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow20" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow22" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow21" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>


					<Button name="$parentRow23" inherits="GRSSBidsTemplate">


						<Anchors>


							<Anchor point="TOPLEFT" relativeTo="$parentRow22" relativePoint="BOTTOMLEFT"/>


						</Anchors>


					</Button>	


					<Button name="$parentRow1Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentRow1">


								<Offset>


									<AbsDimension x="0" y="1" />


								</Offset>


							</Anchor>


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(1)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow2Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">	


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow1Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(2)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow3Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow2Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(3)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow4Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow3Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(4)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow5Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow4Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(5)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow6Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow5Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(6)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow7Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow6Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(7)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow8Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow7Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(8)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow9Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow8Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(9)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow10Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow9Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(10)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow11Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow10Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(11)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow12Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow11Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(12)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow13Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow12Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(13)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow14Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow13Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(14)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow15Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow14Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(15)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow16Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow15Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(16)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow17Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow16Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(17)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow18Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow17Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(18)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow19Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow18Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(19)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow20Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow19Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(20)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow21Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow20Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(21)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow22Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow21Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(22)


							</OnClick>


						</Scripts>		


					</Button>


					<Button name="$parentRow23Delete" inherits="GRSSDeleteButtonTemplate" text="x" hidden="true">


						<Anchors>


							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRow22Delete" />


						</Anchors>


						<Scripts>


							<OnClick>


								GRSS_DeleteBid(23)


							</OnClick>


						</Scripts>		


					</Button>





				</Frames>


			</Frame>


		</Frames>


	</Frame>	


</Ui>





