	var time = new Date();
	var year = time.getYear();
	if (year < 1900) {
		year = year + 1900;
	}
	var date = year - 40; /*change the '40' to the number of years in the past you want to show */
	var future = year + 5; /*change the '5' to the number of years in the future plus one */ 
	document.writeln ("<select name='grad_year' id='grad_year'><option value=\"\">YYYY");
	do {
		future--;
		document.write ("<option value=\"" +future+"\">" +future+ "");
	}
	while (future > date)
	document.write ("</select>");

