// JavaScript Document

// directory of normal images
var dir="images/";
// directory of the OVER images 
var over="images/over/";

function swapImage(itm,img) {
	itm.src = preImg[img].src;
}
function swapBack(itm,img) {
	itm.src = dir+myImages[img];
}
var myImages = new Array();
myImages.push("about-us.jpg");
myImages.push("how-we-make.jpg");
myImages.push("products.jpg");
myImages.push("flavors.jpg");
myImages.push("distributors.jpg");
myImages.push("contact-us.jpg");




var preImg = new Array();
for(x=0;x<myImages.length;x++){
	preImg[x] = new Image();
	preImg[x].src=over + myImages[x];
	}
// IN THE <IMG> TAG
// onmouseover="swapImage(this,0)" onmouseout="swapBack(this,0)"
