Loading Random Background Image - JavaScript

Hey everyone,
I’m trying to get a random background image to load on a non PHP server, and here is what I have so far (attached to post).

I searched the forums and used lostinbeta’s random image script, and I’m trying to get the image loaded. I’m fairly certain that my method of calling image_rnd in the body section is wrong.

Does anyone have any tips?

Thanks!
Kirupa :slight_smile: