<!-- This routine is for the rollovers -->

if (document.images) {
	mapfOff = new Image
	map1Off = new Image
	map2Off = new Image
	map3Off = new Image
	map4Off = new Image
	map5Off = new Image
	map6Off = new Image
	map7Off = new Image
	map8Off = new Image
	map9Off = new Image
	map10Off = new Image
	map11Off = new Image

	mapfOn = new Image
	map1On = new Image
	map2On = new Image
	map3On = new Image
	map4On = new Image
	map5On = new Image
	map6On = new Image
	map7On = new Image
	map8On = new Image
	map9On = new Image
	map10On = new Image
	map11On = new Image

	mapfOff.src = "images/mapf-off.jpg"
	map1Off.src = "images/map1-off.jpg"
	map2Off.src = "images/map2-off.jpg"
	map3Off.src = "images/map3-off.jpg"
	map4Off.src = "images/map4-off.jpg"
	map5Off.src = "images/map5-off.jpg"
	map6Off.src = "images/map6-off.jpg"
	map7Off.src = "images/map7-off.jpg"
	map8Off.src = "images/map8-off.jpg"
	map9Off.src = "images/map9-off.jpg"
	map10Off.src = "images/map10-off.jpg"
	map11Off.src = "images/map11-off.jpg"

	mapfOn.src = "images/mapf-on.jpg"
	map1On.src = "images/map1-on.jpg"
	map2On.src = "images/map2-on.jpg"
	map3On.src = "images/map3-on.jpg"
	map4On.src = "images/map4-on.jpg"
	map5On.src = "images/map5-on.jpg"
	map6On.src = "images/map6-on.jpg"
	map7On.src = "images/map7-on.jpg"
	map8On.src = "images/map8-on.jpg"
	map9On.src = "images/map9-on.jpg"
	map10On.src = "images/map10-on.jpg"
	map11On.src = "images/map11-on.jpg"

}

function chgImg(imgField,newImg) {
	if (document.images) {
		document[imgField].src= eval(newImg + ".src")
	}
}

<!-- This routine is for the links and forms windows -->

var newWindow = null;

function openWindow(contentURL,windowName,windowWidth,windowHeight,windowLeft,windowTop) {
	widthHeight = 'height=' + windowHeight + ',width=' + windowWidth + ',left= ' + windowLeft + ',top=' + windowTop;
	newWindow = window.open(contentURL,windowName,widthHeight,windowLeft,windowTop);
	newWindow.focus()
}

function closeWindow() {
	if (newWindow != null)  {	
	newWindow.close();
	newWindow = null;
	}
}

<!-- This routine is for the pop-up hypertext-->

function findLivePageWidth() {
	if (window.innerWidth != null)
		return window.innerWidth;
	if (document.body.clientWidth != null)
		return document.body.clientWidth;
	return (null);
}
	
function popUp(evt,objectID){
	if (isDHTML) { // Makes sure this is a DHTML browser
		var livePageWidth = findLivePageWidth();
		//alert(livePageWidth);
		domStyle = findDOM(objectID,1);
		dom = findDOM(objectID,0);
		state = domStyle.visibility;
		if (dom.offsetWidth) elemWidth = dom.offsetWidth;
		else { if (dom.clip.width)	elemWidth = dom.clip.width; }
		if (state == "visible" || state == "show")  { domStyle.visibility = "hidden"; }
		else {
			if (evt.pageY) { //Calculates the position for Navigator 4 
				topVal = evt.pageY + 6;
				leftVal = evt.pageX - (elemWidth / 2); 
			}
			else { 
				if (evt.y) { // Calculates the position for IE4
					topVal = evt.y + 6 + document.body.scrollTop;
					leftVal = evt.x - (elemWidth / 2) + document.body.scrollLeft;
				}
			}
		/*If the element goes off the page to the left, this moves it back */
			if(leftVal < 10) { leftVal = 10; }
			else { 
				if ((leftVal + elemWidth) > livePageWidth) { leftVal = leftVal - (elemWidth / 2); }
			}
			domStyle.top = topVal; // Positions the element from the top
			domStyle.left = leftVal; // Positions the element from the left
			domStyle.visibility = "visible"; // Makes the element visable 
		}
	}
}
