The following code creates the
<a> tags, assigns them a class and a name.
The function should run relatively fast, depending on how many lines are added. It can also be
easily modified if you don't use jQuery.
This is the CSS magic.