<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="LootFrame.lua"/>
 	<Button name="LootButtonTemplate" inherits="ItemButtonTemplate" virtual="true">
 		<Layers>
 			<Layer level="OVERLAY">
 				<Texture name="$parentIconQuestTexture">
 					<Size x="37" y="38"/>
 					<Anchors>
 						<Anchor point="TOP" x="0" y="0"/>
 					</Anchors>
 				</Texture>
 			</Layer>
 			<Layer level="ARTWORK">
 				<Texture name="$parentNameFrame" file="Interface\QuestFrame\UI-QuestItemNameFrame">
 					<Size x="130" y="62"/>
 					<Anchors>
 						<Anchor point="LEFT" x="30" y="0"/>
 					</Anchors>
 				</Texture>
 				<FontString name="$parentText" inherits="GameFontNormal" justifyH="LEFT">
 					<Size x="93" y="38"/>
 					<Anchors>
 						<Anchor point="LEFT" relativePoint="RIGHT" x="8" y="0"/>
 					</Anchors>
 				</FontString>
 			</Layer>
 		</Layers>
 		<Scripts>
 			<OnLoad>
 				self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
 				self.hasItem = 1;
 			</OnLoad>
 			<OnEnter>
 				LootItem_OnEnter(self, motion);
 			</OnEnter>
 			<OnLeave>
 				GameTooltip:Hide();
 				ResetCursor();
 			</OnLeave>
 			<OnUpdate>
 				if ( GameTooltip:IsOwned(self) ) then
 					LootItem_OnEnter(self);
 				end
 				CursorOnUpdate(self);
 			</OnUpdate>
 			<OnClick>
 				if ( IsModifiedClick() ) then
 					HandleModifiedItemClick(GetLootSlotLink(self.slot));
 				else
 					LootButton_OnClick(self, button);
 				end
 			</OnClick>
 		</Scripts>
 	</Button>
 	<Button name="LootRollButtonTemplate" motionScriptsWhileDisabled="true" virtual="true">
 		<Size x="32" y="32"/>
 		<Scripts>
 			<OnClick>
 				RollOnLoot(self:GetParent().rollID, self:GetID());
 			</OnClick>
 			<OnEnter>
 				GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
 				GameTooltip_AddNewbieTip(self, self.tooltipText, 1.0, 1.0, 1.0, self.newbieText);
-				if ( self:IsEnabled() ~= 1 ) then
+				if ( not self:IsEnabled() ) then
 					GameTooltip:AddLine(self.reason, RED_FONT_COLOR.r, RED_FONT_COLOR.g, RED_FONT_COLOR.b, true);
 					GameTooltip:Show();
 				end
 			</OnEnter>
 			<OnLeave>
 				GameTooltip:Hide();
 			</OnLeave>
 		</Scripts>
 	</Button>
 
 	<Frame name="LootFrame" frameStrata="HIGH" toplevel="true" movable="true" enableMouse="true" clampedToScreen="true" hidden="true" parent="UIParent" inherits="ButtonFrameTemplate">
 		<Size x="170" y="240"/>
 
 		<Layers>
 			<Layer level="OVERLAY" textureSubLevel="-1">
 				<Texture name="LootFramePortraitOverlay" file="Interface\TargetingFrame\TargetDead">
 					<Size x="58" y="58"/>
 					<Anchors>
 						<Anchor point="TOPLEFT" x="-5" y="5"/>
 					</Anchors>
 				</Texture>
 			</Layer>
 			<Layer level="ARTWORK">
 				<FontString inherits="GameFontNormal" text="ITEMS">
 					<Anchors>
 						<Anchor point="CENTER" x="12" y="108"/>
 					</Anchors>
 				</FontString>
 				<FontString name="LootFramePrev" inherits="GameFontNormal" text="PREV">
 					<Anchors>
 						<Anchor point="BOTTOMLEFT" x="45" y="18"/>
 	
 					</Anchors>
 				</FontString>
 				<FontString name="LootFrameNext" inherits="GameFontNormal" text="NEXT">
 					<Anchors>
 						<Anchor point="BOTTOMRIGHT" relativeTo="LootFrame" relativePoint="BOTTOMLEFT" x="127" y="18"/>
 					</Anchors>
 				</FontString>
 			</Layer>
 		</Layers>
 		<Frames>
 			<Button name="LootButton1" inherits="LootButtonTemplate" id="1">
 				<Anchors>
 					<Anchor point="TOPLEFT" x="9" y="-68"/>
 				</Anchors>
 			</Button>
 			<!-- anchors not relative - see bug 266687 -->
 			<Button name="LootButton2" inherits="LootButtonTemplate" id="2">
 				<Anchors>
 					<Anchor point="TOPLEFT" x="9" y="-109"/>
 				</Anchors>
 			</Button>
 			<Button name="LootButton3" inherits="LootButtonTemplate" id="3">
 				<Anchors>
 					<Anchor point="TOPLEFT" x="9" y="-150"/>
 				</Anchors>
 			</Button>
 			<Button name="LootButton4" inherits="LootButtonTemplate" id="4">
 				<Anchors>
 					<Anchor point="TOPLEFT" x="9" y="-193"/>
 				</Anchors>
 			</Button>
 			<Button name="LootFrameUpButton">
 				<Size x="32" y="32"/>
 				<Anchors>
 					<Anchor point="BOTTOMLEFT" relativeTo="LootFrame" relativePoint="BOTTOMLEFT" x="8" y="6"/>
 				</Anchors>
 				<Scripts>
 					<OnClick function="LootFrame_PageUp"/>
 				</Scripts>
 				<NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Up"/>
 				<PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Down"/>
 				<DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Disabled"/>
 				<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
 			</Button>
 			<Button name="LootFrameDownButton">
 				<Size x="32" y="32"/>
 				<Anchors>
 					<Anchor point="BOTTOMLEFT" relativeTo="LootFrame" relativePoint="BOTTOMLEFT" x="130" y="6"/>
 				</Anchors>
 				<Scripts>
 					<OnClick function="LootFrame_PageDown"/>
 				</Scripts>
 				<NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up"/>
 				<PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down"/>
 				<DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled"/>
 				<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
 			</Button>
 		</Frames>
 		<Scripts>
 			<OnLoad function="LootFrame_OnLoad"/>
 			<OnEvent function="LootFrame_OnEvent"/>
 			<OnShow function="LootFrame_OnShow"/>
 			<OnHide function="LootFrame_OnHide"/>
 		</Scripts>
 	</Frame>
 	<Frame name="GroupLootDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
 		<Anchors>
 			<Anchor point="TOPLEFT"/>
 		</Anchors>
 		<Scripts>
 			<OnLoad function="GroupLootDropDown_OnLoad"/>
 		</Scripts>
 	</Frame>
 	<Frame name="BonusRollFrameTemplate" parent="UIParent" frameLevel="5" toplevel="true" frameStrata="DIALOG" hidden="true" virtual="true">
 		<Size x="286" y="76"/>	
 		<Animations>
 			<AnimationGroup parentKey="StartRollAnim">
-				<Alpha change="-1" duration="0.25" order="1" targetKey="$parent.$parent.PromptFrame"/>
-				<Alpha change="1" duration="0.25" order="1" targetKey="$parent.$parent.RollingFrame"/>
+				<Alpha change="-1" duration="0.25" order="1" childKey="PromptFrame"/>
+				<Alpha change="1" duration="0.25" order="1" childKey="RollingFrame"/>
 				<Scripts>
 					<OnPlay>
 						local parent = self:GetParent();
 						parent.RollingFrame:Show();
 						parent.RollingFrame:SetAlpha(0);
 						parent.PromptFrame:Show();
 						parent.PromptFrame:SetAlpha(1);
 					</OnPlay>
 					<OnFinished>
 						local parent = self:GetParent();
 						parent.RollingFrame:SetAlpha(1);
 						parent.PromptFrame:Hide();
 					</OnFinished>
 				</Scripts>
 			</AnimationGroup>
 			<AnimationGroup parentKey="FinishRollAnim">
-				<!--Scale scaleX="0.5" scaleY="0.5" duration="0" order="1" targetKey="$parent.$parent.RollingFrame.LootSpinnerFinalText"/-->
-				<Alpha change="-1" duration="0.2" order="1" targetKey="$parent.$parent.RollingFrame.Label"/>
-				<Alpha change="1" duration="0.2" order="2" targetKey="$parent.$parent.RollingFrame.LootSpinnerFinalText"/>
-				<!--Scale scaleX="3" scaleY="3" duration="5" order="2" targetKey="$parent.$parent.RollingFrame.LootSpinnerFinalText"/>
-				<Scale scaleX="0.66" scaleY="0.66" duration="5" order="2" startDelay="5" targetKey="$parent.$parent.RollingFrame.LootSpinnerFinalText"/-->
-				<Alpha change="0.8" duration="0.3" order="3" startDelay="0.5" targetKey="$parent.$parent.WhiteFade"/>
+				<!--Scale scaleX="0.5" scaleY="0.5" duration="0" order="1" childKey="RollingFrame.LootSpinnerFinalText"/-->
+				<Alpha change="-1" duration="0.2" order="1" childKey="RollingFrame.Label"/>
+				<Alpha change="1" duration="0.2" order="2" childKey="RollingFrame.LootSpinnerFinalText"/>
+				<!--Scale scaleX="3" scaleY="3" duration="5" order="2" childKey="RollingFrame.LootSpinnerFinalText"/>
+				<Scale scaleX="0.66" scaleY="0.66" duration="5" order="2" startDelay="5" childKey="RollingFrame.LootSpinnerFinalText"/-->
+				<Alpha change="0.8" duration="0.3" order="3" startDelay="0.5" childKey="WhiteFade"/>
 				<Alpha change="-1" duration="0.3" order="4"/>
 				<Scripts>
 					<OnFinished>
 						local parent = self:GetParent();
 						BonusRollFrame_FinishedFading(parent);
 					</OnFinished>
 				</Scripts>
 			</AnimationGroup>
 		</Animations>
 		<Layers>
 			<Layer level="BACKGROUND">
 				<!--BonusRoll-Toast-->
 				<Texture parentKey="Background" file="Interface\LootFrame\LootToast" setAllPoints="true">
 					<TexCoords left="0.28222656" right="0.56152344" top="0.00390625" bottom="0.30078125"/>	
 				</Texture>
 			</Layer>
 			<Layer level="BORDER">
 				<!--BonusRoll-LootSpinnerBG-->
 				<Texture parentKey="LootSpinnerBG" file="Interface\LootFrame\LootToast">
 					<Size x="42" y="42"/>	
 					<Anchors>
 						<Anchor point="TOPLEFT" relativeKey="$parent.Background" relativePoint="TOPLEFT" x="11" y="-12"/>
 					</Anchors>
 					<TexCoords left="0.23828125" right="0.27929688" top="0.74218750" bottom="0.90625000"/>	
 				</Texture>
 			</Layer>
 			<Layer level="OVERLAY" textureSubLevel="1">
 				<!--ItemBorder-Gold-->
 				<Texture parentKey="IconBorder" file="Interface\LootFrame\LootToast">
 					<Size x="42" y="42"/>
 					<Anchors>
 						<Anchor point="CENTER" relativeKey="$parent.LootSpinnerBG" relativePoint="CENTER" x="0" y="0"/>
 					</Anchors>
 					<TexCoords left="0.73242188" right="0.78906250" top="0.57421875" bottom="0.80078125"/>	
 				</Texture>
 			</Layer>
 			<Layer level="OVERLAY" textureSubLevel="2">
 				<Texture parentKey="SpecIcon">
 					<Size x="24" y="24"/>
 					<Anchors>
 						<Anchor point="TOPLEFT" x="-2" y="3"/>
 					</Anchors>
 				</Texture>
 			</Layer>
 			<Layer level="OVERLAY" textureSubLevel="3">
 				<Texture parentKey="SpecRing" file="Interface/Minimap/MiniMap-TrackingBorder">
 					<Anchors>
 						<Anchor point="TOPLEFT" x="-10" y="10"/>
 					</Anchors>
 				</Texture>
 			</Layer>
 			<Layer level="OVERLAY" textureSubLevel="4">
 				<Texture parentKey="WhiteFade" blendMode="ADD" alpha="0">
 					<Anchors>
 						<Anchor point="TOPLEFT" x="3" y="-3"/>
 						<Anchor point="BOTTOMRIGHT" x="-3" y="3"/>
 					</Anchors>
 					<Color r="1" g="1" b="1"/>
 				</Texture>
 			</Layer>
 		</Layers>
 		<Frames>
 			<Frame parentKey="RollingFrame" useParentLevel="true" setAllPoints="true" hidden="true">
 				<Layers>
 					<Layer level="ARTWORK">
 						<FontString parentKey="Label" inherits="GameFontNormalLarge" text="BONUS_ROLL_ROLLING" justifyH="CENTER" justifyV="MIDDLE">
 							<Size x="135" y="38"/>
 							<Anchors>
 								<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="60" y="-15"/>
 							</Anchors>
 						</FontString>
 						<Texture parentKey="LootSpinner" file="Interface\LootFrame\BonusRoll-LootSpinnerAnim">
 							<Size x="64" y="64"/>
 							<Anchors>
 								<Anchor point="CENTER" relativeKey="$parent.$parent.LootSpinnerBG" relativePoint="CENTER" x="0" y="0"/>
 							</Anchors>
 						</Texture>
 						<Texture parentKey="LootSpinnerFinal" file="Interface\LootFrame\LootToast" hidden="true">
 							<Size x="31" y="30"/>
 							<Anchors>
 								<Anchor point="CENTER" relativeKey="$parent.$parent.LootSpinnerBG" relativePoint="CENTER" x="0" y="0"/>
 							</Anchors>
 						</Texture>
 						<FontString parentKey="LootSpinnerFinalText" inherits="GameFontNormalLarge" text="BONUS_ROLL_ROLLING" justifyH="CENTER" justifyV="MIDDLE" alpha="0">
 							<Size x="135" y="38"/>
 							<Anchors>
 								<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="60" y="-15"/>
 							</Anchors>
 						</FontString>
 						<Texture parentKey="DieIcon" file="Interface\Buttons\UI-GroupLoot-Dice-Up" alpha="0.5">
 							<Size x="36" y="36"/>
 							<Anchors>
 								<Anchor point="TOPRIGHT" relativeKey="$parent" relativePoint="TOPRIGHT" x="-30" y="-15"/>
 							</Anchors>
 						</Texture>
 					</Layer>
 				</Layers>
 			</Frame>
 			<Frame parentKey="PromptFrame" useParentLevel="true" setAllPoints="true" hidden="true">
 				<Layers>
 					<Layer level="ARTWORK">
 						<Texture parentKey="Icon" file="Interface\Icons\INV_Misc_Dice_02">
 							<Size x="36" y="36"/>
 							<Anchors>
 								<Anchor point="TOPLEFT" relativeKey="$parent.$parent.Background" x="14" y="-15"/>
 							</Anchors>
 						</Texture>
 					</Layer>
 				</Layers>
 				<Frames>
 					<Frame parentKey="InfoFrame">
 						<Size x="135" y="38"/>
 						<Anchors>
 							<Anchor point="TOPLEFT" relativeKey="$parent.Background" relativePoint="TOPLEFT" x="60" y="-15"/>
 						</Anchors>
 						<Layers>
 							<Layer level="ARTWORK">
 								<FontString parentKey="Label" inherits="GameFontNormalLarge" justifyH="LEFT" text="BONUS_LOOT_LABEL">
 									<Size x="0" y="0"/>
 									<Anchors>
 										<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
 										<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="RIGHT" x="0" y="0"/>
 									</Anchors>
 								</FontString>
 								<FontString parentKey="Cost" inherits="GameFontHighlight" justifyH="LEFT">
 									<Size x="0" y="0"/>
 									<Anchors>
 										<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="LEFT" x="0" y="0"/>
 										<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
 									</Anchors>
 								</FontString>
 							</Layer>
 						</Layers>
 						<Scripts>
 							<OnEnter>
 								GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
 								GameTooltip:SetText(BONUS_ROLL_TOOLTIP_TITLE, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
 								GameTooltip:AddLine(BONUS_ROLL_TOOLTIP_TEXT, nil, nil, nil, true);
 								GameTooltip:Show();
 							</OnEnter>
 							<OnLeave function="GameTooltip_Hide"/>
 						</Scripts>
 					</Frame>
 					<StatusBar parentKey="Timer" drawLayer="ARTWORK" minValue="0" maxValue="60000" defaultValue="0">
 						<Size x="190" y="9"/>
 						<Anchors>
 							<Anchor point="BOTTOMLEFT" relativeKey="$parent" relativePoint="BOTTOMLEFT" x="6" y="6"/>
 						</Anchors>
 						<BarTexture parentKey="Bar" file="Interface\PaperDollInfoFrame\UI-Character-Skills-Bar" />
 						<BarColor r="1.0" g="1.0" b="0" />
 					</StatusBar>
 					<Button parentKey="RollButton">
 						<Size x="32" y="32"/>
 						<Anchors>
 							<Anchor point="TOPRIGHT" x="-48" y="-16"/>
 						</Anchors>
 						<Scripts>
 							<OnEnter>
 								GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
 								GameTooltip:SetText(ROLL);
 								GameTooltip:Show();
 							</OnEnter>
 							<OnLeave function="GameTooltip_Hide"/>
 							<OnClick>
 								AcceptSpellConfirmationPrompt(self:GetParent():GetParent().spellID);
 							</OnClick>
 						</Scripts>
 						<NormalTexture file="Interface\Buttons\UI-GroupLoot-Dice-Up"/>
 						<HighlightTexture file="Interface\Buttons\UI-GroupLoot-Dice-Highlight" alphaMode="ADD"/>
 						<PushedTexture file="Interface\Buttons\UI-GroupLoot-Dice-Down"/>
 					</Button>
 					<Button parentKey="PassButton">
 						<Size x="32" y="32"/>
 						<Anchors>
 							<Anchor point="LEFT" relativeKey="$parent.RollButton" relativePoint="RIGHT" x="5" y="3"/>
 						</Anchors>
 						<Scripts>
 							<OnEnter>
 								GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
 								GameTooltip:SetText(PASS);
 								GameTooltip:Show();
 							</OnEnter>
 							<OnLeave function="GameTooltip_Hide"/>
 							<OnClick>
 								DeclineSpellConfirmationPrompt(self:GetParent():GetParent().spellID);
 							</OnClick>
 						</Scripts>
 						<NormalTexture file="Interface\Buttons\UI-GroupLoot-Pass-Up"/>
 						<HighlightTexture file="Interface\Buttons\UI-GroupLoot-Pass-Highlight" alphaMode="ADD"/>
 						<PushedTexture file="Interface\Buttons\UI-GroupLoot-Pass-Down"/>
 					</Button>
 				</Frames>
 			</Frame>
 			<Frame parentKey="BlackBackgroundHoist" setAllPoints="true">
 				<Layers>
 					<Layer level="BACKGROUND">
 						<Texture parentKey="Background">
 							<Anchors>
 								<Anchor point="TOPLEFT" relativeKey="$parent.$parent.PromptFrame.Timer" relativePoint="TOPLEFT" x="0" y="0"/>
 								<Anchor point="BOTTOMRIGHT" relativeKey="$parent.$parent.PromptFrame.Timer" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
 							</Anchors>
 							<Color r="0" g="0" b="0"/>
 						</Texture>
 					</Layer>
 				</Layers>
 			</Frame>
 			<Frame parentKey="CurrentCountFrame" useParentLevel="true">
 				<Size x="82" y="18"/>
 				<Anchors>
 					<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Background" relativePoint="BOTTOMRIGHT" x="-6" y="6"/>
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
 						<FontString parentKey="Text" inherits="GameFontHighlight" justifyH="RIGHT" setAllPoints="true"/>
 					</Layer>
 				</Layers>
 				<Scripts>
 					<OnEnter>
 						GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
 						GameTooltip:SetCurrencyByID(self:GetParent().currencyID);
 						GameTooltip:Show();
 					</OnEnter>
 					<OnLeave function="GameTooltip_Hide"/>
 				</Scripts>
 			</Frame>
 		</Frames>
 		<Scripts>
 			<OnLoad function="BonusRollFrame_OnLoad"/>
 			<OnEvent function="BonusRollFrame_OnEvent"/>
 			<OnShow function="BonusRollFrame_OnShow"/>
 			<OnHide function="BonusRollFrame_OnHide"/>
 			<OnUpdate function="BonusRollFrame_OnUpdate"/>
 		</Scripts>
 	</Frame>
 	<Frame name="GroupLootFrameTemplate" parent="UIParent" toplevel="true" frameStrata="DIALOG" hidden="true" virtual="true">
 		<Size x="277" y="67"/>
 		<Layers>
 			<Layer level="BACKGROUND">
 				<!--LootFrame-Background-->
 				<Texture parentKey="Background" file="Interface\LootFrame\LootToast" setAllPoints="true">
 					<TexCoords left="0.28222656" right="0.55273438" top="0.30859375" bottom="0.57031250"/>	
 				</Texture>
 			</Layer>
 			<Layer level="BORDER">
 				<Texture parentKey="Border" file="Interface\LootFrame\LootToast">
 					<Size x="286" y="76"/>	
 					<Anchors>
 						<Anchor point="CENTER"/>
 					</Anchors>
 					<TexCoords left="0.00097656" right="0.28027344" top="0.43750000" bottom="0.73437500"/>	
 				</Texture>
 			</Layer>
 			<Layer level="ARTWORK">
 				<FontString parentKey="Name" inherits="GameFontNormal" text="Item Name" justifyH="LEFT" justifyV="MIDDLE">
 					<Size x="125" y="30"/>
 					<Anchors>
 						<Anchor point="TOPLEFT" relativeKey="$parent.Background" relativePoint="TOPLEFT" x="60" y="-15"/>
 					</Anchors>
 				</FontString>
 			</Layer>
 		</Layers>
 		<Frames>
 			<Button parentKey="IconFrame" enableMouse="true">
 				<Size x="34" y="34"/>
 				<Anchors>
 					<Anchor point="TOPLEFT" relativeKey="$parent.Background" x="10" y="-13"/>
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
 						<Texture parentKey="Icon">
 							<Size x="34" y="34"/>
 							<Anchors>
 								<Anchor point="TOPLEFT"/>
 							</Anchors>
 						</Texture>
 					</Layer>
 					<Layer level="OVERLAY">
 						<FontString parentKey="Count" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
 							<Anchors>
 								<Anchor point="BOTTOMRIGHT" x="-5" y="2"/>
 							</Anchors>
 						</FontString>
 						<Texture parentKey="Border" file="Interface\LootFrame\LootToast">
 							<Size x="42" y="42"/>
 							<Anchors>
 								<Anchor point="CENTER" x="0" y="0"/>
 							</Anchors>
 						</Texture>
 					</Layer>
 				</Layers>
 				<Scripts>
 					<OnLoad>
 						self.hasItem = 1;
 					</OnLoad>
 					<OnEnter>
 						GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
 						GameTooltip:SetLootRollItem(self:GetParent().rollID);
 						CursorUpdate(self);
 					</OnEnter>
 					<OnLeave>
 						GameTooltip:Hide();
 						ResetCursor();
 					</OnLeave>
 					<OnUpdate>
 						if ( GameTooltip:IsOwned(self) ) then
 							GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
 							GameTooltip:SetLootRollItem(self:GetParent().rollID);
 						end
 						CursorOnUpdate(self);
 					</OnUpdate>
 					<OnClick>
 						HandleModifiedItemClick(GetLootRollItemLink(self:GetParent().rollID));
 					</OnClick>
 				</Scripts>
 			</Button>
 			<Button parentKey="NeedButton" inherits="LootRollButtonTemplate" id="1">
 				<Anchors>
 					<Anchor point="TOPRIGHT" x="-43" y="-6"/>
 				</Anchors>
 				<Scripts>
 					<OnLoad>
 						self.tooltipText=NEED;
 						self.newbieText=NEED_NEWBIE;
 					</OnLoad>
 				</Scripts>
 				<NormalTexture file="Interface\Buttons\UI-GroupLoot-Dice-Up"/>
 				<HighlightTexture file="Interface\Buttons\UI-GroupLoot-Dice-Highlight" alphaMode="ADD"/>
 				<PushedTexture file="Interface\Buttons\UI-GroupLoot-Dice-Down"/>
 			</Button>
 			<Button parentKey="PassButton" inherits="LootRollButtonTemplate" id="0">
 				<Anchors>
 					<Anchor point="LEFT" relativeKey="$parent.NeedButton" relativePoint="RIGHT" x="5" y="3"/>
 				</Anchors>
 				<Scripts>
 					<OnLoad>
 						self.tooltipText=PASS;
 						self.newbieText=LOOT_PASS_NEWBIE;
 					</OnLoad>
 				</Scripts>
 				<NormalTexture file="Interface\Buttons\UI-GroupLoot-Pass-Up"/>
 				<HighlightTexture file="Interface\Buttons\UI-GroupLoot-Pass-Highlight" alphaMode="ADD"/>
 				<PushedTexture file="Interface\Buttons\UI-GroupLoot-Pass-Down"/>
 			</Button>
 			<Button parentKey="GreedButton" inherits="LootRollButtonTemplate" id="2">
 				<Anchors>
 					<Anchor point="TOP" relativeKey="$parent.NeedButton" relativePoint="BOTTOM" x="-2" y="1"/>
 				</Anchors>
 				<Scripts>
 					<OnLoad>
 						self.tooltipText=GREED;
 						self.newbieText=GREED_NEWBIE;
 					</OnLoad>
 				</Scripts>
 				<NormalTexture file="Interface\Buttons\UI-GroupLoot-Coin-Up"/>
 				<HighlightTexture file="Interface\Buttons\UI-GroupLoot-Coin-Highlight" alphaMode="ADD"/>
 				<PushedTexture file="Interface\Buttons\UI-GroupLoot-Coin-Down"/>
 			</Button>
 			<Button parentKey="DisenchantButton" inherits="LootRollButtonTemplate" id="3">
 				<Anchors>
 					<Anchor point="LEFT" relativeKey="$parent.GreedButton" relativePoint="RIGHT" x="5" y="2"/>
 				</Anchors>
 				<Scripts>
 					<OnLoad>
 						self.tooltipText=ROLL_DISENCHANT;
 						self.newbieText=ROLL_DISENCHANT_NEWBIE;
 					</OnLoad>
 				</Scripts>
 				<NormalTexture file="Interface\Buttons\UI-GroupLoot-DE-Up"/>
 				<HighlightTexture file="Interface\Buttons\UI-GroupLoot-DE-Highlight" alphaMode="ADD"/>
 				<PushedTexture file="Interface\Buttons\UI-GroupLoot-DE-Down"/>
 			</Button>
 			<StatusBar parentKey="Timer" drawLayer="ARTWORK" minValue="0" maxValue="60000" defaultValue="0">
 				<Size x="190" y="8"/>
 				<Anchors>
 					<Anchor point="BOTTOMLEFT" relativeKey="$parent" relativePoint="BOTTOMLEFT" x="3" y="2"/>
 				</Anchors>
 				<Layers>
 					<Layer level="BACKGROUND">
 						<Texture parentKey="Background" setAllPoints="true">
 							<Color r="0" g="0" b="0"/>
 						</Texture>
 					</Layer>
 				</Layers>
 				<Scripts>
 					<OnUpdate>
 						GroupLootFrame_OnUpdate(self, elapsed);
 					</OnUpdate>
 				</Scripts>
 				<BarTexture parentKey="Bar" file="Interface\PaperDollInfoFrame\UI-Character-Skills-Bar" />
 				<BarColor r="1.0" g="1.0" b="0" />
 			</StatusBar>
 		</Frames>
 		<Scripts>
 			<OnLoad>
 				self:RegisterEvent("CANCEL_LOOT_ROLL");
 			</OnLoad>
 			<OnShow function="GroupLootFrame_OnShow"/>
 			<OnEvent function="GroupLootFrame_OnEvent"/>
 		</Scripts>
 	</Frame>
 	<Frame name="GroupLootContainer" parent="UIParent" hidden="true">
 		<Size x="256" y="1"/>
 		<Anchors>
 			<Anchor point="BOTTOM" x="0" y="60"/>
 		</Anchors>
 		<Scripts>
 			<OnShow>
 				AlertFrame_FixAnchors();
 			</OnShow>
 			<OnHide>
 				AlertFrame_FixAnchors();
 			</OnHide>
 			<OnLoad function="GroupLootContainer_OnLoad"/>
 		</Scripts>
 	</Frame>
 	<Frame name="GroupLootFrame1" inherits="GroupLootFrameTemplate" id="1"/>
 	<Frame name="GroupLootFrame2" inherits="GroupLootFrameTemplate" id="2"/>
 	<Frame name="GroupLootFrame3" inherits="GroupLootFrameTemplate" id="3"/>
 	<Frame name="GroupLootFrame4" inherits="GroupLootFrameTemplate" id="4"/>
 	<Frame name="BonusRollFrame" inherits="BonusRollFrameTemplate"/>
-	<Frame name="BonusRollLootWonFrame" inherits="LootWonAlertFrameTemplate">
+	<Button name="BonusRollLootWonFrame" inherits="LootWonAlertFrameTemplate">
 		<Scripts>
 			<OnHide>
 				GroupLootContainer_RemoveFrame(GroupLootContainer, self);
 			</OnHide>
+			<OnClick function="LootWonAlertFrame_OnClick"/>
 		</Scripts>
-	</Frame>
+	</Button>
 	<Frame name="BonusRollMoneyWonFrame" inherits="MoneyWonAlertFrameTemplate">
 		<Scripts>
 			<OnHide>
 				GroupLootContainer_RemoveFrame(GroupLootContainer, self);
 			</OnHide>
 		</Scripts>
 	</Frame>
 
 	<Button name="MissingLootButtonTemplate" inherits="ItemButtonTemplate" virtual="true">	
 		<Layers>
 			<Layer level="OVERLAY">
 				<Texture name="$parentIconQuestTexture">
 					<Size>
 						<AbsDimension x="37" y="38"/>
 					</Size>
 					<Anchors>
 						<Anchor point="TOP">
 							<Offset>
 								<AbsDimension x="0" y="0"/>
 							</Offset>
 						</Anchor>
 					</Anchors>
 				</Texture>
 				<Texture file="Interface\Common\Icon-NoLoot">
 					<Size x="22" y="22"/>
 					<Anchors>
 						<Anchor point="BOTTOMLEFT" x="-2" y="-2"/>
 					</Anchors>
 				</Texture>
 			</Layer>
 			<Layer level="ARTWORK">
 				<Texture name="$parentNameFrame" file="Interface\QuestFrame\UI-QuestItemNameFrame">
 					<Size>
 						<AbsDimension x="130" y="62"/>
 					</Size>
 					<Anchors>
 						<Anchor point="LEFT">
 							<Offset>
 								<AbsDimension x="30" y="0"/>
 							</Offset>
 						</Anchor>
 					</Anchors>
 				</Texture>
 				<FontString name="$parentText" inherits="GameFontNormal" justifyH="LEFT" parentKey="name">
 					<Size>
 						<AbsDimension x="93" y="38"/>
 					</Size>
 					<Anchors>
 						<Anchor point="LEFT" relativePoint="RIGHT">
 							<Offset>
 								<AbsDimension x="8" y="0"/>
 							</Offset>
 						</Anchor>
 					</Anchors>
 				</FontString>
 			</Layer>
 		</Layers>
 		<Scripts>
 			<OnLoad>
 				self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
 				self.hasItem = 1;
 			</OnLoad>
 			<OnEnter function="MissingLootItem_OnEnter"/>
 			<OnLeave>
 				GameTooltip:Hide();
 				ResetCursor();
 			</OnLeave>
 			<OnUpdate>
 				if ( GameTooltip:IsOwned(self) ) then
 					MissingLootItem_OnEnter(self);
 				end
 				CursorOnUpdate(self);
 			</OnUpdate>
 			<OnClick>
 				if ( IsModifiedClick() ) then
 					HandleModifiedItemClick(GetMissingLootItemLink(self:GetID()));
 				end
 			</OnClick>
 		</Scripts>
 	</Button>
 	<Frame name="MissingLootFrame" parent="UIParent" toplevel="true" frameStrata="DIALOG" hidden="true">
 		<Size>
 			<AbsDimension x="338" y="84"/>
 		</Size>
 		<Anchors>
 			<Anchor point="BOTTOM">
 				<Offset>
 					<AbsDimension x="0" y="60"/>
 				</Offset>
 			</Anchor>
 		</Anchors>
 		<Layers>
 			<Layer level="ARTWORK">
 				<FontString name="$parentLabel" inherits="GameFontNormalSmall" text="INELIGIBLE_FOR_LOOT" justifyH="LEFT">
 					<Size x="284" y="0"/>
 					<Anchors>
 						<Anchor point="TOPLEFT" x="18" y="-18"/>
 					</Anchors>
 				</FontString>
 			</Layer>
 			<Layer level="OVERLAY">
 				<Texture name="$parentCorner" file="Interface\DialogFrame\UI-DialogBox-Corner">
 					<Size>
 						<AbsDimension x="32" y="32"/>
 					</Size>
 					<Anchors>
 						<Anchor point="TOPRIGHT">
 							<Offset>
 								<AbsDimension x="-6" y="-7"/>
 							</Offset>
 						</Anchor>
 					</Anchors>
 				</Texture>
 			</Layer>
 		</Layers>
 		<Frames>
 			<Button name="$parentItem1" inherits="MissingLootButtonTemplate" parentKey="item1" id="1">
 				<Anchors>
 					<Anchor point="TOPLEFT" relativeTo="$parentLabel" relativePoint="BOTTOMLEFT" x="0" y="-6"/>
 				</Anchors>
 			</Button>
 			<Button name="$parentPassButton" inherits="UIPanelCloseButton">
 				<Anchors>
 					<Anchor point="TOPRIGHT" relativeTo="$parentCorner" relativePoint="TOPRIGHT">
 						<Offset>
 							<AbsDimension x="5" y="5"/>
 						</Offset>
 					</Anchor>
 				</Anchors>
 				<Scripts>
 					<OnClick>
 						MissingLootFrame:Hide();
 					</OnClick>
 				</Scripts>
 			</Button>
 		</Frames>
 		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
 			<BackgroundInsets>
 				<AbsInset left="11" right="12" top="12" bottom="11"/>
 			</BackgroundInsets>
 			<TileSize>
 				<AbsValue val="32"/>
 			</TileSize>
 			<EdgeSize>
 				<AbsValue val="32"/>
 			</EdgeSize>
 		</Backdrop>
 		<Scripts>
 			<OnLoad>
 				self.numShownItems = 0;
 			</OnLoad>
 			<OnHide>
 				MissingLootFrame_OnHide(self);
 			</OnHide>
 		</Scripts>
 	</Frame>
 
 	<Button name="MasterLooterPlayerTemplate" virtual="true">
 		<Size x="98" y="23"/>
 		<Layers>
 			<Layer level="BACKGROUND">
 				<Texture setAllPoints="true" parentKey="Bg">
 					<Color r="0.2" g="0.2" b="0.2" a="0.5"/>
 				</Texture>
 			</Layer>
 			<Layer level="BORDER">
 				<Texture parentKey="Highlight" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true" hidden="true"/>
 			</Layer>
 			<Layer level="ARTWORK">
 				<FontString inherits="GameFontNormal" parentKey="Name" justifyH="LEFT" justifyV="CENTER">
 					<Size x="78" y="12"/>
 					<Anchors>
 						<Anchor point="LEFT" x="10" y="0"/>
 					</Anchors>
 				</FontString>
 			</Layer>
 		</Layers>
 		<Scripts>
 			<OnEnter>
 				self.Highlight:Show();
 				if (self.tooltip) then
 					GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
 					GameTooltip:SetText(self.tooltip, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
 				end
 			</OnEnter>
 			<OnLeave>
 				self.Highlight:Hide();
 				GameTooltip_Hide();
 			</OnLeave>
 			<OnMouseDown>
 				self.Name:SetPoint("LEFT", 11, -1);
 			</OnMouseDown>
 			<OnMouseUp>
 				self.Name:SetPoint("LEFT", 10, 0);
 			</OnMouseUp>
 			<OnClick function="MasterLooterPlayerFrame_OnClick"/>
 		</Scripts>
 	</Button>
 	<Frame name="MasterLooterFrame" clampedToScreen="true" parent="UIParent" inherits="TooltipBorderedFrameTemplate" hidden="true" frameStrata="DIALOG">
 		<Size x="10" y="10"/>
 		<Anchors>
 			<Anchor point="CENTER"/>
 		</Anchors>
 		<Frames>
 			<Frame parentKey="Item">
 				<Size x="0" y="28"/>
 				<Anchors>
 					<Anchor point="TOPLEFT" x="-9" y="-13"/>
 					<Anchor point="RIGHT" x="-30" y="0"/>
 				</Anchors>
 				<Layers>
 					<Layer level="BACKGROUND">
 						<Texture parentKey="Icon">
 							<Size x="28" y="28"/>
 							<Anchors>
 								<Anchor point="TOPLEFT" x="23" y="0"/>
 							</Anchors>
 						</Texture>
 						<!--SmallItemNameBorder-Left-->
 						<Texture parentKey="NameBorderLeft" file="Interface\LootFrame\LootToast">
 							<Size x="16" y="32"/>
 							<Anchors>
 								<Anchor point="LEFT" relativeKey="$parent.Icon" relativePoint="RIGHT" x="3" y="0"/>
 							</Anchors>
 							<TexCoords left="0.79101563" right="0.80664063" top="0.57421875" bottom="0.69921875"/>
 						</Texture>
 						<Texture parentKey="NameBorderRight" file="Interface\LootFrame\LootToast">
 							<Size x="16" y="32"/>
 							<Anchors>
 								<Anchor point="RIGHT" x="0" y="0"/>
 							</Anchors>
 							<TexCoords left="0.73242188" right="0.74804688" top="0.80859375" bottom="0.93359375"/>
 						</Texture>
 						<Texture parentKey="NameBorderMid" file="Interface\LootFrame\LootToast">
 							<Size x="16" y="32"/>
 							<Anchors>
 								<Anchor point="TOPLEFT" relativeKey="$parent.NameBorderLeft" relativePoint="TOPRIGHT"/>
 								<Anchor point="BOTTOMRIGHT" relativeKey="$parent.NameBorderRight" relativePoint="BOTTOMLEFT"/>
 							</Anchors>
 							<TexCoords left="0.75" right="0.764648438" top="0.80859375" bottom="0.93359375"/>
 						</Texture>
 					</Layer>
 					<Layer level="ARTWORK">
 						<!--SmallItemIcon-Border-->
 						<Texture parentKey="IconBorder" file="Interface\LootFrame\LootToast">
 							<Size x="30" y="30"/>
 							<Anchors>
 								<Anchor point="CENTER" relativeKey="$parent.Icon" relativePoint="CENTER" x="0" y="0"/>
 							</Anchors>
 							<TexCoords left="0.62792969" right="0.65722656" top="0.87500000" bottom="0.99218750"/>	
 						</Texture>
 						<FontString parentKey="ItemName" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="MIDDLE">
 							<Anchors>
 								<Anchor point="TOPLEFT" relativeKey="$parent.NameBorderLeft" relativePoint="TOPLEFT" x="2" y="-2"/>
 								<Anchor point="BOTTOMRIGHT" relativeKey="$parent.NameBorderRight" relativePoint="BOTTOMRIGHT" x="-2" y="2"/>
 							</Anchors>
 						</FontString>
 					</Layer>
 				</Layers>
 			</Frame>
 			<Button inherits="MasterLooterPlayerTemplate" parentKey="player1">
 				<Anchors>
 					<Anchor point="TOPLEFT" x="8" y="-53"/>
 				</Anchors>
 			</Button>
 			<Button inherits="UIPanelCloseButton">
 				<Anchors>
 					<Anchor point="TOPRIGHT"/>
 				</Anchors>
 			</Button>
 		</Frames>
 	</Frame>
 </Ui>