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