<!--

   /////////////////////////////
   ///     JS Rollovers     ////
   /////////////////////////////
   

	//////////////////////
	// GLOBAL VARIABLES //
	//////////////////////
var pathToImages =	"/images/";
var thisPage = 		0;
var suffix =		".gif";
var displayStatus = 	true;
var able =		document.images;
var statusLinePrefix =	"";

	/////////////////////
	// NAMES OF IMAGES //
	/////////////////////
	
var filenames = new Array();
filenames[1] = 		"about";
filenames[2] = 		"plants";
filenames[3] = 		"news";
filenames[4] = 		"specials";
filenames[5] = 		"tour";
filenames[6] = 		"visit";
filenames[7] = 		"contact";


	//////////////////////////
	// STATUS LINE MESSAGES //
	//////////////////////////
	
var statusLine = new Array();
statusLine[1] = 	"About Fox Hollow Farm";
statusLine[2] = 	"Come See the Variey of Perennials We Grow";
statusLine[3] = 	"What's New on the Farm";
statusLine[4] = 	"Our Specials";
statusLine[5] = 	"Take the Virtual Tour";
statusLine[6] = 	"Visit Fox Hollow Farm";
statusLine[7] = 	"Contact Fox Hollow Farm";

	/////////////////////
	// PRELOADS IMAGES //
	/////////////////////
if (able) {
	for (i = 1; i < filenames.length; i++) {
		eval("var " + filenames[i] + "_off = new Image();");
		eval(filenames[i] + "_off.src = '" + pathToImages + "nav-top-" + filenames[i] + "_off" + suffix + "'");
	}
	for (i = 1; i < filenames.length; i++) {
		eval("var " + filenames[i] + "_on = new Image();");
		eval(filenames[i] + "_on.src = '" + pathToImages + "nav-top-" + filenames[i] + "_on" + suffix + "'");
	}
	var tempImage = new Image();
}
	////////////////////
	// CHANGES IMAGES //
	////////////////////
function changeImages(linkNo, onOrOff) {
	if (able) {
		if (linkNo != thisPage) {
			eval("document.images['" + filenames[linkNo] + "'].src = " + filenames[linkNo] + "_" + onOrOff + ".src");
		}
	}
	if (displayStatus) {
		if (onOrOff == "on") {
			window.status = statusLinePrefix + statusLine[linkNo];
		} else {
			window.status = "";
		}
	}
}

//-->
