// Preset Targets for Eclipses
// Samples for countdsamp.html

function setTarget(target) {
	if ("in2009"==target) {
		title="Countdown to Inauguration Day 2009";
		year=2009;
		mon=1;
		dat=20;
		hrs=12;
		ts="pm";
		tz="-300";
	} else if ("el2010"==target) {
		title="Countdown to the 2010 Midterm Election";
		year=2010;
		mon=11;
		dat=2;
		hrs=8;
		ts="pm";
		// Daylight savings time ends on the 1st Sunday in November.
		// In 2010 this is November 7th.
		// So Washington DC will be timezone GMT-4 on November 2nd.
		tz="-240";
	} else if ("el2012"==target) {
		title="Countdown to the 2012 Presidential Election";
		year=2012;
		mon=11;
		dat=6;
		hrs=8;
		ts="pm";
		// Daylight savings time ends on the 1st Sunday in November.
		// In 2010 this is November 4th.
		// So Washington DC will be timezone GMT-5 on November 6th.
		tz="-300";
	} else if ("in2013"==target) {
		title="Countdown to Inauguration Day 2013";
		year=2013;
		mon=1;
		dat=20;
		hrs=12;
		ts="pm";
		tz="-300";
	}
}

var preset_target_name="el2012";

// TIAF!
