/*
events.js - used to load events into the calendar.js.  This provides
a means to manipulate and update the calendar presentation from the
actual data elements.
*/ 
// global Variables
var eventHashTable = null;
var sermonHashTable = null;

function loadCalendar(){
	if (eventHashTable==null){
		eventHashTable = new Array();
	}else{
		return;
	}
/*
loadCalendar() -this function is called by the defaultCalendar() function on the
initial drawing of the calendar to load the specific events.  Subsequent calendar
navigation does not load Calendar events.

It is recommended to keep the event list history relatively small say < 1 year of 
event lists. And be sure if you remove an old event hlink document to remove the listing
here as well.

How to use:
	1. To add a new Event
		a. use the addEvent(date,desc,tip,image,link,specialEventIndic) method to create the link.
		   Here are the details:
		   1. date - '04/30/2000' - date of the event.
		   2. desc - "6:00-9:00 King of Kings" - Description to display on the calendar date. 
		   	  {Hint: keep small ~20-30 chars use tip for longer description.} 
		   3. tip - "Easter Celebration Drama" - tool tip for hyperlink.
		   4. image - "http://worthingtoncc.org/events/images/smallkok.jpg" - image for the event
		      {Hint: UNTESTED MUST BE SMALL}
		   5. link - "www.worthingtoncc.org/events/special_events/kok.htm" - link to a more 
		      detailed description of the event.
			Hints:
				- If you don't have a value enter null in the slot
		   6. specialEventIndic - true indicates should appear in the special events list
		   			   otherwise will not. {DEFAULT is false below}
	2. To Add a Sermon see the loadSermon() below
*/
 
       /*
       	addEvent('mm/dd/yyyy',
       				"Description"	,
       				"HyperLink Tip"	,
       				"Image Url"	,
       				"HyperLink Url", 
       				specialEventIndic(false normally) );
       */
       
// **************************   2011   **********************************
// December 2011
	addEvent('12/27/2011'	,"Happy Anniversary Bill & Elaine","Happy 2nd Anniversary","images/wedding1.gif",null,true);
	addEvent('12/25/2011'	,"Happy Birthday Jesus","Jesus Saves","images/crib.jpg",null,true);

//November 2011
	//addEvent('11/01/2008'	,"Wellsboro, PA"	,"Thur - Mon","images/RunnngHorse.gif",null,true);
	//addEvent('11/02/2008'	,"Wellsboro, PA"	,"Thur - Mon","images/RunningHorse2.gif",null,true);
	//addEvent('11/03/2008'	,"Wellsboro, PA"	,"Thur - Mon","images/RunnngHorse.gif",null,true);
	addEvent('11/11/2011'	,"Veterans Day","","images/F410.jpg",null,true);
	//addEvent('11/11/2011'	,"Equine Affaire Massachusetts","Eastern States Exposition in W. Springfield, 								//MA",null,"http://www.equineaffaire.com/massachusetts/index.html",true);
	//addEvent('11/12/2010'	,"Equine Affaire Massachusetts","Eastern States Exposition in W. Springfield, 								//MA",null,"http://www.equineaffaire.com/massachusetts/index.html",true);
	//addEvent('11/13/2010'	,"Equine Affaire Massachusetts","Eastern States Exposition in W. Springfield, 							//					MA",null,"http://www.equineaffaire.com/massachusetts/index.html",true);
	//addEvent('11/14/2010'	,"Equine Affaire Massachusetts","Eastern States Exposition in W. Springfield, 								//MA",null,"http://www.equineaffaire.com/massachusetts/index.html",true);
	//addEvent('11/17/2008'	,"Dentist","5:30 PM" ,null,null,true);
	//addEvent('11/21/2008'	,"E to Austin, TX",null ,null,null,true);
	//addEvent('11/22/2008'	,"E to Austin, TX",null ,"images/TexasLogo2.gif",null,true);
	//addEvent('11/23/2008'	,"E to Austin, TX",null ,null,null,true);
	//addEvent('11/26/2010'	,"Happy Thanksgiving",null,"images/dinner01.jpg",null,true);
//October 2011
	addEvent('10/11/2011'	,"Columbus Day","Columbus Day","images/ColumbusDay1.jpg",null,true);
//September 2011
	addEvent('09/05/2011'	,"Labor Day",null,null,null,true);
	addEvent('09/07/2011'	,"Happy Birthday 'Yankee Dave'",null,"images/birthday3.gif",null,true);
	addEvent('09/22/2011'	,"CWH to Benezette", "Elk County, PA","CalendarPhotos/bennezette3R.jpg", null,true);
	addEvent('09/23/2011'	,"CWH to Benezette", "Elk County, PA","CalendarPhotos/BillCopper1R.JPG", null,true);
	addEvent('09/24/2011'	,"CWH to Benezette", "Elk County, PA","CalendarPhotos/GeriLuAnn1R.JPG", null,true);
	addEvent('09/25/2011'	,"CWH to Benezette", "Elk County, PA","CalendarPhotos/S6300210R.JPG", null,true);


//August 2011
	addEvent('08/01/2011'	,"Happy Birthday Geri",	"Happy 39","images/birthday3.gif",null,true);
	addEvent('08/21/2011'	,"Crawford County Fair","",null,null,true);
	addEvent('08/22/2011'	,"Crawford County Fair","",null,null,true);
	addEvent('08/23/2011'	,"Crawford County Fair","",null,null,true);
	addEvent('08/24/2011'	,"Crawford County Fair","",null,null,true);
	addEvent('08/25/2011'	,"Crawford County Fair","",null,null,true);
	addEvent('08/26/2011'	,"Crawford County Fair","",null,null,true);
	addEvent('08/27/2011'	,"Crawford County Fair","",null,null,true);

	//addEvent('08/05/2009'	,"Happy Birthday Zoe","10 Years Old","images/birthday3.gif",null,true);
// July 2011
	addEvent('07/04/2011'	,"Independence Day",	"","images/Fireworks1.jpg",	"",true);
	addEvent('07/14/2011'	,"Flying W Ranch Pro Rodeo","Kelletville, PA","images/horseandflag.gif","http://www.TheFlyingWRanch.com/",true);
	addEvent('07/15/2011'	,"Flying W Ranch Pro Rodeo","Kelletville, PA","images/BroncRide.jpg","http://www.TheFlyingWRanch.com/",true);
	addEvent('07/16/2011'	,"Flying W Ranch Pro Rodeo","Kelletville, PA","images/BroncRide2.jpg","http://www.TheFlyingWRanch.com/",true);
	addEvent('07/17/2011'	,"Flying W Ranch Pro Rodeo","Kelletville, PA","images/BuckingHorse3.jpg","http://www.TheFlyingWRanch.com/",true);
	addEvent('07/28/2011'	,"CWH to Mohican, OH",null,null,null,true);
	addEvent('07/29/2011'	,"CWH to Mohican, OH",null,null,null,true);
	addEvent('07/30/2011'	,"CWH to Mohican, OH",null,null,null,true);
	addEvent('07/31/2011'	,"CWH to Mohican, OH",null,null,null,true);

// June 2011

	addEvent('06/24/2011'	,"Happy Birthday Elaine","Happy 29","images/birthday3.gif",null,true);

// May 2011
	addEvent('05/11/2011'	,"CWH to Hocking Hills","Three Reasons Farms Horse Camp",null,"www.hockinghills.com/threereasons/",true);
	addEvent('05/12/2011'	,"CWH to Hocking Hills","Three Reasons Farms Horse Camp",null,"www.hockinghills.com/threereasons/",true);
	addEvent('05/13/2011'	,"CWH to Hocking Hills","Three Reasons Farms Horse Camp",null,"www.hockinghills.com/threereasons/",true);
	addEvent('05/14/2011'	,"CWH to Hocking Hills","Three Reasons Farms Horse Camp",null,"www.hockinghills.com/threereasons/",true);
	addEvent('05/15/2011'	,"CWH to Hocking Hills","Three Reasons Farms Horse Camp",null,"www.hockinghills.com/threereasons/",true);

//	addEvent('05/23/2010'	,"Saddle Sisters to Gettysburg","","images/SSLogo3RC.jpg","",true);
//	addEvent('05/24/2010'	,"Saddle Sisters Ride Gettysburg","","images/SSLogo1RC.jpg","",true);
//	addEvent('05/29/2010'	,"ACTHA Ride at Flying W Ranch","Tionesta, PA - Hosted by //					//ClearViewRanch.net",null,"http://www.actha.us/index.php?option=com_association&view=guest&area=rides_eve
//nts&task=find_ride&state=PA&sortby=date&max_show=50//&ride_id=130",true);
	addEvent('05/31/2011'	,"Memorial Day","","images/JulyFourth2.gif","",true);

//April 2011
	addEvent('04/24/2011'	,"Easter","Hallelujah - He is risen.","images/EasterPic1.jpg",null,true);
	addEvent('04/07/2011'	,"Ohio Equine Affaire"	,"Columbus, OH",null,"http://www.equineaffaire.com/ohio/",true);
	addEvent('04/08/2011'	,"Ohio Equine Affaire"	,"Columbus, OH",null,"http://www.equineaffaire.com/ohio/",true);
	addEvent('04/09/2011'	,"Ohio Equine Affaire"	,"Columbus, OH",null,"http://www.equineaffaire.com/ohio/",true);
	addEvent('04/10/2011'	,"Ohio Equine Affaire"	,"Columbus, OH",null,"http://www.equineaffaire.com/ohio/",true);
	addEvent('04/21/2011'	,"CWH to Kelly Pines","Duhring Road, Marienville, PA",null,null,true);
	addEvent('04/22/2011'	,"CWH to Kelly Pines","Duhring Road, Marienville, PA",null,null,true);
	addEvent('04/23/2011'	,"CWH to Kelly Pines","Duhring Road, Marienville, PA",null,null,true);

//	March 2011

	addEvent('03/12/2011'	,"Conneaut Lake Tack Swap","",null,"Null",true);
//	addEvent('03/21/2011'	,"Northwest Extreme Mustang Makeover","Northwest Horse Fair and Expo/Albany, OR",null,"http://www.extrememustangmakeover.com/northwestmakeover.php",true);

//February 2011
	addEvent('02/02/2011'	,"Ground Hog Day","Punxsutawnery Phil",	"images/groundhog.gif",	null,true);
	addEvent('02/01/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('02/02/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('02/03/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('02/04/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('02/05/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('02/14/2011'	,"Valentine's Day","Happy Valentine's Day","images/beatingheart.gif",null,true);
	addEvent('02/21/2011'	,"President's Day","President's Day","images/PresidentDay.gif",null,true);
	addEvent('02/25/2011'	,"Road To The Horse","Tennessee Miller Coliseum - Murfreesboro, TN","CalendarPhotos/RTTHR.jpg","http://www.roadtothehorse.com",true);
	addEvent('02/26/2011'	,"Road To The Horse","Tennessee Miller Coliseum - Murfreesboro, TN","CalendarPhotos/RTTHR.jpg","http://www.roadtothehorse.com",true);
	addEvent('02/27/2011'	,"Road To The Horse","Tennessee Miller Coliseum - Murfreesboro, TN","CalendarPhotos/RTTHR.jpg","http://www.roadtothehorse.com",true);
	addEvent('02/24/2011'	,"PA Horse World Expo","Farm Show Complex - Harrisburh, PA 17110",null,"http://www.horseworldexpo.com/PAmain.shtml",true);
	addEvent('02/25/2011'	,"PA Horse World Expo","Farm Show Complex - Harrisburh, PA 17110",null,"http://www.horseworldexpo.com/PAmain.shtml",true);
	addEvent('02/26/2011'	,"PA Horse World Expo","Farm Show Complex - Harrisburh, PA 17110",null,"http://www.horseworldexpo.com/PAmain.shtml",true);
	addEvent('02/27/2011'	,"PA Horse World Expo","Farm Show Complex - Harrisburh, PA 17110",null,"http://www.horseworldexpo.com/PAmain.shtml",true);


//January 2011
	addEvent('01/01/2011'	,"Happy New Year","2010","images/newyear.gif",null,true);
	addEvent('01/05/2011'	,"Happy Birthday Trevor","Zero Years Old","images/birthday3.gif","Baby/Index.html",true);
	addEvent('01/14/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/15/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/16/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/17/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/18/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/19/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/20/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/21/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/22/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/23/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/24/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/25/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/26/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/27/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/28/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/29/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/30/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/31/2011'	,"Ft. Worth Stock Show & Rodeo","Ft Worth Stock Show & Rodeo/Ft Worth, TX",null,"http://www.fwssr.com/",true);
	addEvent('01/21/2011'	,"Mustang Magic","Ft Worth Livestock Show & Rodeo/Ft Worth, TX",null,"http://www.extrememustangmakeover.com/themustangmagic.php",true);
	addEvent('01/22/2011'	,"Mustang Magic","Ft Worth Livestock Show & Rodeo/Ft Worth, TX",null,"http://www.extrememustangmakeover.com/themustangmagic.php",true);


//	****************************   2010   **********************************

// December 2010
	addEvent('12/27/2010'	,"Happy Anniversary Bill & Elaine","Happy 2nd Anniversary","images/wedding1.gif",null,true);
	addEvent('12/25/2010'	,"Happy Birthday Jesus","Jesus Saves","images/crib.jpg",null,true);
//November 2010
	//addEvent('11/01/2008'	,"Wellsboro, PA"	,"Thur - Mon","images/RunnngHorse.gif",null,true);
	//addEvent('11/02/2008'	,"Wellsboro, PA"	,"Thur - Mon","images/RunningHorse2.gif",null,true);
	//addEvent('11/03/2008'	,"Wellsboro, PA"	,"Thur - Mon","images/RunnngHorse.gif",null,true);
	addEvent('11/11/2010'	,"Veterans Day","","images/F410.jpg",null,true);
	addEvent('11/11/2010'	,"Equine Affaire Massachusetts","Eastern States Exposition in W. Springfield, MA",null,"http://www.equineaffaire.com/massachusetts/index.html",true);
	addEvent('11/12/2010'	,"Equine Affaire Massachusetts","Eastern States Exposition in W. Springfield, MA",null,"http://www.equineaffaire.com/massachusetts/index.html",true);
	addEvent('11/13/2010'	,"Equine Affaire Massachusetts","Eastern States Exposition in W. Springfield, MA",null,"http://www.equineaffaire.com/massachusetts/index.html",true);
	addEvent('11/14/2010'	,"Equine Affaire Massachusetts","Eastern States Exposition in W. Springfield, MA",null,"http://www.equineaffaire.com/massachusetts/index.html",true);
	//addEvent('11/17/2008'	,"Dentist","5:30 PM" ,null,null,true);
	//addEvent('11/21/2008'	,"E to Austin, TX",null ,null,null,true);
	//addEvent('11/22/2008'	,"E to Austin, TX",null ,"images/TexasLogo2.gif",null,true);
	//addEvent('11/23/2008'	,"E to Austin, TX",null ,null,null,true);
	//addEvent('11/26/2010'	,"Happy Thanksgiving",null,"images/dinner01.jpg",null,true);

//October 2010
	addEvent('10/11/2010'	,"Columbus Day","Columbus Day","images/ColumbusDay1.jpg",null,true);
//September 2010
	addEvent('09/06/2010'	,"Labor Day",null,null,null,true);
	addEvent('09/07/2010'	,"Happy Birthday 'Yankee Dave'",null,"images/birthday3.gif",null,true);
//August 2010
	//addEvent('08/01/2009'	,"Happy Birthday Geri",	"Happy 39","images/birthday3.gif",null,true);
	//addEvent('08/05/2009'	,"Happy Birthday Zoe","10 Years Old","images/birthday3.gif",null,true);

// July 2010
	addEvent('07/04/2010'	,"Independence Day",	"","images/Fireworks1.jpg",	"",true);
	addEvent('07/15/2010'	,"Flying W Ranch Pro Rodeo","Kelletville, PA","images/horseandflag.gif","http://www.TheFlyingWRanch.com/",true);
	addEvent('07/16/2010'	,"Flying W Ranch Pro Rodeo","Kelletville, PA","images/BroncRide.jpg","http://www.TheFlyingWRanch.com/",true);
	addEvent('07/17/2010'	,"Flying W Ranch Pro Rodeo","Kelletville, PA","images/BroncRide2.jpg","http://www.TheFlyingWRanch.com/",true);
	addEvent('07/18/2010'	,"Flying W Ranch Pro Rodeo","Kelletville, PA","images/BuckingHorse3.jpg","http://www.TheFlyingWRanch.com/",true);
	addEvent('07/30/2010'	,"CWH to Mohican, OH",null,null,null,true);
	addEvent('07/31/2010'	,"CWH to Mohican, OH",null,null,null,true);
	addEvent('08/01/2010'	,"CWH to Mohican, OH",null,null,null,true);
// June 2010
//	addEvent('06/11/2010'	,"Extreme Team Mustang Makeover","Colorado State University/Ft. Collins, CO",null,"http://www.extrememustangmakeover.com/extremeteam.php",true);
//	addEvent('06/12/2010'	,"Extreme Team Mustang Makeover","Colorado State University/Ft. Collins, CO",null,"http://www.extrememustangmakeover.com/extremeteam.php",true);
//	addEvent('06/13/2010'	,"Extreme Team Mustang Makeover","Colorado State University/Ft. Collins, CO",null,"http://www.extrememustangmakeover.com/extremeteam.php",true);
	addEvent('06/24/2010'	,"Happy Birthday 'E'","Happy 29","images/birthday3.gif",null,true);
	addEvent('06/24/2010'	,"CWH to Hocking Hills Ohio","Hocking County Ohio",null,null,true);
	addEvent('06/25/2010'	,"CWH to Hocking Hills Ohio","Hocking County Ohio",null,null,true);
	addEvent('06/26/2010'	,"CWH to Hocking Hills Ohio","Hocking County Ohio",null,null,true);
	addEvent('06/27/2010'	,"CWH to Hocking Hills Ohio","Hocking County Ohio",null,null,true);
// May 2010
	addEvent('05/14/2010'	,"Norco, CA Extreme Mustang Trail Challenge","Norco, CA",null,null,true);
	addEvent('05/15/2010'	,"Norco, CA Extreme Mustang Trail Challenge","Norco, CA",null,null,true);
	addEvent('05/16/2010'	,"Norco, CA Extreme Mustang Trail Challenge","Norco, CA",null,null,true);
	addEvent('05/22/2010'	,"CWH to Gettysburg, PA","Saddle Sisters too!",null,null,true);
	addEvent('05/23/2010'	,"CWH to Gettysburg, PA",null,null,null,true);
	addEvent('05/24/2010'	,"CWH to Gettysburg, PA",null,null,null,true);
	addEvent('05/25/2010'	,"CWH to Gettysburg, PA",null,null,null,true);
	addEvent('05/23/2010'	,"Saddle Sisters to Gettysburg","","images/SSLogo3RC.jpg","",true);
	addEvent('05/24/2010'	,"Saddle Sisters Ride Gettysburg","","images/SSLogo1RC.jpg","",true);
	addEvent('05/29/2010'	,"ACTHA Ride at Flying W Ranch","Tionesta, PA - Hosted by ClearViewRanch.net",null,"http://www.actha.us/index.php?option=com_association&view=guest&area=rides_events&task=find_ride&state=PA&sortby=date&max_show=50&ride_id=130",true);
	addEvent('05/31/2010'	,"Memorial Day","","images/JulyFourth2.gif","",true);
//April 2010
	addEvent('04/04/2010'	,"Easter","Hallelujah - He is risen.","images/EasterPic1.jpg",null,true);
	addEvent('04/08/2010'	,"Ohio Equine Affaire"	,"Columbus, OH",null,"http://www.equineaffaire.com/ohio/",true);
	addEvent('04/09/2010'	,"Ohio Equine Affaire"	,"Columbus, OH",null,"http://www.equineaffaire.com/ohio/",true);
	addEvent('04/10/2010'	,"Ohio Equine Affaire"	,"Columbus, OH",null,"http://www.equineaffaire.com/ohio/",true);
	addEvent('04/11/2010'	,"Ohio Equine Affaire"	,"Columbus, OH",null,"http://www.equineaffaire.com/ohio/",true);
	addEvent('04/21/2010'	,"CWH to Iron Mountain Horse Camp","Mt. Rogers National Rec Area, VA",null,"http://www.IronMountainHorseCamp.com",true);
	addEvent('04/22/2010'	,"CWH to Iron Mountain Horse Camp","Mt. Rogers National Rec Area, VA",null,"http://www.IronMountainHorseCamp.com",true);
	addEvent('04/23/2010'	,"CWH to Iron Mountain Horse Camp","Mt. Rogers National Rec Area, VA",null,"http://www.IronMountainHorseCamp.com",true);
	addEvent('04/24/2010'	,"CWH to Iron Mountain Horse Camp","Mt. Rogers National Rec Area, VA",null,"http://www.IronMountainHorseCamp.com",true);
	addEvent('04/25/2010'	,"CWH to Iron Mountain Horse Camp","Mt. Rogers National Rec Area, VA",null,"http://www.IronMountainHorseCamp.com",true);
	//addEvent('04/17/2010'	,"Midwest Horse Fair"	,"Madison, WI",null,"http://midwesthorsefair.com/",true);
	//addEvent('04/17/2010'	,"Midwest Mustang Challenge",	"Madison, WI",null,"http://midwesthorsefair.com/index.php?page=mustang",true);
	//addEvent('04/18/2010'	,"Midwest Horse Fair"	,	"Madison, WI",null,"http://midwesthorsefair.com/",true);
	//addEvent('04/18/2010'	,"Midwest Mustang Challenge",	"Madison, WI",null,"http://midwesthorsefair.com/index.php?page=mustang",true);
	//addEvent('04/19/2010'	,"Midwest Horse Fair"	,	"Madison, WI",null,"http://midwesthorsefair.com/",true);
	//addEvent('04/19/2010'	,"Midwest Mustang Challenge",	"Madison, WI",null,"http://midwesthorsefair.com/index.php?page=mustang",true);
	//addEvent('04/23/2010'	,"Houston TX Medical Conference","E&B to Houston, TX",null,null,true);
	//addEvent('04/24/2010'	,"Houston TX Medical Conference","E&B to Houston, TX",null,null,true);
	//addEvent('04/25/2010'	,"Houston TX Medical Conference","E&B to Houston, TX",null,null,true);
//March 2010
	addEvent('03/06/2010'	,"Road To The Horse","Tennessee Miller Coliseum - Murfreesboro, TN","Images/RTTH.jpg","http://www.roadtothehorse.com",true);
	addEvent('03/07/2010'	,"Road To The Horse","Tennessee Miller Coliseum - Murfreesboro, TN","Images/RTTH.jpg","http://www.roadtothehorse.com",true);

	//addEvent('03/19/2010'	,"Northwest Extreme Mustang Makeover","Northwest Horse Fair and Expo/Albany, 					OR",null,"http://www.extrememustangmakeover.com/northwestmakeover.php",true);
	//addEvent('03/20/2010'	,"Northwest Extreme Mustang Makeover","Northwest Horse Fair and Expo/Albany, 					OR",null,"http://www.extrememustangmakeover.com/northwestmakeover.php",true);
	//addEvent('03/21/2010'	,"Northwest Extreme Mustang Makeover","Northwest Horse Fair and Expo/Albany, 					OR",null,"http://www.extrememustangmakeover.com/northwestmakeover.php",true);

//February 2010
	addEvent('02/02/2010'	,"Ground Hog Day","Punxsutawnery Phil",	"images/groundhog.gif",	null,true);
	addEvent('02/14/2010'	,"Valentine's Day","Happy Valentine's Day","images/beatingheart.gif",null,true);
	addEvent('02/15/2010'	,"President's Day","President's Day","images/PresidentDay.gif",null,true);
	//addEvent('02/05/2010'	,"Equine Affaire West","Pomona, CA",null,"http://www.equineaffaire.com/california/index.html",true);
	//addEvent('02/06/2010'	,"Equine Affaire West","Pomona, CA",null,"http://www.equineaffaire.com/california/index.html",true);
	//addEvent('02/07/2010'	,"Equine Affaire West","Pomona, CA",null,"http://www.equineaffaire.com/california/index.html",true);
//January 2010
	addEvent('01/01/2010'	,"Happy New Year","2010","images/newyear.gif",null,true);
	//addEvent('01/05/2010'	,"Happy Birthday Karen","Happy 39","images/birthday3.gif",null,true);
	addEvent('01/22/2010'	,"Mustang Magic","Ft Worth Livestock Show & Rodeo/Ft Worth, TX",null,"http://www.extrememustangmakeover.com/themustangmagic.php",true);
	addEvent('01/23/2010'	,"Mustang Magic","Ft Worth Livestock Show & Rodeo/Ft Worth, TX",null,"http://www.extrememustangmakeover.com/themustangmagic.php",true);
//December 2009
	//addEvent('12/03/2009'	,"Happy Anniversary Bill & Mary Jane","How Many Years?","images/wedding1.gif",null,true);
	//addEvent('12/04/2009'	,"Farrier","6:00 PM","images/Anvil1.gif",null,true);
	//addEvent('12/06/2008'	,"Horse Teeth Floating","Dave Pieper @ 1:00 PM",null,null,true);
	//addEvent('12/15/2008'	,"Dr. Colaiacovoso","8:30","images/redcross.jpg",null,true);
	//addEvent('12/16/2009'	,"Happy Birthday Carl","Happy 39","images/birthday3.gif",null,true);
	//addEvent('12/25/2009'	,"Happy Birthday Jesus","Jesus Saves","images/crib.jpg",null,true);
	//addEvent('12/26/2009'	,"Happy Birthday Bill Fay","Happy 39","images/birthday3.gif",null,true);
	//addEvent('12/26/2009'	,"Happy Anniversary Greg & Amy","Happy 11th Anniversary","images/wedding1.gif",null,true);
	//addEvent('12/27/2009'	,"Happy Anniversary Bill & Elaine","Happy 1st Anniversary","images/wedding1.gif",null,true);
//November 2009
	//addEvent('11/06/2009'	,"Happy Birthday Cheryl","Happy 39","images/birthday3.gif",null,true);
	//addEvent('11/01/2008'	,"Wellsboro, PA","Thur - Mon","images/RunnngHorse.gif",null,true);
	//addEvent('11/02/2008'	,"Wellsboro, PA","Thur - Mon","images/RunningHorse2.gif",null,true);
	//addEvent('11/03/2008'	,"Wellsboro, PA","Thur - Mon","images/RunnngHorse.gif",null,true);
	//addEvent('11/11/2009'	,"Veterans Day","","images/F410.jpg","",true);

	//addEvent('11/17/2008'	,"Dentist","5:30 PM" ,null,null,true);
	//addEvent('11/21/2008'	,"E to Austin, TX",null ,null,null,true);
	//addEvent('11/22/2008'	,"E to Austin, TX",null ,"images/TexasLogo2.gif",null,true);
	//addEvent('11/23/2008'	,"E to Austin, TX",null ,null,null,true);
	//addEvent('11/26/2009'	,"Happy Thanksgiving",null,"images/dinner01.jpg",null,true);
	//addEvent('11/28/2008'	,"Pork McElhinny CD release Party - The Walston Club; Punsxutawney, PA","9:00 					PM",null,"http://www.wildwesttackpa.com",true);

//October 2009
//September 2009
	//addEvent('09/07/2009'	,"Happy Birthday Dave","Happy 39","images/birthday3.gif",null,true);
//August 2009
	//addEvent('08/01/2009'	,"Happy Birthday Geri",	"Happy 39","images/birthday3.gif",null,true);
	//addEvent('08/05/2009'	,"Happy Birthday Zoe","	10 Years Old","images/birthday3.gif",null,true);
//July 2009
	//addEvent('07/023/2009'	,"Flying W Ranch Pro Rodeo","Kelletville, PA","images/BuckingHorse3.jpg","http://www.TheFlyingWRanch.com/",true);
	//addEvent('07/024/2009'	,"Flying W Ranch Pro Rodeo","Kelletville, PA","images/BuckingHorse3.jpg","http://www.TheFlyingWRanch.com/",true);
	//addEvent('07/025/2009'	,"Flying W Ranch Pro Rodeo","Kelletville, PA","images/BuckingHorse3.jpg","http://www.TheFlyingWRanch.com/",true);
	//addEvent('07/026/2009'	,"Flying W Ranch Pro Rodeo","Kelletville, PA","images/BuckingHorse3.jpg","http://www.TheFlyingWRanch.com/",true);
//June 2009
	//addEvent('06/06/2009'	,"Hilliards Ride","V.D.S.S.A.","images/TrailRide2.jpg",null,true);
	//addEvent('06/07/2009'	,"Hilliards Ride","V.D.S.S.A.","images/TrailRide2.jpg",null,true);
	//addEvent('06/18/2009'	,"Happy Birthday Rayna Lee Ann F.","13 Years Old","images/birthday3.gif",null,true);
	//addEvent('06/24/2009'	,"Happy Birthday Elaine","Happy 39","images/birthday7.gif",null,true);
//May 2009
	//addEvent('05/30/2009'	,"Happy Birthday Diana","Happy 39","images/birthday3.gif",null,true);
//April 2009
	//addEvent('04/02/2009'	,"Ohio Equine Affaire","Columbus, OH",null,"http://www.equineaffaire.com/ohio/",true);
	//addEvent('04/03/2009'	,"Ohio Equine Affaire","Columbus, OH",null,"http://www.equineaffaire.com/ohio/",true);
	//addEvent('04/04/2009'	,"Ohio Equine Affaire","Columbus, OH",null,"http://www.equineaffaire.com/ohio/",true);
	//addEvent('04/05/2009'	,"Ohio Equine Affaire","Columbus, OH",null,"http://www.equineaffaire.com/ohio/",true);
	//addEvent('04/17/2009'	,"Midwest Horse Fair","Madison, WI",null,"http://midwesthorsefair.com/",true);
	//addEvent('04/17/2009'	,"Midwest Mustang Challenge","Madison, WI",null,"http://midwesthorsefair.com/index.php?page=mustang",true);
	//addEvent('04/18/2009'	,"Midwest Horse Fair","Madison, WI",null,"http://midwesthorsefair.com/",true);
	//addEvent('04/18/2009'	,"Midwest Mustang Challenge","Madison, WI",null,"http://midwesthorsefair.com/index.php?page=mustang",true);
	//addEvent('04/19/2009'	,"Midwest Horse Fair","Madison, WI",null,"http://midwesthorsefair.com/",true);
	//addEvent('04/19/2009'	,"Midwest Mustang Challenge","Madison, WI",null,"http://midwesthorsefair.com/index.php?page=mustang",true);
	//addEvent('04/23/2009'	,"Houston TX Medical Conference","E&B to Houston, TX",null,null,true);
	//addEvent('04/24/2009'	,"Houston TX Medical Conference","E&B to Houston, TX",null,null,true);
	//addEvent('04/25/2009'	,"Houston TX Medical Conference","E&B to Houston, TX",null,null,true);
//March 2009

//February 2009
	//addEvent('02/02/2009'	,"Ground Hog Day","Punxsutawnery Phil","images/groundhog.gif",	null,true);
	//addEvent('02/23/2009'	,"South Carolina Trail Ride","Not Really",null,null,true);
	//addEvent('02/24/2009'	,"South Carolina Trail Ride","Not Really",null,null,true);
	//addEvent('02/25/2009'	,"South Carolina Trail Ride","Not Really",null,null,true);
	//addEvent('02/26/2009'	,"South Carolina Trail Ride","Not Really",null,null,true);
	//addEvent('02/27/2009'	,"South Carolina Trail Ride","Not Really",null,null,true);
//January 2009
	addEvent('01/01/2009'	,"Happy New Year","2009","images/newyear.gif",null,true);
	addEvent('01/05/2009'	,"Happy Birthday Karen","Happy 39","images/birthday3.gif",null,true);
//December 2008
	addEvent('12/03/2008'	,"Happy Anniversary Bill & Mary Jane","How Many Years?","images/wedding1.gif",null,true);
	addEvent('12/04/2008'	,"Farrier","6:00 PM","images/Anvil1.gif",null,true);
	addEvent('12/06/2008'	,"Horse Teeth Floating","Dave Pieper @ 1:00 PM",null,null,true);
	addEvent('12/15/2008'	,"Dr. Colaiacovoso","8:30","images/redcross.jpg",null,true);
	addEvent('12/25/2008'	,"Happy Birthday Jesus","Jesus Saves","images/crib.jpg",null,true);
//November 2008
	addEvent('11/01/2008'	,"Wellsboro, PA","Thur - Mon","images/RunnngHorse.gif",null,true);
	addEvent('11/02/2008'	,"Wellsboro, PA","Thur - Mon","images/RunningHorse2.gif",null,true);
	addEvent('11/03/2008'	,"Wellsboro, PA","Thur - Mon","images/RunnngHorse.gif",null,true);
	addEvent('11/06/2008'	,"Happy Birthday Sheryl","Happy 39","images/birthday3.gif",null,true);
	addEvent('11/17/2008'	,"Dentist","5:30 PM" ,null,null,true);
	addEvent('11/21/2008'	,"E to Austin, TX",null ,null,null,true);
	addEvent('11/22/2008'	,"E to Austin, TX",null ,"images/TexasLogo2.gif",null,true);
	addEvent('11/23/2008'	,"E to Austin, TX",null ,null,null,true);
	addEvent('11/27/2008'	,"Happy Thanksgiving",null,"images/dinner01.jpg",null,true);
	addEvent('11/28/2008'	,"Pork McElhinny CD release Party - The Walston Club; Punsxutawney, PA","9:00 PM",null,"http://www.wildwesttackpa.com",true);
/*	
	addEvent('mm/dd/yyyy',
				"Description"	,
					null	,
					null	,
					htmlRoot + "path/filename", 
					false);
*/


	
}


// Calendar and Event Logic
function getEvents(eventKey){
	rtnStr = "";
	if (eventHashTable[eventKey] != null){
		rtnStr += eventHashTable[eventKey].listEvents();
		rtnStr = rtnStr.replace('eventKey_',eventKey + '_');
	}
	return rtnStr;
}

//EVENT KEY = MM-DD-YYYY
function getSpecialEvents(eventKey){
//postDebugMsg("getSpecialEvents()::"+eventKey);	  
	rtnStr = "";
	if (eventHashTable[eventKey] != null){
		rtnStr += eventHashTable[eventKey].listSpecialEvents();
		rtnStr = rtnStr.replace('eventKey_',eventKey + '_');
	} 
	//postDebugMsg("getSpecialEvents()::returning string:: " + rtnStr);	  
	
	return rtnStr;
}

function addEvent(date,desc,tip,image,hlink,specialEventIndic){
	eventDate = new Date(date);
	eventDay = eventDate.getDate();
	//EVENT KEY = MM-DD-YYYY
	eventKey = (eventDate.getMonth() + 1) + '-' + (eventDate.getDate()) + '-' + eventDate.getFullYear();
	daysEvents = eventHashTable[eventKey];
	if (daysEvents == null){
		eventHashTable[eventKey] = new daysEvent();
	}
	eventHashTable[eventKey].appendEvent(desc,tip,image,hlink,specialEventIndic);
}
//
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> daysEvent object
function daysEvent(){
	this.events = new Array();
	//methods
	this.appendEvent = appendEvent;
	this.listEvents = listEvents;
	this.listSpecialEvents = listSpecialEvents;
}
function appendEvent(desc,tip,image,hlink,specialEventIndic){
	len = this.events.length;
	this.events[len] = new Event(desc,tip,image,hlink,specialEventIndic);
}
function listEvents(){
	rtnStr = '';
	for(i=0;i<this.events.length;i++){
		rtnStr += '<br>' ;
		rtnStr += this.events[i].buildEventAnchor();
		rtnStr = rtnStr.replace('eventKey_i','eventKey_' + i);
		rtnStr += '<br>';
	}
	
	return rtnStr;
}
function listSpecialEvents(){
	rtnStr = '';
	j=0;
	for(i=0;i<this.events.length;i++){
		if (this.events[i].isSpecialEvent()){
			if(j>0) 
			   rtnStr += "<br>";
			rtnStr += this.events[i].buildEventAnchor();
			rtnStr = rtnStr.replace('eventKey_i','eventKey_' + i);
			//rtnStr += '<br>';
			j++;
		} 
	
	}
	//postDebugMsg("listSpecialEvents()::returning anchors" + rtnStr);	  
	
	return rtnStr;
}
//---------------------------- end days Events
	
//>>>>>>>>>>>>>>>>>>>>>>>>>>>> Event object

function Event(desc, tip, icon, hlink,sei){
	this.desc = desc;
	this.toolTip = tip;
	this.imageIcon = icon;
	this.hlink=hlink;
	this.specialEventIndic=sei;
	//methods for this object
	this.buildEventAnchor = buildEventAnchor;
	this.isSpecialEvent = isSpecialEvent;
}


function buildEventAnchor() {
	htmlStr = '';	
	if (this.imageIcon != null){
		htmlStr += '<IMG src="' + this.imageIcon + '">';
	}
	htmlStr += '<A ';
	if (this.hlink != null){
		htmlStr += ' href="'+this.hlink + '"';
	}else{
		htmlStr += ' name="eventKey_i" ';
	}
	
	if (this.toolTip != null){
			htmlStr += ' Title="' + this.toolTip + '"';
			if (this.hlink == null) {
				htmlStr += ' style="cursor:hand;color:red" ';
			}
	}	
	htmlStr += '>';
	htmlStr += this.desc;
	htmlStr += '</A>';
	return htmlStr;
}	


function isSpecialEvent(){
	//postDebugMsg("isSpecialEvent()::"+this.desc+"::"+this.specialEventIndic);	
	if (this.specialEventIndic!=null){
	  return this.specialEventIndic == true;
	}else
	  return false;
}

	
// --------------------------------end event object

