// BEGIN RANDOM MASTHEAD BACKGROUND SCRIPT

// Start by filling your array. To create more, just add to the array, 
// but make sure that the number of objects in your array corresponds 
// to the multiplier in the function

mastbg = new Array
mastbg[0]="http://marketplace.nwsource.com/nwc/jobs/art/homepage_img1.jpg"
mastbg[1]="http://marketplace.nwsource.com/nwc/jobs/art/homepage_img2.jpg"
mastbg[2]="http://marketplace.nwsource.com/nwc/jobs/art/homepage_img3.jpg"

// Create a random number, multiplier is same number as highest number in array
randomize = (Math.round((Math.random()*2)));

// Write the style tag with a random array element, the class 
// correspond to the tag you want it to populate
document.write("<style type=\"text\/css\">");
document.write(".myjobs{");
document.write("background-image: url(" + mastbg[randomize] + ");");
document.write("background-position: top left; background-repeat:no-repeat;");
document.write("}\n");
document.write("</style>");

// END RANDOM MASTHEAD BACKGROUND SCRIPT