// Image pre-loading for thumbs
//Modify the images for the thumb items for each page as appropriate
imgThumb01Off = new Image(); 
imgThumb01Off.src = "./images/" + imagePrefix + "_thumb01_UP.gif";
imgThumb01On = new Image();
imgThumb01On.src = "./images/" + imagePrefix + "_thumb01_DOWN.gif";

imgThumb02Off = new Image(); 
imgThumb02Off.src = "./images/" + imagePrefix + "_thumb02_UP.gif";
imgThumb02On = new Image();
imgThumb02On.src = "./images/" + imagePrefix + "_thumb02_DOWN.gif";

imgThumb03Off = new Image(); 
imgThumb03Off.src = "./images/" + imagePrefix + "_thumb03_UP.gif";
imgThumb03On = new Image();
imgThumb03On.src = "./images/" + imagePrefix + "_thumb03_DOWN.gif";

imgThumb04Off = new Image(); 
imgThumb04Off.src = "./images/" + imagePrefix + "_thumb04_UP.gif";
imgThumb04On = new Image();
imgThumb04On.src = "./images/" + imagePrefix + "_thumb04_DOWN.gif";

// Turn on the nav image to show what page we are or what section we are in
function chooseThumb() {
	var qs = queryString("thumb");
	if (qs != "false")
		thumb = qs;
		
	if (thumb != "None")	
		document[thumb].src = eval("img" + thumb + "On.src");

}

// Function to 'activate' images.
function imgThumbOn(imgThumb)	{
	document[imgThumb].src = eval("img" + imgThumb + "On.src");

}

