function takeYear() {
	var d = new Date();
	x = d.getYear();
	var y = x % 100;
	y += (y < 38) ? 2000 : 1900;
	document.write(y);
}