 var Home_Logo = 'images/homepage/homelogo.gif';
 var Cha_Logo = "/images/pages/logo.gif";
 var Dir_Logo = "/images/pages/logo.gif";
 var Lan_Logo = "/images/pages/logo.gif";
 var Rel_Logo = "/images/pages/logo.gif";
 var Date_Out = ""

 function GetDate() {
 lcalendar = new Date();
 lday = lcalendar.getDay();
 lmonth = lcalendar.getMonth();
 ldate = lcalendar.getDate();
 lyear = lcalendar.getYear();
 lhours = lcalendar.getHours();
 if (lyear < 1000)
 lyear+=1900
 cent = parseInt(lyear/100);
 g = lyear % 19;
 k = parseInt((cent - 17)/25);
 i = (cent - parseInt(cent/4) - parseInt((cent - k)/3) + 19*g + 15) % 30;
 i = i - parseInt(i/28)*(1 - parseInt(i/28)*parseInt(29/(i+1))*parseInt((21-g)/11));
 j = (lyear + parseInt(lyear/4) + i + 2 - cent + parseInt(cent/4)) % 7;
 l = i - j;
 emonth = 3 + parseInt((l + 40)/44);
 edate = l + 28 - 31*parseInt((emonth/4));
 emonth--;
 var todayname = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
 var thismonthname = 
 new Array ("January","February","March","April","May","June","July","August","September","October","November","December" );
 Date_Out = Date_Out + todayname[lday] + ", " + thismonthname[lmonth] + " ";
 if (ldate< 10) Date_Out = Date_Out + "0" + ldate + ", ";
         else Date_Out = Date_Out + ldate + ", ";
 Date_Out = Date_Out + lyear;

/* M Wolfe - Not condusive to site at this time
Date_Out = Date_Out + "<span class=mrheader>";
 // Easter
 if ((lmonth == emonth) && (ldate == edate)) Date_Out = Date_Out + "<br>Easter Sunday";
 // January
 if ((lmonth == 0) && (ldate == 1)) Date_Out = Date_Out + "<br>New Year's Day";
 if ((lmonth == 0) && (lday == 1) && (ldate > 14) && (ldate< 22)) Date_Out = Date_Out + "<br>Martin Luther King Jr. Day";
 // February
 if ((lmonth == 1) && (ldate == 2)) Date_Out = Date_Out + "<br>Groundhog Day";
 if ((lmonth == 1) && (ldate== 12)) Date_Out = Date_Out + "<br>Lincoln's Birthday";
 if ((lmonth == 1) && (ldate == 14)) Date_Out = Date_Out + "<br>St. Valentine's Day";
 if ((lmonth == 1) && (ldate == 22)) Date_Out = Date_Out + "<br>Washington's Birthday";
 if ((lmonth == 1) && (lday == 1) && (ldate > 14) && (ldate< 22)) Date_Out = Date_Out + "<br>Presidents' Day";
 if ((lmonth == 1) && (ldate == 29)) Date_Out = Date_Out + "<br>Leap Day";
 // March
 if ((lmonth == 2) && (ldate == 17)) Date_Out = Date_Out + "<br>St. Patrick's Day";
 if ((lmonth == 2) && (ldate == 21)) Date_Out = Date_Out + "<br>Vernal Equinox";
 // April
 if ((lmonth == 3) && (ldate == 1)) Date_Out = Date_Out + "<br>April Fools' Day";
 if ((lmonth == 3) && (ldate == 15) && (lday != 0)) Date_Out = Date_Out + "<br>Income Tax Day";
 if ((lmonth == 3) && (ldate == 16) && (lday == 1)) Date_Out = Date_Out + "<br>Income Tax Day";
 if ((lmonth == 3) && (ldate == 22)) Date_Out = Date_Out + "<br>Earth Day";
 if ((lmonth == 3) && (lday == 0) && (ldate > 0) && (ldate< 8)) Date_Out = Date_Out + "<br>Daylight Savings Time Begins";
 // May
 if ((lmonth == 4) && (lday == 0) && (ldate > 7) && (ldate< 16)) Date_Out = Date_Out + "<br>Mother's Day";
 if ((lmonth == 4) && (lday == 1) && (ldate > 24)) Date_Out = Date_Out + "<br>Memorial Day";
 // June
 if ((lmonth == 5) && (ldate == 6)) Date_Out = Date_Out + "<br>D-Day";
 if ((lmonth == 5) && (ldate == 14)) Date_Out = Date_Out + "<br>Flag Day";
 if ((lmonth == 5) && (ldate == 21)) Date_Out = Date_Out + "<br>Summer Solstice";
 if ((lmonth == 5) && (lday == 0) && (ldate > 15) && (ldate< 24)) Date_Out = Date_Out + "<br>Father's Day";
 // July
 if ((lmonth == 6) && (ldate == 4)) dDate_Out = Date_Out + "<br>Independence Day";
 // August
 // September
 if ((lmonth == 8) && (lday== 1)&& (ldate > 0) && (ldate< 8)) Date_Out = Date_Out + "<br>Labor Day";
 if ((lmonth == 8) && (ldate == 22)) Date_Out = Date_Out + "<br>Autumnal Equinox";
 // October
 if ((lmonth == 9) && (ldate == 1)) Date_Out = Date_Out + "<br>German Reunufication (1990)";
 if ((lmonth == 9) && (lday == 1) && (ldate > 7) && (ldate< 16)) Date_Out = Date_Out + "<br>Columbus Day";
 if ((lmonth == 9) && (lday == 0) && (ldate > 24) && (ldate< 31)) Date_Out = Date_Out + "<br>Daylight Savings Time Ends";
 if ((lmonth == 9) && (lday == 0) && (ldate == 31)) Date_Out = Date_Out + "<br>Daylight Savings Time Ends";
 if ((lmonth == 9) && (ldate == 24)) Date_Out = Date_Out + "<br>United Nations Day";
 if ((lmonth == 9) && (ldate == 31)) {
	 Date_Out = Date_Out + "<br>Halloween";
	 Home_Logo = "images/homepage/homelogo_HALLOWEEN.gif";
	 Cha_Logo = "/images/pages/logo_ghost.gif";
	 Dir_Logo = "/images/pages/logo_hauntedhouse.gif";
	 Lan_Logo = "/images/pages/logo_pumpkin.gif";
	 Rel_Logo = "/images/pages/logo_bat.gif";
 	}
 // November
 if ((lmonth == 10) && (ldate == 1)) Date_Out = Date_Out + "<br>All Saints Day";
 if ((lmonth == 10) && (ldate == 2)) Date_Out = Date_Out + "<br>All Souls Day";
 if ((lmonth == 10) && (ldate == 11)) Date_Out = Date_Out + "<br>Veterans' Day";
 if ((lmonth == 10) && (lday == 4) && (ldate > 21) && (ldate< 28)) Date_Out = Date_Out + "<br>Thanksgiving";
 if ((lmonth == 10) && (ldate == 28) && (lday == 4)) Date_Out = Date_Out + "<br>Thanksgiving";
 // Chanukah
 // 2004
 if ((lyear == 2004) && (lmonth == 11) && (ldate == 8) && (hours > 17)) Date_Out = Date_Out + "<br>Chanukah";
 if ((lyear == 2004) && (lmonth == 11) && (ldate > 8) && (ldate < 15)) Date_Out = Date_Out + "<br>Chanukah";
 if ((lyear == 2004) && (lmonth == 11) && (ldate == 15) && (hours < 19)) Date_Out = Date_Out + "<br>Chanukah";
 // 2005
 if ((lyear == 2005) && (lmonth == 11) && (ldate == 24) && (hours > 17)) Date_Out = Date_Out + "<br>Chanukah";
 if ((lyear == 2005) && (lmonth == 11) && (ldate > 24) && (ldate < 32)) Date_Out = Date_Out + "<br>Chanukah";
 if ((lyear == 2006) && (lmonth == 0) && (ldate == 1) && (hours < 19)) Date_Out = Date_Out + "<br>Chanukah";
 // 2006
 if ((lyear == 2006) && (lmonth == 11) && (ldate == 14) && (hours > 17)) Date_Out = Date_Out + "<br>Chanukah";
 if ((lyear == 2006) && (lmonth == 11) && (ldate > 14) && (ldate < 22)) Date_Out = Date_Out + "<br>Chanukah";
 if ((lyear == 2006) && (lmonth == 11) && (ldate == 22) && (hours < 19)) Date_Out = Date_Out + "<br>Chanukah";
  // 2007
 /* mab if ((lyear == 2007) && (lmonth == 11) && (ldate == 3) && (hours > 17)) Date_Out = Date_Out + "<br>Chanukah";
 // mab if ((lyear == 2007) && (lmonth == 11) && (ldate > 3) && (ldate < 11)) Date_Out = Date_Out + "<br>Chanukah";
 // mab if ((lyear == 2007) && (lmonth == 11) && (ldate == 11) && (hours < 19)) Date_Out = Date_Out + "<br>Chanukah";
 // December
 // mab if ((lmonth == 11) && (ldate == 10)) Date_Out = Date_Out + "<br>Human Rights Day";
 // mab if ((lmonth == 11) && (ldate == 21)) Date_Out = Date_Out + "<br>Winter Solstice";
 // mabif ((lmonth == 11) && (ldate == 24)) {
//	 Date_Out = Date_Out + "<br>Christmas Eve";
//	 Home_Logo = "images/homepage/homelogo_XMAS.gif";
//	 Cha_Logo = "/images/pages/logo_XMAS.gif";
//	 Dir_Logo = "/images/pages/logo_XMAS.gif";
//	 Lan_Logo = "/images/pages/logo_XMAS.gif";
//	 Rel_Logo = "/images/pages/logo_XMAS.gif";
 //    }
 if ((lmonth == 11) && (ldate == 25)) {
 	 Date_Out = Date_Out + "<br>Christmas";
	 Home_Logo = "images/homepage/homelogo_XMAS.gif";
	 Cha_Logo = "/images/pages/logo_XMAS.gif";
	 Dir_Logo = "/images/pages/logo_XMAS.gif";
	 Lan_Logo = "/images/pages/logo_XMAS.gif";
	 Rel_Logo = "/images/pages/logo_XMAS.gif";
     }
 if ((lmonth == 11) && (ldate == 26)) Date_Out = Date_Out + "<br>Boxing Day";
 if ((lmonth == 11) && (ldate == 31)) Date_Out = Date_Out + "<br>New Year's Eve";
 Date_Out = Date_Out + "</span>";
 */
 }
 
 function WriteDate()
 {
 GetDate()
 document.write(Date_Out)
 }
 
 function SwapLogo(Section)
 {
/* if (Section=="Home")
	{
	document.getElementById("homelogo").src = Home_Logo;
	}
 else if (Section=="Chamber")
	{
	//GetDate();
	//document.getElementById("logo").src = Cha_Logo;
	}
 else if (Section=="Directory")
	{
	GetDate();
	document.getElementById("logo").src = Dir_Logo;
	}
 else if (Section=="Lancaster")
	{
	GetDate();
	document.getElementById("logo").src = Lan_Logo;
	}
 else if (Section=="Relocate")
	{
	GetDate();
	document.getElementById("logo").src = Rel_Logo;
	}
*/
 }