flag = expired("20080101","20080115")
if (flag==1) {
	//<![CDATA[
	// define resource for the button
	var res = new QButtonRes(QButton.NORMAL, 46, 29, "images/btn2n.gif","images/btn2p.gif", "images/btn2d.gif");
	// this function handles the button clicks
	function button_click() {
		this.parent.show(false);
		}
	// content function
      function content() {
		with(this.document) {
		write('<table border="1" width="375" bgcolor="#000080" cellspacing="0" cellpadding="2">');
		write('<tr><td bgcolor="Yellow"><center><font size="5" face="arial" Color="Blue">');

		write('<b>South Street Fundraiser Night! ! !</b>');

		write('</font></center></td></tr><tr><td bgcolor="white"><font size="2">');
		write('<center>');

		write('<b>November 22th, 2008 from 4PM to 9PM</b><br>');
		write('Enjoy killer food with your family and friends while raising money for our Pack 225 Scouts!<br>');
		write('IMPORTANT! Present <a target="_blank" href="http://www.pack225.com/forms/Flyer - South Street.pdf"><b>this flyer when ordering</b></a>');

		write('</center></font>');
		write('</td></tr></table><b>Click ');
		this.btn = new QButton(this, "btn", res);
		this.btn.onClick = button_click;
		write(" To close</b><br>");
          }
      }
	// create windows
	var W1 = new QWindow(null, "W1", 100, 100, 400, null, content);
	//]]>
}

flag = expired("20071013","20071026")
if (flag==1) {
	//<![CDATA[
	// define resource for the button
	var res1 = new QButtonRes(QButton.NORMAL, 46, 29, "images/btn2n.gif","images/btn2p.gif", "images/btn2d.gif");
	// this function handles the button clicks
	function button_click1() {
		this.parent.show(false);
		}
	// content function
      function content1() {
		with(this.document) {
		write('<table border="1" width="375" bgcolor="#000080" cellspacing="0" cellpadding="2">');
		write('<tr><td bgcolor="Yellow"><center><font size="5" face="arial" Color="Blue">');
		write('<b>Pack T-Shirts! !</b>');

		write('</font></center></td></tr><tr><td bgcolor="white"><font size="2">');
		write('<center>');

		write('The Pack 225 T-Shirts have finally arrived, and I need your help in distributing them');
		write(' to your scouts so they can wear them to Cub-On<br>! ! yes, its a mad rush ! !<br>');
		write('I literally just picked them up and will sort them out tonite according to dens.');
		write('If you can please make arrangements to pick up your den shirts at my home tomorrow');
		write(' (Wednesday) evening between 6:00 pm and 8:00 pm, or call/email me if you cannot come');
		write(' we will make drop-off arrangements for Thursday night.<br>');
		write(' Remember, however, Thursday is the family picnic for Jefferson.<br>');
		write('Please email/call me if you will be coming, so I will know to wait for you--');
		write(' if I don"t hear from you I"ll assume you will not be coming.');
		write('<br>PS: Hoodie Sweatshirts are NOT ready yet, they will be next week');
		write('<br>Thank you, mjennings001@yahoo.com');

		write('</center></font>');
		write('</td></tr></table><b>Click ');
		this.btn1 = new QButton(this, "btn1", res1);
		this.btn1.onClick = button_click1;
		write(" To close</b><br>");
          }
      }
	// create windows
	var W2 = new QWindow(null, "W2", 100, 250, 400, null, content1);
	//]]>
}

