	// note: gallery captions are preloaded in the gallery page, itself

	if (document.images) {

		var onImgArray = new Array();
		var offImgArray = new Array();

		function preloadNavImages() {

			// array to hold the navigation "on" images
			onImgArray["contact"]      = new Image(16, 137);
			onImgArray["events"]       = new Image(16, 137);
			onImgArray["gallery"]      = new Image(16, 137);
			onImgArray["home"]         = new Image(16, 137);
			onImgArray["links"]        = new Image(16, 137);
			onImgArray["literary"]     = new Image(16, 137);
			onImgArray["membership"]   = new Image(16, 137);
			onImgArray["honorary"]     = new Image(16, 137);
			onImgArray["reservations"] = new Image(16, 137);
			onImgArray["archives"]     = new Image(16, 137);
			onImgArray["contribute"]   = new Image(16, 137);

			onImgArray["contact"].src      = "images/nav_contactus_on.gif";
			onImgArray["events"].src       = "images/nav_events_on.gif";
			onImgArray["gallery"].src      = "images/nav_gallery_on.gif";
			onImgArray["home"].src         = "images/nav_home_on.gif";
			onImgArray["links"].src        = "images/nav_links_on.gif";
			onImgArray["literary"].src     = "images/nav_literary_on.gif";
			onImgArray["membership"].src   = "images/nav_membership_on.gif";
			onImgArray["honorary"].src     = "images/nav_honorarymembers_on.gif";
			onImgArray["reservations"].src = "images/nav_reservations_on.gif";
			onImgArray["archives"].src     = "images/nav_archives_on.gif";
			onImgArray["contribute"].src   = "images/nav_contribute_on.gif";

			// array to hold the navigation "off" images
			offImgArray["contact"]      = new Image(16, 137);
			offImgArray["events"]       = new Image(16, 137);
			offImgArray["gallery"]      = new Image(16, 137);
			offImgArray["home"]         = new Image(16, 137);
			offImgArray["links"]        = new Image(16, 137);
			offImgArray["literary"]     = new Image(16, 137);
			offImgArray["membership"]   = new Image(16, 137);
			offImgArray["honorary"]     = new Image(16, 137);
			offImgArray["reservations"] = new Image(16, 137);
			offImgArray["archives"]     = new Image(16, 137);
			offImgArray["contribute"]   = new Image(16, 137);

			offImgArray["contact"].src      = "images/nav_contactus.gif";
			offImgArray["events"].src       = "images/nav_events.gif";
			offImgArray["gallery"].src      = "images/nav_gallery.gif";
			offImgArray["home"].src         = "images/nav_home.gif";
			offImgArray["links"].src        = "images/nav_links.gif";
			offImgArray["literary"].src     = "images/nav_literary.gif";
			offImgArray["membership"].src   = "images/nav_membership.gif";
			offImgArray["honorary"].src     = "images/nav_honorarymembers.gif";
			offImgArray["reservations"].src = "images/nav_reservations.gif";
			offImgArray["archives"].src     = "images/nav_archives.gif";
			offImgArray["contribute"].src   = "images/nav_contribute.gif";
		}
	}

	// flip images "on"
	function imgOn(imgName) {
		if (document.images) {document.images[imgName].src = onImgArray[imgName].src;}
	}

	// flip images "off"
	function imgOff(imgName) {
		if (document.images) {document.images[imgName].src = offImgArray[imgName].src;}
	}

