Atr_RegisterEvents(this); this.TimeSinceLastUpdate = 0; Atr_OnUpdate(this, arg1); Atr_EventHandler(); this:SetBackdropColor(0.3, 0.3, 0.7); if (this.withMask) then Atr_Mask:Show(); end if (this.withMask) then Atr_Mask:Hide(); this.withMask = nil; end this:SetBackdropColor(0.3, 0.3, 0.7); Atr_Mask:Show(); Atr_Mask:Hide(); if (AuctionFrame and AuctionFrame:IsShown()) then Atr_Mask:Show(); end; if (AuctionFrame and AuctionFrame:IsShown()) then Atr_Mask:Hide(); end; this:SetBackdropColor(0.2, 0.2, 0.2); Atr_DropDown1_OnLoad(this); Atr_DropDownSL_OnLoad(this); Atr_Search_Onclick(); this:ClearFocus(); Atr_Item_Autocomplete(this); Atr_Item_Autocomplete(this); this:ClearFocus(); this:SetFocus(); MoneyInputFrame_SetOnvalueChangedFunc(this, Atr_StackPriceChangedFunc); Atr_StackPriceGold:SetJustifyH("CENTER"); MoneyInputFrame_SetOnvalueChangedFunc(this, Atr_ItemPriceChangedFunc); Atr_ItemPriceGold:SetJustifyH("CENTER"); Atr_StartingPriceGold:SetJustifyH("CENTER"); Atr_NumAuctionsChangedFunc() Atr_Batch_Stacksize:SetFocus() Atr_StackSizeChangedFunc() Atr_Batch_NumAuctions:SetFocus() Atr_Duration_OnLoad(this); Atr_Duration_OnShow(this); AuctionatorMoneyFrame_OnLoad(); AuctionatorMoneyFrame_OnLoad(); FauxScrollFrame_OnVerticalScroll(16, Atr_RedisplayAuctions); PanelTemplates_SetNumTabs(Atr_ListTabs, 3); PanelTemplates_SetTab(Atr_ListTabs, 1); PlaySound("UChatScrollButton"); PanelTemplates_SetTab(Atr_ListTabs, 1); PlaySound("UChatScrollButton"); Atr_Buy_Confirm_Update(); AuctionatorMoneyFrame_OnLoad();