Using AS2 / JS to change HTML BG img

Hi all,

I know it’s possible to change the BG color of an HTML document with Flash and Actionscript, but my question is-

Is there a way to have AS2 and Javascript change the background image of their HTML doc?

Thanks in advance for your help!