var theImagesV = new Array()
theImagesV[0] = 'StyleSheets/images_random/video_01.jpg'
theImagesV[1] = 'StyleSheets/images_random/video_02.jpg'
theImagesV[2] = 'StyleSheets/images_random/video_03.jpg'
theImagesV[3] = 'StyleSheets/images_random/video_04.jpg'
theImagesV[4] = 'StyleSheets/images_random/video_05.jpg'
var j = 0
var p = theImagesV.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImagesV[i]
}
var whichImageV = Math.round(Math.random()*(p-1));
function showImageVideo(){
document.write('<img src="'+theImagesV[whichImageV]+'">');
}

var theImagesP = new Array()
theImagesP[0] = 'StyleSheets/images_random/before_01.jpg'
theImagesP[1] = 'StyleSheets/images_random/before_02.jpg'
theImagesP[2] = 'StyleSheets/images_random/before_03.jpg'
theImagesP[3] = 'StyleSheets/images_random/before_04.jpg'
theImagesP[4] = 'StyleSheets/images_random/before_05.jpg'
var j = 0
var p = theImagesP.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImagesP[i]
}
var whichImageP = Math.round(Math.random()*(p-1));
function showImagePhoto(){
document.write('<img src="'+theImagesP[whichImageP]+'">');
}

var theImagesL = new Array()
theImagesL[0] = 'StyleSheets/images_random/letters_01.jpg'
theImagesL[1] = 'StyleSheets/images_random/letters_02.jpg'
theImagesL[2] = 'StyleSheets/images_random/letters_03.jpg'
theImagesL[3] = 'StyleSheets/images_random/letters_04.jpg'
theImagesL[4] = 'StyleSheets/images_random/letters_05.jpg'
var j = 0
var p = theImagesL.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImagesL[i]
}
var whichImageL = Math.round(Math.random()*(p-1));
function showImageLetters(){
document.write('<img src="'+theImagesL[whichImageL]+'">');
}

var theImagesM = new Array()
theImagesM[0] = 'StyleSheets/images_random/media_01.jpg'
theImagesM[1] = 'StyleSheets/images_random/media_02.jpg'
theImagesM[2] = 'StyleSheets/images_random/media_03.jpg'
theImagesM[3] = 'StyleSheets/images_random/media_04.jpg'
theImagesM[4] = 'StyleSheets/images_random/media_05.jpg'
var j = 0
var p = theImagesM.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImagesM[i]
}
var whichImageM = Math.round(Math.random()*(p-1));
function showImageMedia(){
document.write('<img src="'+theImagesM[whichImageM]+'">');
}
