// image swap preload

if (document.images) {

// over array
var onImgArray = new Array
onImgArray[0] = new Image
onImgArray[1] = new Image
onImgArray[2] = new Image
onImgArray[3] = new Image
onImgArray[4] = new Image
onImgArray[5] = new Image
onImgArray[6] = new Image



// paths
onImgArray[0].src = "images/about_on.gif"
onImgArray[1].src = "images/services_on.gif"
onImgArray[2].src = "images/contact_on.gif"
onImgArray[3].src = "images/spotlight_on.gif"
onImgArray[4].src = "images/employment_on.gif"
onImgArray[5].src = "images/links_on.gif"
onImgArray[6].src = "images/contact_on.gif"




// out array
var outImgArray = new Array
outImgArray[0] = new Image
outImgArray[1] = new Image
outImgArray[2] = new Image
outImgArray[3] = new Image
outImgArray[4] = new Image
outImgArray[5] = new Image
outImgArray[6] = new Image






// paths
outImgArray[0].src = "images/about.gif"
outImgArray[1].src = "images/services.gif"
outImgArray[2].src = "images/contact.gif"
outImgArray[3].src = "images/spotlight.gif"
outImgArray[4].src = "images/employment.gif"
outImgArray[5].src = "images/links.gif"
outImgArray[6].src = "images/contact.gif"





}

// swapping functions

function imgOver(i) {
	if (document.images) {
	document.images['nav' + i].src = onImgArray[i].src
	}
}

function imgOut(i) {
	if (document.images) {
	document.images['nav' + i].src = outImgArray[i].src
	}
}



//-->