if GetNumRaidMembers() > 0 and GetNumRaidMembers() < 6 then
eePanel35:SetHeight(300)
end
if GetNumRaidMembers() > 5 and GetNumRaidMembers() < 11 then
eePanel35:SetHeight(400)
end
if GetNumRaidMembers() > 10 and GetNumRaidMembers() < 16 then
eePanel35:SetHeight(500)
end
if GetNumRaidMembers() >15 and GetNumRaidMembers() < 21 then
eePanel35:SetHeight(600)
end
if GetNumRaidMembers() > 20 and GetNumRaidMembers() < 26 then
eePanel35:SetHeight(700)
end
end

-- Ace2 event listeners; can't do this in more than one script
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.FrameResize)
eePanels2:RegisterEvent("PARTY_MEMBERS_CHANGED", eePanels2.FrameResize)
eePanels2:RegisterEvent("RAID_ROSTER_UPDATE", eePanels2.FrameResize)