//Dynamic Dropdowns based on user choice	

	var alumniBios = new Array("( 'Select Name', '' )");
	
	function populateAlumniNames(inForm,selected)
	{
		var selectedArray;
		
		if( selected == "all" )
		{
			selectedArray = eval( "all" );
		}
		else
		{
			selectedArray = eval( "year" + selected );
		}

		document.donate.bios.value = "";
		
		while (selectedArray.length < inForm.alumni.options.length)
		{
	   	inForm.alumni.options[(inForm.alumni.options.length - 1)] = null;
		}
		
		for (var i=0; i < selectedArray.length; i++)
		{
			eval("inForm.alumni.options[i]=" + "new Option" + selectedArray[i]);
		}
		
		if (inForm.year.options[0].value == '')
		{
			inForm.year.options[0]= null;
			if ( navigator.appName == 'Netscape')
			{
				if (parseInt(navigator.appVersion) < 4)
				{
					window.history.go(0);
				}
				else
				{
					if (navigator.platform == 'Win32' || navigator.platform == 'Win16')
					{
						if(!document.getElementById)
							window.history.go(0);
					}
				}
			}
		}
	}

	function populateAlumniBios(inForm, alumni)
	{
		if( alumni == "" )
		{
			alert( "Please select an alumnus name!" );
			return( false );
		}
		
		tmp = alumni.split(  "-" );
		var selectedArray = eval( "bios" + tmp[0] );		
		
		document.donate.bios.value =  selectedArray[tmp[1]];
		
		return( true );
	}
		
	