How random is Math.random()

Hi,

I always wondered, how a random gererator is programmed and
I always doubted that the numbers were random.

So I made a file to test how random Flash’s random numbers are.
The film generates random numbers, counts their frequency, and shows them in a bar-chart.
There are 20.000 items generated, so I think that this is fair enough to have a statistically relevant result.
(see LINK or attached files)

See for yourself,
when I try, the numbers have a very high tendency towards one!

What do you think?