function expCheck() {
var today = new Date(); // today
var date = new Date("October 19, 2009"); // the day after the event

if (today.getTime() > date.getTime()) { // after expirationt date
document.write('');
}
else { // before expiration date

document.write("<table>");
document.write("<tr>");
document.write("<td width='100%'>");
document.write("<img src='images/giftrk1.gif' width='2' height='28' border='0' alt='spacer'><br>");
document.write("<table width='100%' border='1' cellspacing='0' cellpadding='10'>");
document.write("<tr bgcolor='#ffffff'>");
document.write("<td><span class='BodyText'>Event</span></td>");
document.write("<td width='100%'><span class='MainHead'>Special Worship service featuring Rev. Lillian Smith, Council Director of the Eastern Pa Conf. of the UMC.  </span></td>");
document.write("</tr>");
document.write("<tr bgcolor='#ffffff'>");
document.write("<td><span class='BodyText'>When</span></td>");
document.write("<td width='100%'><span class='BodyText'><b>Sunday, October 18, 2009, 11:00 a.m. - 12:30 p.m.</b></span></td>");
document.write("</tr>");
document.write("<tr bgcolor='#ffffff'>");
document.write("<td><span class='BodyText'>Where</span></td>");
document.write("<td width='100%'><span class='BodyText'><b>Sanctuary</b></span><br><span class='BodyText'>Parking is available in the Lansdowne municipal lot (free on Sundays) and on Lansdowne, Stratford, Stewart, and Owen avenues. </span><a href='direct.html#lot' class='BodyText'>View&nbsp;it&nbsp;on&nbsp;the&nbsp;map</a></td>");
document.write("</tr>");
document.write("<tr bgcolor='#ffffff'>");
document.write("<td><a class='BodyText'>Details</a></td>");
document.write("<td width='100%'><span class='BodyText'>Special Worship service featuring Rev. Lillian Smith, Council Director of the Eastern Pa Conf. of the UMC.<br><img src='images/giftrk1.gif' alt='' width='1' height='8' border='0'><br>Lillian will preach and bring us good news of the workings and blessings across our An. Conf. Following worship, we hope to have either a church-wide potluck or more sophisticated fund-raising luncheon. If interested in helping to pull together something for this date, please talk to Pastor Tim<br><img src='images/giftrk1.gif' alt='' width='1' height='8' border='0'><br>Call the church office for more details at (610)623-1645.</td>");
document.write("</tr>");
document.write("</table>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
	}
}
expCheck();
