// Function to update year
function fixDate(date) {
	var base = new Date(0);
	var skew = base.getTime();
	if (skew > 0)
		date.setTime(date.getTime() - skew);
}
var current = new Date ();
fixDate(current);

// Payment dates - first discount deadline
function paymentDatesOne ( )	{
	document.write ("Before February 15");
}

// Payment dates - second discount deadline
function paymentDatesTwo ( )	{
	document.write ("Before April 19");
}

// Payment dates - third discount deadline
function paymentDatesThree ( )	{
	document.write ("After April 19");
}

// Day Camp
function dayCamp ( )	{
	document.write ('<p> <a href="DayCamp.html" class="capsule">Day Camp</a> Have your child spend the day with us enjoying fun activities and games! This week-long camp gives children in the area a safe place to have a great time! </p>')
} 

// Explorer Camp
function explorerCamp () {
	document.write ('<p> <a href="ExplorersCamp.html" class="capsule">Explorer Camp</a> Explorer Camp is a great two-night getaway providing the young or first-time camper an opportunity to enjoy&#44; for the first time&#44; many of the great activities camp offers. </p>')
}

// Discovery Camp
function discoveryCamp () {
	document.write ('<p> <a href="DiscoveryCamp.html" class="capsule">Discovery Camp</a> Discover the joy of camp life by participating in great outdoor activities&#58; Swimming&#44; archery&#44; and canoeing are some of the activities highlighting Discovery Camp. </p>')
}

// Sports Camp
function sportCamp () {
	document.write ('<p> <a href="SportsCamp.html" class="capsule">Sports Camp</a> Get ready for a week of engaging sporting activities. Start the week with baseball/softball and move on to tennis&#44; golf&#44; and basketball. In addition to these activities&#44; campers will attend a Cedar Rapids Kernels game! </p>')
}

// Wilderness Camp
function wildernessCamp () {
	document.write ('<p> <a href="WildernessCamp.html" class="capsule">Wilderness Camp</a> Back for a second summer is Wilderness Camp! Spend the week in the outdoors cooking your meals over an open fire and sleeping in tents! </p>')
}

// Horse Camp
function horseCamp () {
	document.write ('<p> <a href="HorseCamp.html" class="capsule">Horse Camp</a> Horse camp is an opportunity for riders of any level to enjoy camp.  Horse campers spend their mornings with the horses and engage in other great camp activities the rest of the day. </p>')
}

// Adventurer Camp
function adventurerCamp () {
	document.write ('<p> <a href="AdventurersCamp.html" class="capsule">Adventure Camp</a> An overnight canoe and rock-climbing trip to Palisades-Kepler State Park highlights this week of adventure on and off camp. </p>')
}

// Pathfinder Camp
function pathfinderCamp () {
	document.write ('<p> <a href="PathfindersCamp.html" class="capsule">Pathfinder Camp</a> One is never too old to be a camper. Relaxing by the pool, eating s&#39;mores around the campfire, and chasing down counselors in Eagles Nest or Dare Base are great ways to enjoy your summer at Camp Io-Dis-E-Ca! </p>')
}

// Bike Trip
function bikeTrip () {
	document.write ('<p> <a href="BikeTrip.html" class="capsule">Bike Trip</a> Enjoy a ride along the Cedar Valley Nature Trail followed by a day at Lost Island Water Park. </p>')
}

// Canoe Trip
function canoeTrip () {
	document.write ('<p> <a href="CanoeTrip.html" class="capsule">Canoe Trip</a> Journey through Lake MacBride State Park, Palisades Kepler State Park, and a 22-mile path along the Cedar River! </p>')
}

// Junior Counselors
function juniorCounselor () {
	document.write ('<p> <a href="JuniorCounselors.html" class="capsule">Junior Counselors</a> If you enjoy camp and would like to share your experience with others, you may want to consider becoming a Junior Counselor. Serve as a role model while assisting regular staff!</p>')
}

// Trailblazer Camp
function trailblazerCamp () {
	document.write ('<p> <a href="TrailblazersCamp.html" class="capsule">Trailblazer Camp</a> Trailblazer Camp is a wonderful opportunity for Senior High campers to experience and enjoy exciting, new activities as well as past favorites. Come and get away! Have fun! </p>')
}

// Servant Event
function servantEvent () {
	document.write ('<p> <a href="ServantEvent.html" class="capsule">Servant Event</a> Get involved with helping others that were affected by the June 2008 flood. This gives you a great opportunity to serve those in need. </p>')
}