delete edge loop and keep UV mapping?

I’m trying to make a LOD version of my object. I haven’t found the decimate or poly reducer scripts to do a satisfactory job, but I can easily delete some edge loops by hand to get what I want.

But my problem is that if i use ‘x’ ‘Erase Edge Loop’, it leaves holes in my carefully made UV mapping! I googled around and found a reference to a very old (2002) remvrtloop03.py script to deal with this problem, but the link is no longer valid, and the script doesn’t seem to exist in the default 2.49 mesh scripts menu.

What is the best way to accomplish this? Ideally I’d like something that can delete multiple edge loops all at once, while preserving the UVs.

Thanks!