/*////////////////////////////////////////////////////
													
	Name: 			Krystal Lagpacan 				
	Project: 		DeLos Reyes Fashion				
	Description:	Get Date (5 pts)		
					The Missing Manual, p. 140		
													
////////////////////////////////////////////////////*/

/* 
Create a function to print the copyright year.
This is especially useful for large websites so you
don't have to go back to every page just to change
the year.
The only downside is that the year is based on the
user computer's clock, which can be modified by the
user. However, it is probably rare for someone to
actually set their computer clock to anything other
than standard time.
*/ 

function printYr() {
	var startYear = '2009';
	// Store new date object into variable called today
	var today = new Date();
	// Get the full year of today and store it into the currentYr variable
	var currentYr = today.getFullYear();
	// print the currentYr value
	document.write(startYear + ' - ' + currentYr);
}
