var theImages = new Array()
theImages[0] = 'VIPicture1.jpg'
theImages[1] = 'VIPicture2.jpg'
theImages[2] = 'VIPicture3.jpg'
theImages[3] = 'VIPicture4.jpg'
theImages[4] = 'VIPicture5.jpg'
theImages[5] = 'VIPicture6.jpg'
theImages[6] = 'VIPicture7.jpg'
theImages[7] = 'VIPicture8.jpg'
theImages[8] = 'VIPicture9.jpg'
theImages[9] = 'VIPicture10.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 showVImageR(){
document.write('<img src="VILibrary/'+theImages[whichImage]+'" align="right";>');
}
function showVImageL(){
document.write('<img src="VILibrary/'+theImages[whichImage]+'" align="left";>');
}