// JavaScript Document
<!--
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'images/ads/gcoml2.jpg'
theImages[1] = 'images/ads/gmeveryday1.jpg'
theImages[2] = 'images/ads/swanad1.jpg'
theImages[3] = 'images/ads/mrquality.jpg'
theImages[4] = 'images/ads/mrfun.jpg'
theImages[5] = 'images/ads/gmlonghaul.jpg'
theImages[6] = 'images/ads/biggsfranchisead.jpg'
theImages[7] = 'images/ads/burgerexpad.jpg'
theImages[8] = 'images/ads/cablepointad1.jpg'
theImages[9] = 'images/ads/cakesexpad.jpg'
theImages[10] = 'images/ads/chickenexpad.jpg'
theImages[11] = 'images/ads/donutexpad.jpg'
theImages[12] = 'images/ads/friedexpad.jpg'
theImages[13] = 'images/ads/jollofexpad.jpg'
theImages[14] = 'images/ads/macdonaldad1.jpg'
theImages[15] = 'images/ads/mealexpad.jpg'
theImages[16] = 'images/ads/nigertowersad1.jpg'
theImages[17] = 'images/ads/thompsonad1.jpg'
theImages[18] = 'images/ads/updcad1.jpg'
theImages[19] = 'images/ads/updcad2.jpg'
theImages[20] = 'images/ads/updcad3.jpg'
theImages[21] = 'images/ads/updcad4.jpg'
theImages[22] = 'images/ads/galastudentday.jpg'
theImages[23] = 'images/ads/updcad6.jpg'
theImages[24] = 'images/ads/foods1.jpg'
theImages[25] = 'images/ads/updcestatead.jpg'
theImages[26] = 'images/ads/carat.jpg'
theImages[27] = 'images/ads/dulux1.jpg'
theImages[28] = 'images/ads/flameguard1.jpg'
theImages[29] = 'images/ads/clenol.jpg'
theImages[30] = 'images/ads/purit.jpg'
theImages[31] = 'images/ads/dulux2.jpg'
theImages[32] = 'images/ads/dulux3.jpg'
theImages[33] = 'images/ads/galateachday.jpg'
theImages[34] = 'images/ads/updcad7.jpg'
theImages[35] = 'images/ads/gcom1.jpg'
theImages[36] = 'images/ads/galaexecday.jpg'
theImages[37] = 'images/ads/updcad5.jpg'

// do not edit anything below this line

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}

//  End -->
