Those don’t look as if they’re beyond hope yet, so one thing you might consider is stripping them, firming up any rotted wood with
wood hardener, then repainting and reglazing them. I did a similar thing a few years ago and
wrote it up. Wasn’t too bad, and kept me from having to completely rebuild things.