if (document.images) {

//create "on" ArraySix and populate with image objects
   var onImgArraySix = new Array ()
   onImgArraySix[0] = new Image(124,60)
   onImgArraySix[1] = new Image(122,60)
   onImgArraySix[2] = new Image(122,60)
   onImgArraySix[3] = new Image(80,33)
   onImgArraySix[4] = new Image(145,33)
   onImgArraySix[5] = new Image(164,33)
   onImgArraySix[6] = new Image(83,33)
   onImgArraySix[7] = new Image(122,60)
   onImgArraySix[8] = new Image(118,33)
   onImgArraySix[9] = new Image(122,33)
   onImgArraySix[10] = new Image(115,33)

//set URLs for the "on" images
   onImgArraySix[0].src = "images/btn-elements-on.png"
   onImgArraySix[1].src = "images/btn-services-on.png"
   onImgArraySix[2].src = "images/btn-projects-on.png"
   onImgArraySix[3].src = "images/btn-home-on.png"
   onImgArraySix[4].src = "images/btn-contact-on-v2.png"
   onImgArraySix[5].src = "images/btn-heritage-on.png"
   onImgArraySix[6].src = "images/btn-press-on.png"
   onImgArraySix[7].src = "images/btn-home2-on.png"
   onImgArraySix[8].src = "images/btn-projects-on-v2.png"
   onImgArraySix[9].src = "images/btn-elements-on-v2.png"
   onImgArraySix[10].src = "images/btn-services-on-v2.png"

//create "off" ArraySix and populate with image objects
   var offImgArraySix = new Array ()
   offImgArraySix[0] = new Image(124,60)
   offImgArraySix[1] = new Image(122,60)
   offImgArraySix[2] = new Image(122,60)
   offImgArraySix[3] = new Image(80,33)
   offImgArraySix[4] = new Image(145,33)
   offImgArraySix[5] = new Image(164,33)
   offImgArraySix[6] = new Image(83,33)
   offImgArraySix[7] = new Image(122,60)
   offImgArraySix[8] = new Image(118,33)
   offImgArraySix[9] = new Image(122,33)
   offImgArraySix[10] = new Image(115,33)

//set URLs for the "off" images
   offImgArraySix[0].src = "images/btn-elements-off.png"
   offImgArraySix[1].src = "images/btn-services-off.png"
   offImgArraySix[2].src = "images/btn-projects-off.png"
   offImgArraySix[3].src = "images/btn-home-off.png"
   offImgArraySix[4].src = "images/btn-contact-off-v2.png"
   offImgArraySix[5].src = "images/btn-heritage-off.png"
   offImgArraySix[6].src = "images/btn-press-off.png"
   offImgArraySix[7].src = "images/btn-home2-off.png"
   offImgArraySix[8].src = "images/btn-projects-off-v2.png"
   offImgArraySix[9].src = "images/btn-elements-off-v2.png"
   offImgArraySix[10].src = "images/btn-services-off-v2.png"
  }

function imageOnSix(i) {
     if (document.images) {
	     document.images[i].src = onImgArraySix[i].src
	 }
}
function imageOffSix(i) {
     if (document.images) {
	     document.images[i].src = offImgArraySix[i].src
	 }
}
function imageOnSix(i) {
     if (document.images) {
	     document.images["topbutton" + i].src = onImgArraySix[i].src
	 }
}
function imageOffSix(i) {
     if (document.images) {
	     document.images["topbutton" + i].src = offImgArraySix[i].src
	 }
}
