
var theImages = new Array()

theImages[0] = 'quote1.gif'
theImages[1] = 'quote2.gif'
theImages[2] = 'quote3.gif'
theImages[3] = 'quote4.gif'

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (l = 0; l < p; l++){
   preBuffer[l] = new Image()
   preBuffer[l].src = theImages[l]
}
var whichImage = Math.round(Math.random()*(p-1));

function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}

var arImages=new Array();
function Preload() {
 var temp = Preload.arguments; 
 for(x=0; x < temp.length; x++) {
  arImages[x]=new Image();
  arImages[x].src=Preload.arguments[x];
 }
}



