OK, I think I have it:
this is what you want to have. Note, I didn't know what to make of "$onlinetable", so I just didn't do anything with it. This should work without it.
I worked off of the code that CE and you posted, so it may not be perfect, but see if you can adapt it to work right.
your "$pmlink" should look like this:
and then the preferences part should look like this:
"$onlinelink" should look like this:
and then heres the kicker, the bottom of your page:
Let me know if any of that works.
good luck
------------------
-david
I stand on my head and watch it all go away.