if (document.images) {

//create "on" ArrayFive and populate with image objects
   var onImgArrayFive = new Array ()
   onImgArrayFive[0] = new Image(132,40)
   onImgArrayFive[1] = new Image(132,40)
   onImgArrayFive[2] = new Image(132,40)
   onImgArrayFive[3] = new Image(132,40)
   onImgArrayFive[4] = new Image(132,40)
   onImgArrayFive[5] = new Image(132,40)
   onImgArrayFive[6] = new Image(132,40)
   onImgArrayFive[7] = new Image(132,40)
   onImgArrayFive[8] = new Image(132,40)
   onImgArrayFive[9] = new Image(132,40)
   onImgArrayFive[10] = new Image(132,40)
   onImgArrayFive[11] = new Image(132,40)
   onImgArrayFive[12] = new Image(132,40)
   onImgArrayFive[13] = new Image(132,40)

//set URLs for the "on" images
   onImgArrayFive[0].src = "images/087-artifacts-on.png"
   onImgArrayFive[1].src = "images/087-ceilings-on.png"
   onImgArrayFive[2].src = "images/087-cladding-on.png"
   onImgArrayFive[3].src = "images/087-columns-on.png"
   onImgArrayFive[4].src = "images/087-doors-on.png"
   onImgArrayFive[5].src = "images/087-entryways-on.png"
   onImgArrayFive[6].src = "images/087-fireplaces-on.png"
   onImgArrayFive[7].src = "images/087-flooring-on.png"
   onImgArrayFive[8].src = "images/087-fountains-on.png"
   onImgArrayFive[9].src = "images/087-mosaics-on.png"
   onImgArrayFive[10].src = "images/087-sinks-on.png"
   onImgArrayFive[11].src = "images/087-tables-on.png"
   onImgArrayFive[12].src = "images/087-tasting-rooms-on.png"
   onImgArrayFive[13].src = "images/087-wine-cellars-on.png"

//create "off" ArrayFive and populate with image objects
   var offImgArrayFive = new Array ()
   offImgArrayFive[0] = new Image(132,40)
   offImgArrayFive[1] = new Image(132,40)
   offImgArrayFive[2] = new Image(132,40)
   offImgArrayFive[3] = new Image(132,40)
   offImgArrayFive[4] = new Image(132,40)
   offImgArrayFive[5] = new Image(132,40)
   offImgArrayFive[6] = new Image(132,40)
   offImgArrayFive[7] = new Image(132,40)
   offImgArrayFive[8] = new Image(132,40)
   offImgArrayFive[9] = new Image(132,40)
   offImgArrayFive[10] = new Image(132,40)
   offImgArrayFive[11] = new Image(132,40)
   offImgArrayFive[12] = new Image(132,40)
   offImgArrayFive[13] = new Image(132,40)

//set URLs for the "off" images
   offImgArrayFive[0].src = "images/087-artifacts-off.png"
   offImgArrayFive[1].src = "images/087-ceilings-off.png"
   offImgArrayFive[2].src = "images/087-cladding-off.png"
   offImgArrayFive[3].src = "images/087-columns-off.png"
   offImgArrayFive[4].src = "images/087-doors-off.png"
   offImgArrayFive[5].src = "images/087-entryways-off.png"
   offImgArrayFive[6].src = "images/087-fireplaces-off.png"
   offImgArrayFive[7].src = "images/087-flooring-off.png"
   offImgArrayFive[8].src = "images/087-fountains-off.png"
   offImgArrayFive[9].src = "images/087-mosaics-off.png"
   offImgArrayFive[10].src = "images/087-sinks-off.png"
   offImgArrayFive[11].src = "images/087-tables-off.png"
   offImgArrayFive[12].src = "images/087-tasting-rooms-off.png"
   offImgArrayFive[13].src = "images/087-wine-cellars-off.png"
  }

function imageOnFive(i) {
     if (document.images) {
	     document.images[i].src = onImgArrayFive[i].src
	 }
}
function imageOffFive(i) {
     if (document.images) {
	     document.images[i].src = offImgArrayFive[i].src
	 }
}
function imageOnFive(i) {
     if (document.images) {
	     document.images["leftbutton" + i].src = onImgArrayFive[i].src
	 }
}
function imageOffFive(i) {
     if (document.images) {
	     document.images["leftbutton" + i].src = offImgArrayFive[i].src
	 }
}
