	// GLOBAL VARIABLES //

var iconPathToImages =	"/images/";
var iconThisPage = 		0;
var iconSuffix =		".gif";
var iconDisplayStatus = 	true;
var iconAble =		document.images;
var iconStatusLinePrefix =	"";

	// NAMES OF IMAGES //
	
var iconFilenames = new Array();
iconFilenames[1] = 		"doc";
iconFilenames[2] = 		"info";
iconFilenames[3] = 		"camera";

	// STATUS LINE MESSAGES //
	
var iconStatusLine = new Array();
iconStatusLine[1] = 	"Click to Download Document";
iconStatusLine[2] = 	"Click to find more Information & Resources";
iconStatusLine[3] = 	"Click to see Photos";

	// PRELOADS IMAGES //

if (iconAble) {
	for (i = 1; i < iconFilenames.length; i++) {
		eval("var " + iconFilenames[i] + "off = new Image();");
		eval(iconFilenames[i] + "off.src = '" + iconPathToImages + "icon_" + iconFilenames[i] + "-off" + iconSuffix + "'");
	}
	for (i = 1; i < iconFilenames.length; i++) {
		eval("var " + iconFilenames[i] + "on = new Image();");
		eval(iconFilenames[i] + "on.src = '" + iconPathToImages + "icon_" + iconFilenames[i] + "-on" + iconSuffix + "'");
	}
	var iconTempImage = new Image();
}

	// CHANGES IMAGES //

function iconChangeImages(iconLinkNo, iconImageName, iconOnOrOff) {
	if (iconAble) {
		if (iconLinkNo != iconThisPage) {
			eval("document.images['" + iconImageName + "'].src = " + iconFilenames[iconLinkNo] + iconOnOrOff + ".src");
		}
	}
	if (iconDisplayStatus) {
		if (iconOnOrOff == "on") {
			window.status = iconStatusLinePrefix + iconStatusLine[iconLinkNo];
		} else {
			window.status = "";
		}
	}
}

