var theImages = new Array() 


theImages[0] = 'site-media/images/home/employee_engagement_target.jpg'
theImages[1] = 'site-media/images/home/employee_engagement_tools.jpg'
theImages[2] = 'site-media/images/home/employee_engagement_queue.jpg'
theImages[3] = 'site-media/images/home/employee_engagement_strategy.jpg'
theImages[4] = 'site-media/images/home/employee_engagement_fish.jpg'
theImages[5] = 'site-media/images/home/employee_engagement_balance.jpg'
theImages[6] = 'site-media/images/home/employee_engagement_eggs.jpg'
theImages[7] = 'site-media/images/home/employee_engagement_gears.jpg'
theImages[8] = 'site-media/images/home/employee_engagement_key.jpg'
theImages[9] = 'site-media/images/home/employee_engagement_message.jpg'
theImages[10] = 'site-media/images/home/employee_engagement_vault.jpg'
theImages[11] = 'site-media/images/home/employee_engagement_wrap.jpg'
theImages[12] = 'site-media/images/home/employee_engagement_maze.jpg'
theImages[13] = 'site-media/images/home/employee_engagement_bands.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 showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}


