﻿var theImages = new Array()

theImages[theImages.length] = '/images/language/versasedan.jpg'
theImages[theImages.length] = '/images/language/quest.jpg'
theImages[theImages.length] = '/images/language/gtr.jpg'
theImages[theImages.length] = '/images/language/maxima.jpg'
theImages[theImages.length] = '/images/language/rogue.jpg'
theImages[theImages.length] = '/images/language/titan.jpg'
theImages[theImages.length] = '/images/language/xterra.jpg'
theImages[theImages.length] = '/images/language/altimasedan.jpg'
theImages[theImages.length] = '/images/language/juke.jpg'
theImages[theImages.length] = '/images/language/leaf_.jpg'
theImages[theImages.length] = '/images/language/murano.jpg'
/*theImages[theImages.length] = '/images/language/cube.jpg'*/

/*var preBuffer = new Array()
for (i = 0; i < theImages.length; i++){
  preBuffer[i] = new Image()
  preBuffer[i].src = theImages[i]
}*/

var whichImage = Math.round(Math.random()*(theImages.length-1));
function showImage(){
	document.write('<img src="'+theImages[whichImage]+'">');
}

