Agreed, very nice. (I have added this to my library of functions, even tho i dont currently have a use, better than trying to remember it later)

First use of a 6.17 addition i have seen, and solves the problem of $activewid with very little code being executed.

Not that you asked for it, but i cant really think of a use for $lactivewid, im sure there would be one, but i cant think of it.