This, my friend, is awesome. I was wondering exactly how to do this recently, and I think I even asked you about it in another thread.
Thanks so much for sharing this!
You are great.
PS - If you were willing to customize this to individual's circumstances here (selection of affiliate programs), this would make a great paid mod.
I know I'd be happy to pay to have this individualized to my circumstances. In the near future, I'm probably going to be running X-Cart Affiliate & MyReferer. Maybe Share-a-Sale, too.