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("cdate");
	// create the text node
	var yearSpan = (curr_year == 2007) ? curr_year : '2007-' + curr_year;
	var copyDate = document.createTextNode(yearSpan + ' '); // the extra space is to accommodate IE
	//append the text node
	copyright.appendChild(copyDate);
}

addLoadEvent(printDate);
