/*  Copyright 2004 Northern Kentucky University - script revised 4/15/2004
Script author(s): Eric Landwehr */

function currentYear() {
	//---- Purpose: determines current year and writes the year into the document
	
	//---- variable declarations ------
	var mydate=new Date();
	var year=mydate.getYear();
	
	if (year < 1000) {
		year+=1900
	}
	
	document.write(year);
}
