<!-- load menu button images -->

n1_off = new Image();
n1_off.src = "images/n1.gif";
n1_on = new Image();
n1_on.src = "images/n1_f2.gif";

n2_off = new Image();
n2_off.src = "images/n2.gif";
n2_on = new Image();
n2_on.src = "images/n2_f2.gif";

n3_off = new Image();
n3_off.src = "images/n3.gif";
n3_on = new Image();
n3_on.src = "images/n3_f2.gif";

n4_off = new Image();
n4_off.src = "images/n4.gif";
n4_on = new Image();
n4_on.src = "images/n4_f2.gif";

n5_off = new Image();
n5_off.src = "images/n5.gif";
n5_on = new Image();
n5_on.src = "images/n5_f2.gif";

n6_off = new Image();
n6_off.src = "images/n6.gif";
n6_on = new Image();
n6_on.src = "images/n6_f2.gif";

n7_off = new Image();
n7_off.src = "images/n7.gif";
n7_on = new Image();
n7_on.src = "images/n7_f2.gif";

n8_off = new Image();
n8_off.src = "images/n8.gif";
n8_on = new Image();
n8_on.src = "images/n8_f2.gif";

n9_off = new Image();
n9_off.src = "images/n9.gif";
n9_on = new Image();
n9_on.src = "images/n9_f2.gif";

<!-- Menu Javascript Functions -->



function rollOn(imgName) {
  if (document.images) {
    document[imgName].src = eval(imgName + "_on.src");
  }
}

function rollOff(imgName) {
  if (document.images) {
    document[imgName].src = eval(imgName + "_off.src");
  }
}


<!-- Map PopUp Window -->
function popMap(url) {

	// width & height & top
	var w = 820;
	var h = 450;
	var top = 48
	// new window position -- right, left, center
	var position = "center"

	var winX = 32;
	var winY = top;

	bVer = parseInt(navigator.appVersion); 
		if(bVer >= 4) {
			if(position=="right"){
				winX = screen.width - w -32;
				}
		if(position=="center"){
			winX = (screen.width/2)-(w/2);
			winY = (screen.height/2)-(h/2);
		}
	}

	popupWin = window.open(url,'newwin','toolbar=no,width='+ w +',height= ' + h + ',directories=no,status=no,scrollbars=yes,resizable=yes,top=' + winY + ',left=' + winX +',menubar=no');
}

<!-- Results PopUp Window -->
function popResults(url) {

	// width & height & top
	var w = 820;
	var h = 450;
	var top = 48
	// new window position -- right, left, center
	var position = "center"

	var winX = 32;
	var winY = top;

	bVer = parseInt(navigator.appVersion); 
		if(bVer >= 4) {
			if(position=="right"){
				winX = screen.width - w -32;
				}
		if(position=="center"){
			winX = (screen.width/2)-(w/2);
			winY = (screen.height/2)-(h/2);
		}
	}

	popupWin = window.open(url,'newwin','toolbar=no,width='+ w +',height= ' + h + ',directories=no,status=no,scrollbars=yes,resizable=yes,top=' + winY + ',left=' + winX +',menubar=no');
}
