var theImagesA = new Array()
theImagesA[0] = '/assets/templates/sunset/images/rb-07-cabin.jpg'
theImagesA[1] = '/assets/templates/sunset/images/rb-08-cabin.jpg'
theImagesA[2] = '/assets/templates/sunset/images/rb-09-dock.jpg'
theImagesA[3] = '/assets/templates/sunset/images/rb-10-icehuts.jpg'
theImagesA[4] = '/assets/templates/sunset/images/rb-11-tennis.jpg'
theImagesA[5] = '/assets/templates/sunset/images/rb-12-redsq.jpg'

var j = 0
var p = theImagesA.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImagesA[i]
}
var whichImageA = Math.round(Math.random()*(p-1));
function showImageA(){
document.write('<img src="'+theImagesA[whichImageA]+'">');
}
//  End -->


