It's almost working, but it's choking on selecting nested frames within a popup window. I can't figure out a way to refer to the right element. Going home now, I'll look at it with fresh eyes tomorrow.