         var LocationsDashes = "-------------------"
         var InstrumentsDashes = "-------------------"
         var DefaultLink = "index.html"
         Instruments = new Object()
         Links = new Object()
         
         Locations = new Array(
		 "Andes Lidar Obs", 
		 "Starfire", 
		 "South Pole", 
		 "Sondrestrom", 
		 "Maui", 
		 "Socorro", 
		 "Katherine",
		 "Urbana")
         
         Instruments["Andes Lidar Obs"] = new Array(
         "Na Lidar",
         "All Sky Imager",
         "Photometer")
         
         Links["Andes Lidar Obs"] = new Array(
         "alo/nalidar/index.html",
         "alo/imager/index.html",
         "alo/photo/index.html")
         
         Instruments["Starfire"] = new Array(
         "Na Lidar",
         "All Sky Imager",
         "Photometer",
         "Bomem")
         
         Links["Starfire"] = new Array(
         "sor/nalidar/index.html",
         "sor/imager/index.html",
         "sor/photo/index.html",
         "sor/bomem/index.html");
         
	 Instruments["South Pole"] = new Array(
	 "Fe Lidar",
	 "All Sky Imager")
		 
         Links["South Pole"] = new Array(
         "sp/felidar/index.html",
		 "sp/imager/index.html");
		 
	 Instruments["Sondrestrom"] = new Array(
	 "All Sky Imager",
	 "Photometer",
	 "Imaging Spectrometer")
		 
	 Links["Sondrestrom"] = new Array(
         "sonde/imager/index.html",
		 "sonde/photo/index.html",
		 "sonde/spec/index.html");
         
         Instruments["Maui"] = new Array(
		 "Na Lidar",
		 "All Sky Imager",
		 "Photometer") 
         
         Links["Maui"] = new Array(
		 "maui/nalidar/",
		 "maui/imager/index.html",
		 "maui/photo/");
         
         Instruments["Socorro"] = new Array(
         "All Sky Imager",
         "Bomem")
         
         Links["Socorro"] = new Array(
         "nmt/imager/",
         "nmt/bomem/");
         		 
         Instruments["Katherine"] = new Array(
         "All Sky Imager")
         
         Links["Katherine"] = new Array(
         "katherine/imager/");
 
         Instruments["Urbana"] = new Array(
         "Na Lidar")
         
         Links["Urbana"] = new Array(
         "uao/nalidar/");
 
        // CONFIGURATION ENDS HERE
         initializeForm()
         function initializeForm () {
         	// Fill up initial option values
         	document.jump.location.length = 0;
         	Locations[Locations.length] = LocationsDashes
         	document.jump.location.options[0] = new Option(Locations[0],"",1,1)
         	for(count = 1; count < Locations.length; count++) {
         		document.jump.location.options[count] = new Option(Locations[count], "")
         	}
         fillInstrument()
         }
         
         function fillInstrument()
         {
         	document.jump.instrument.length = 0;
         	loc = new String(Locations[document.jump.location.selectedIndex])
         	if (loc == LocationsDashes) {
         		document.jump.location.selectedIndex = document.jump.location.selectedIndex - 1
         		loc = new String(Locations[document.jump.location.selectedIndex])
         	}
         	document.jump.instrument.options[0] = new Option(Instruments[loc][0],Links[loc][0],1,1);
         	for(count = 1; count < Links[loc].length; count ++)
         	document.jump.instrument.options[count] = new Option(Instruments[loc][count],Links[loc][count]);
         	document.jump.instrument.options[document.jump.instrument.options.length] = new Option(InstrumentsDashes,DefaultLink);
         }
         function checkInstrument() {
         	if (document.jump.instrument.options[document.jump.instrument.selectedIndex].text == InstrumentsDashes)
         		document.jump.instrument.selectedIndex = document.jump.instrument.selectedIndex - 1
         }
