that should randomise images. (refresh the page to see if the images change; they should all be dancing).
see attachment for details on how to get it working for yourself.
edit: dancing == dancing fruits or vegetables.
edit2: this should also be compatible with avatars. all of the images must stick to the requirements of 60x60 pixels and no greater than 20000 bytes in size.