$(function () {
	var launchDate = new Date(1967, 9 - 1, 20, 14, 28, 0);
	//http://www.heraldscotland.com/being-on-board-is-just-magical-people-hear-qe2-and-get-excited-1.865559
	
	var commissionDate = new Date(1969, 3 - 1, 18, 13, 15, 0);
	//QE2 David Hutchings p35
	
	var maidenDate = new Date(1969, 5 - 1, 2, 12, 45, 0);
	//BBC 1 12;15pm - 12:45pm QE2 departure
	
	var handoverDate = new Date(2008, 11 - 1, 27, 14, 0, 0);
	//http://cruiselinehistory.com/?p=677

	$('#launchCountdown').countdown({since: launchDate, compact: true, 
    format: 'YDHM', description: 'Since the QE2 was launched at the Clydeside John Brown Shipyard by HM Queen Elizabeth II&nbsp; at 2:28pm on Wednesday 20th September 1967', timezone: +1});

	$('#commissionCountdown').countdown({since: commissionDate, compact: true, 
    format: 'YDHM', description: 'Since the QE2 was officially handed over by the John Brown Shipyard to the Cunard Line in London and Southampton at 1:15pm on Tuesday 18th March 1969', timezone: +1});
		
	$('#maidenCountdown').countdown({since: maidenDate, compact: true,
    format: 'YDHM', description: 'Since the QE2 sailed on her maiden voyage leaving at 12.45pm local time on Friday 2nd May 1969 on a five-day voyage from Southampton to New York', timezone: +1});
	
	$('#handoverCountdown').countdown({since: handoverDate, compact: true,
    format: 'YDHM', description: 'Since the QE2 was officially handed over by the Cunard Line to her new owners, Istithmar World, in Dubai at 2pm Dubai local time on Thursday 27th November 2008', timezone: +5});
	
});



