I have noticed on this site:

That the HTML of each of the name suggestions is e.g. like this:

<a target="blank" rel="nofollow" href='http://...'>NoamA1</a>

But if you click on any of the name suggestion links, the little blue star changes to orange.

If I inspect the HTML in FireBug, it shows this:

<a target="blank" rel="nofollow" class="active" href='http://...'>NoamA1</a>

I just wondered how the class of the link is changed on the link being clicked.

I realise it might be JavaScript, so apologies if so, for posting in the wrong forum.

Any advice much appreciated.