//precache all off images
var offImgArray = new Array()
	offImgArray[0] = new Image(107,107)
	offImgArray[1] = new Image(501,107)
	offImgArray[2] = new Image(107,107)
	offImgArray[3] = new Image(81,175)
	offImgArray[4] = new Image(200,51)
	offImgArray[5] = new Image(78,99)
	offImgArray[6] = new Image(102,102)

// off image array, set off image path for each button
	offImgArray[0].src = "images/af-ret-logo.jpg"
	offImgArray[1].src = "images/rao.jpg"
	offImgArray[2].src = "images/rao-korea.gif"
	offImgArray[3].src = "images/newsread0.gif"
	offImgArray[4].src = "images/sub-ssik.jpg"
	offImgArray[5].src = "images/usfk.gif"
	offImgArray[6].src = "images/usmrak.gif"

//precache all on images
var onImgArray = new Array()
	onImgArray[0] = new Image(107,107)
	onImgArray[1] = new Image(501,107)
	onImgArray[2] = new Image(107,107)
	onImgArray[3] = new Image(81,175)
	onImgArray[4] = new Image(200,51)
	onImgArray[5] = new Image(78,99)
	onImgArray[6] = new Image(102,102)

// on image array, set on image path for each button
	onImgArray[0].src = "images/af-ret-logo.jpg"
	onImgArray[1].src = "images/rao.jpg"
	onImgArray[2].src = "images/rao-korea.gif"
	onImgArray[3].src = "images/newsread2.gif"
	onImgArray[4].src = "images/sub-ssik.jpg"
	onImgArray[5].src = "images/usfk-flip.gif"
	onImgArray[6].src = "images/usmrak-flip.gif"

// functions that swap images
function imageOn(i) {
		document.images[i].src = onImgArray[i].src
}

function imageOff(i) {
		document.images[i].src = offImgArray[i].src
}
// end

