if ( arg1 == "LeftButton" ) then
this:GetParent():StartMoving();
elseif ( arg1 == "RightButton" ) then
this:GetParent():ClearAllPoints();
this:GetParent():SetPoint("CENTER", "UIParent", "CENTER");
end
this:GetParent():StopMovingOrSizing();
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText("Left-click to drag\nRight-click to reset");
GameTooltip:Hide();