browserName = navigator.appName; browserVer = parseInt(navigator.appVersion);if (browserName == "Netscape" && browserVer >= 3) { browserCheck = "ok"; }else {     if (browserName == "Microsoft Internet Explorer" && browserVer >= 3) { browserCheck = "ok"; }    else { browserCheck = "bad"; }}function imgswap( Iname1, Iname2) { if (browserCheck == "ok") { document [Iname1].src= eval(Iname2 + ".src"); } }function Zoom(theImage,theTitle,x,y) {    var x1 = x + 24    var y1 = y + 80	var newWindow = null        newWindow = window.open("","","width="+x1+",height="+y1+",scrollbars=no,resizable=yes")  	if (newWindow !=null) {		newWindow.focus()		var newimage = "<HTML><link rel='stylesheet' type='text/css' HREF='hedley.css'><HEAD><TITLE>" +theTitle+ "</TITLE></HEAD>"		newimage += "<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 CLASS='popup'><FORM><DIV align=\"center\"><IMG SRC=" +theImage+ " BORDER=0 VSPACE=10 CLASS='popup'><BR>"		newimage += "<FONT CLASS='popup'><B>" +theTitle+ "</B></FONT><BR>"		newimage += "<IMG SRC='space.gif' WIDTH=1 HEIGHT=10><BR>"		newimage += "<INPUT TYPE='button' CLASS='popup' VALUE='Close This Window' onClick='javascript:window.close()'></FORM></DIV>"		newimage += "</BODY></HTML>"		newWindow.document.write(newimage)		newWindow.document.close()	}}function ShowMap(theTitle,x,y,theMap) {var x1 = 553                 /* Map image x size */var y1 = 440                 /* Map image y size */var x4 = 25                  /* Cursor image x size */var y4 = 22                  /* Cursor image y size */var x0 = x + 12 - x4        /* Calculate x cursor position */var y0 = y + 12 - (y4 / 2)   /* Calculate y cursor position */var x2 = x1 + 22             /* Calculate x window size */var y2 = y1 + 75             /* Calculate y window size */    if (theMap == "n") { var MapFile = "map-n.gif"; }    else { var MapFile = "map-s.gif"; }var newWindow = null    newWindow = window.open("","","width="+x2+",height="+y2+",scrollbars=no,resizable=no")        if (newWindow !=null) {	newWindow.focus()	var newimage = "<HTML><link rel='stylesheet' type='text/css' HREF='css/global.css'><HEAD><TITLE>" +theTitle+ "</TITLE></HEAD>"	newimage += "<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 CLASS='popup'>"	newimage += "<div id=layer1 style=\"position:absolute; top:"+y0+"; left:"+x0+"; width:"+x4+"; height:"+y4+"; z-index:1; padding:0px; \"><IMG SRC='map-arrow.gif' WIDTH="+x4+" HEIGHT="+y4+"></DIV>"	newimage += "<FORM><DIV align=\"center\"><IMG SRC="+MapFile+" WIDTH="+x1+" HEIGHT="+y1+" VSPACE=10 CLASS='popup'><BR>"	newimage += "<FONT CLASS='popup'><B>Location Map - " +theTitle+ "</B></FONT><BR>"	newimage += "<IMG SRC='space.gif' WIDTH=1 HEIGHT=10><BR>"	newimage += "<INPUT TYPE='button' CLASS='popup' VALUE='Close This Window' onClick='javascript:window.close()'></FORM>"	newimage += "</BODY></HTML>"	newWindow.document.write(newimage)	newWindow.document.close()	}}function ShowCBDMap(theTitle,x,y) {MapFile = "map-c.gif"        /* Map file name */var x1 = 422                 /* Map image x size */var y1 = 480                 /* Map image y size */Pointer  = "map-arrow2.gif"  /* Map pointer file name */var x4 = 22                  /* Pointer image x size */var y4 = 23                  /* Pointer image y size */var x0 = x + 12 - (x4 / 2)   /* Calculate x cursor position */var y0 = y + 12 - (y4 / 2)   /* Calculate y cursor position */var x2 = x1 + 22             /* Calculate x window size */var y2 = y1 + 75             /* Calculate y window size */var newWindow = null    newWindow = window.open("","","width="+x2+",height="+y2+",scrollbars=no,resizable=no")        if (newWindow !=null) {	newWindow.focus()	var newimage = "<HTML><link rel='stylesheet' type='text/css' HREF='hedley.css'><HEAD><TITLE>" +theTitle+ "</TITLE></HEAD>"	newimage += "<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 CLASS='popup'>"	newimage += "<div id=layer1 style=\"position:absolute; top:"+y0+"; left:"+x0+"; width:"+x4+"; height:"+y4+"; z-index:1; padding:0px; \"><IMG SRC="+Pointer+" WIDTH="+x4+" HEIGHT="+y4+"></DIV>"	newimage += "<FORM><DIV align=\"center\"><IMG SRC="+MapFile+" WIDTH="+x1+" HEIGHT="+y1+" VSPACE=10 CLASS='popup'><BR>"	newimage += "<FONT CLASS='popup'><B>Location Map - " +theTitle+ "</B></FONT><BR>"	newimage += "<IMG SRC='space.gif' WIDTH=1 HEIGHT=10><BR>"	newimage += "<INPUT TYPE='button' CLASS='popup' VALUE='Close This Window' onClick='javascript:window.close()'></FORM>"	newimage += "</BODY></HTML>"	newWindow.document.write(newimage)	newWindow.document.close()	}}function openlink(linkurl) {newwin = window.open(linkurl,"windowname",",,scrollbars,resizable,status,toolbar,menubar,location")}function param_parseURL() {/* Converts the current URL to a parameter string, and returns it. */	var paramList = self.location.href.substring(self.location.href.indexOf("?", 1) + 1, self.location.href.length);	var loop = 0;	var finished = false;	var tempParamList = "";	tempParamList = unescape(paramList);	tempParamList += "&";	return(tempParamList);}function param_getParam(paramList, name) {/* Returns a single parameter 'name' given a parameter string 'paramList'. */	var counter = 0;	var paramName = new Array();	var paramValue = new Array();	paramName[counter] = paramList.substring(0, paramList.indexOf("="));	paramValue[counter] = paramList.substring(paramList.indexOf("=") + 1, paramList.indexOf("&"));	counter++;	for (loop = 0; loop < paramList.length - 1; loop++) {	if (paramList.substring(loop, loop+1) == "&") {			paramName[counter] = paramList.substring(loop + 1, paramList.indexOf("=", loop));			paramValue[counter] = paramList.substring(paramList.indexOf("=", loop) + 1, paramList.indexOf("&", loop + 1));			counter++;		}	}	var valueFound = false;	for (loop2 = 0; loop2 < counter; loop2++) {		if (paramName[loop2] == name) {			return(paramValue[loop2]);			valueFound = true;		}	}	if (valueFound == false) {		return("");	}}
