{
  var theImages = new Array()

  theImages[0] = 'images/home_05_01.gif'
  theImages[1] = 'images/home_05_02.gif'
  theImages[2] = 'images/home_05_03.gif'
  theImages[3] = 'images/home_05_04.gif'
  theImages[4] = 'images/home_05_05.gif'
  theImages[5] = 'images/home_05_06.gif'
  theImages[6] = 'images/home_05_07.gif'
  theImages[7] = 'images/home_05_08.gif'
  theImages[8] = 'images/home_05_09.gif'
  theImages[9] = 'images/home_05_10.gif'
  theImages[10] = 'images/home_05_11.gif'

  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]+'">');	
  }
}