if (document.images) {
	var onImgArray = new Array()
	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[1].src = "images/menu/ahome.gif"
	onImgArray[2].src = "images/menu/aabout.gif"
	onImgArray[3].src = "images/menu/abuy.gif"
	onImgArray[4].src = "images/menu/agallery.gif"
	onImgArray[5].src = "images/menu/aclips.gif"
	onImgArray[6].src = "images/menu/afacebook.gif"
	onImgArray[7].src = "images/menu/asite.gif"
	onImgArray[8].src = "images/menu/ayoutube.gif"
	var offImgArray = new Array()
	offImgArray[1] = new Image
	offImgArray[2] = new Image
	offImgArray[3] = new Image
	offImgArray[4] = new Image
	offImgArray[5] = new Image
	offImgArray[6] = new Image
	offImgArray[7] = new Image
	offImgArray[8] = new Image
	offImgArray[1].src = "images/menu/home.gif"
	offImgArray[2].src = "images/menu/about.gif"
	offImgArray[3].src = "images/menu/buy.gif"
	offImgArray[4].src = "images/menu/gallery.gif"
	offImgArray[5].src = "images/menu/clips.gif"
	offImgArray[6].src = "images/menu/facebook.gif"
	offImgArray[7].src = "images/menu/site.gif"
	offImgArray[8].src = "images/menu/youtube.gif"
}

function imageOn(i) {
	if (document.images) {
		document.images["btn" + i].src = onImgArray[i].src
	}
}
function imageOff(i) {
	if (document.images) {
		document.images["btn" + i].src = offImgArray[i].src
	}
}

function switchImage(id) {
	if (document.images) {
		document.images["gallery_full_image"].src = "images/gallery/full/0"+id+".jpg";
	}
}

