var theDate= new Date();
document.write("&copy; ");
document.write(theDate.getFullYear());