function printDate()
{
	// create Date object
	var d = new Date();
	// get the year
	var curr_year = d.getFullYear();
	// get the copyright span
	var copyright = document.getElementById('copyright');
	// create the text node
	var copyDate = document.createTextNode(curr_year + ' ');
	//append the text node
	copyright.appendChild(copyDate);
}

addLoadEvent(printDate);