// 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] = './Banners/cdnpball2.jpg'
theImages[1] = './Banners/badlandsbanner.gif'
theImages[2] = './Banners/cdnpball1.jpg'
theImages[3] = './Banners/cpbanner3.jpg'
theImages[4] = './Banners/swipbanner.jpg'
theImages[5] = './Banners/tpbanner1.jpg'
theImages[6] = './Banners/xo.jpg'
theImages[7] = './Banners/tpbanner01.gif'
theImages[8] = './Banners/tpbannert68.jpg'
theImages[9] = 'http://www.battlefieldpb.com/catalog/ads/MT65AD.gif'
theImages[10] = './Banners/flagswipe1.gif'
theImages[11] = './Banners/cpbanner1.jpg'
theImages[12] = './Banners/cpbanner2.jpg'
theImages[13] = './Banners/tpbanner1.jpg'
theImages[14] = './Banners/pgcbanner2.jpg'
theImages[15] = './Banners/CRPC-Bannerroll_2.gif'
theImages[16] = './Banners/TPgirlzBanner.gif'
theImages[17] = './Banners/tpbanner01.gif'
theImages[18] = './Banners/CRPC-Bannerroll_2.gif'
theImages[19] = './Banners/CRPC-Bannerroll_2.gif'

// 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]+'">');
}