Question: I was wondering how the random number functions work. I mean is the server time used or which other methods are used to generate random numbers? Are they really random numbers or do they lean to a certain pattern? Let's say in python:

```
import random
number = random.randint(1,10)

```

Answer: 
Try:

```
links.parent().addClass('current')
     .closest('li').addClass('current');

```

[jQuery Docs](http://api.jquery.com/parent/)
Seems to me like it's working. I only changed the hrefs in your links so they wouldn't be duplicates and added some CSS to show the highlighted elements [in this JSFiddle](http://jsfiddle.net/3BYwT/2/)