I'm trying to accomplish the following a random background in a div tag
here is my code so far but doesn't give me a background. When i put the code into a function it seems to work, but due to the multiplicity of the page i can't do that.
Do you see what i'm doing wrong?
var bgs=new Array;