<!--
var today = new Date();
function takeYear(theDate)
{

	x = theDate.getYear();
	var y = x % 100;
	y += (y < 38) ? 2000 : 1900;
	return y;
}
document.write(takeYear(today));
// -->