﻿// 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
onImgArray[7] = new Image
onImgArray[8] = new Image
onImgArray[9] = new Image
onImgArray[10] = new Image
onImgArray[11] = new Image
onImgArray[12] = new Image
// paths
onImgArray[0].src = "../images/home_on.gif"
onImgArray[1].src = "../images/bio_on.gif"
onImgArray[2].src = "../images/music_on.gif"
onImgArray[3].src = "../images/store_on.gif"
onImgArray[4].src = "../images/tour_on.gif"
onImgArray[5].src = "../images/photos_on.gif"
onImgArray[6].src = "../images/poetry_on.gif"
onImgArray[7].src = "../images/press_on.gif"
onImgArray[8].src = "../images/contact_on.gif"
onImgArray[9].src = "../images/vpk_on.gif"
onImgArray[10].src = "../images/email_on.gif"
onImgArray[11].src = "../images/downloads_on.gif"
onImgArray[12].src = "../images/streetteam_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
outImgArray[7] = new Image
outImgArray[8] = new Image
outImgArray[9] = new Image
outImgArray[10] = new Image
outImgArray[11] = new Image
outImgArray[12] = new Image
// paths
outImgArray[0].src = "../images/home.gif"
outImgArray[1].src = "../images/bio.gif"
outImgArray[2].src = "../images/music.gif"
outImgArray[3].src = "../images/store.gif"
outImgArray[4].src = "../images/tour.gif"
outImgArray[5].src = "../images/photos.gif"
outImgArray[6].src = "../images/poetry.gif"
outImgArray[7].src = "../images/press.gif"
outImgArray[8].src = "../images/contact.gif"
outImgArray[9].src = "../images/vpk.gif"
outImgArray[10].src = "../images/email.gif"
outImgArray[11].src = "../images/downloads.gif"
outImgArray[12].src = "../images/streetteam.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
	}
}
//-->