	function getTimes(selectedSite){
		// take the returned value of the selected menu item
		// from the "sites" menu and stick in in a variable 
		// called "site"
		site = selectedSite.options[selectedSite.selectedIndex].value;
		
		// as long as the "site" variable is not null, then
		// use the value of site to point get the appropriate
		// text out of our arrays...
		if (site != ""){

				showTime1 = times1[site];
				showTime2 = times2[site];
				siteName = sites[site];
		
		} // end "if site is not null"


		if (document.layers) { 
		// use "old netscape" way of accessing positioned elements
		// via layers, then fill time1 and time2 elements with
		// the values of the showTime1 and showTime2 variables respectively
			document.layers['theSite'].document.open();
			document.layers['theSite'].document.write(siteName);
			document.layers['theSite'].document.close();
			document.layers['theSite2'].document.open();
			document.layers['theSite2'].document.write(siteName);
			document.layers['theSite2'].document.close();
			document.layers['time1'].document.open();
			document.layers['time1'].document.write(showTime1);
			document.layers['time1'].document.close();
			document.layers['time2'].document.open();
			document.layers['time2'].document.write(showTime2);
			document.layers['time2'].document.close();
		} else { 
		// if not netscape, then use getElementById to access the 
		// positioned elements time1 and time2 and fill them with 
		// the values of the showTime1 and showTime2 variables respectively
			theSiteName = document.getElementById("theSite");
			theSiteName.innerHTML = siteName;
			theSiteName = document.getElementById("theSite2");
			theSiteName.innerHTML = siteName;
			theTime1 = document.getElementById("time1");
			theTime1.innerHTML = showTime1;
			theTime2 = document.getElementById("time2");
			theTime2.innerHTML = showTime2;
		} // end if document.layers check
		
	} // end function getTimes()
