Thanks for all the tips Michael and Dave, very much appreciated. Michael, to answer your questions, there is a way to get the .Net generated prefix, and I did mean to use insertAfter. It rendered correctly in IE but not in FF so I didn't notice it immediately.
I have been busy with a few other things but I am working on a revised version with all your suggestions. >From the changes I've made so far it is def faster. I will post again shortly. Thanks again! Cory