function expCheck() {
var today = new Date(); // today
var date = new Date("November 14, 2010"); // 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'>Holiday Bazaar</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>Saturday, November 13, 2010, 9:00a.m. – 3:00p.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>Social Hall, Library, Joy Room</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='directions.html' 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'>The public is invited to The Garden Church Holiday Bazaar.<br><img src='images/giftrk1.gif' alt='' width='1' height='8' border='0'><br>It will feature many traditional items like crafts, quilts, Christmas décor, books, plants, nearly new and many yard sale type items<br><img src='images/giftrk1.gif' alt='' width='1' height='8' border='0'><br>There will also be lots of food available including a luncheon of hot dogs, chili, soup, desserts, shrimp, baked goods and Nelson’s Chicken & Ribs. Join us and bring friends!</td>");
document.write("</tr>");
document.write("</table>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
	}
}
expCheck();

