var theImagesB = new Array()
theImagesB[0] = '/assets/templates/sunset/images/rb-01-cabin.jpg'
theImagesB[1] = '/assets/templates/sunset/images/rb-02-dock.jpg'
theImagesB[2] = '/assets/templates/sunset/images/rb-03-pecker.jpg'
theImagesB[3] = '/assets/templates/sunset/images/rb-04-cabinwr.jpg'
theImagesB[4] = '../images/rb-05-flagpoint.jpg'
theImagesB[5] = '/assets/templates/sunset/images/rb-06-dock.jpg'

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


