(bit scrappy, 10 min of code, but funny)
(test it by running asteroids on this page: http://bl4k.github.com/)