// JavaScript Document


<!-- Activate cloaking device
var randnum = Math.random();
var inum = 4;
// Change this number to the number of images you are using.
var rand1 = Math.round(randnum * (inum-1)) + 1;
images = new Array
images[1] = "../SiteFiles/stronach2009comau/images/contentbg1.jpg"
images[2] = "../SiteFiles/stronach2009comau/images/contentbg2.jpg"
images[3] = "../SiteFiles/stronach2009comau/images/contentbg3.jpg"
images[4] = "../SiteFiles/stronach2009comau/images/contentbg4.jpg"
// Ensure you have an array item for every image you are using.
var bgimage = images[rand1]
// Deactivate cloaking device -->

function randBGImage() {
   document.getElementById('randompicbg').style.background="url(" + bgimage + ")";
//   document.getElementById('randompicbg').style.backgroundPosition="bottom";
   	}



