var theImages = new Array()
theImages[0] = '/petofthepage/bi-bing-1.jpg'
theImages[1] = '/petofthepage/bi-joey-1.jpg'
theImages[2] = '/petofthepage/bi-spike-1.jpg'
theImages[3] = '/petofthepage/bi-georgie-1.jpg'
theImages[4] = '/petofthepage/npc-stella.jpg'
theImages[5] = '/petofthepage/bi-georgie-3.jpg'
theImages[6] = '/petofthepage/bi-catblinds.jpg'
theImages[7] = '/petofthepage/bi-gramps.jpg'
theImages[8] = '/petofthepage/npc-ysabella-1.jpg'
theImages[9] = '/petofthepage/bi-joeytongue.jpg'
theImages[10] = '/petofthepage/bi-spikelaundry.jpg'
theImages[11] = '/petofthepage/bi-spikestrike.jpg'
theImages[12] = '/petofthepage/bi-steepbing.jpg'
theImages[13] = '/petofthepage/npc-ysabella-2.jpg'
theImages[14] = '/petofthepage/bi-spikeface.jpg'
theImages[15] = '/petofthepage/bi-snoop.jpg'
theImages[16] = '/petofthepage/bi-spikedrives.jpg'
theImages[17] = '/petofthepage/bi-friends.jpg'
theImages[18] = '/petofthepage/bi-basil-1.jpg'
theImages[19] = '/petofthepage/npc-douglas-1.jpg'
theImages[20] = '/petofthepage/npc-douglas-2.jpg'
theImages[21] = '/petofthepage/npc-addison-1.jpg'
theImages[22] = '/petofthepage/npc-addison-2.jpg'


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 -->


