martinibuster - 9:50 pm on Dec 17, 2012 (gmt 0)
You're welcome. :) I should have quoted what part of your post I was answering.
I'm wondering if there is a better way to do this
As for your other question, as I understand it, Google is supposed to pass PageRank via JS. It reconstructs the link from the script. Personally I'm a bit on the fence, even though Matt Cutts says you can put a nofollow on a JS link in order to keep it from counting.