Ok so I have this script:
window.onload = (function()
var numberOfBackGroundImages = 5;
document.getElementsByTagName('body').style.backgroundImage = 'url(images/background/0' + Math.ceil(Math.random() * numberOfBackGroundImages) + '.jpg)';
And then call it into the HTML page first thing, like right after the body tag opens.
So I guess my question is how to I take the above script change it enough so its in and exteral JS file and then load it into the HTML page and then call the function into the body section of HTML page first thing.
Thanks for the help,