

topNoteHtml = ""


shortStuff = getShortHappenings()
nowTime = new Date()

if(shortStuff.length > 0)
{

	for(i=0;i<shortStuff.length;i++)
	{
		if(nowTime < shortStuff[i].endDt)
		{
			topNoteHtml += "<span class=\"biggreenTitle\"><u>" + shortStuff[i].title + "</u></span><br>"
			topNoteHtml += shortStuff[i].html + "<br>"
		}
	}
	

}



topNoteHtml += "<span style=\"font-weight: bold\"><span class=\"needspace\"><dl>"

topNoteHtml += "<span class=\"bigorangeTitle\">" + "Family Room Specials</span><br>"



specialStuff = getSpecialHappenings()
//  Stuff from 'database' below

for(i=0;i<specialStuff.length;i++)
{

	if(nowTime < specialStuff[i].endDt && nowTime >= specialStuff[i].beginDt)
	{
		topNoteHtml += "<dt><font size=+1 color=#ffb218><u>" + specialStuff[i].title + "</u></font></dt>"
		topNoteHtml += "<dd>" + specialStuff[i].html + "</dd>"
	}


}



topNoteHtml += "<dt><font size=+1 color=#ffb218><u>BABYSITTING SERVICE</u></font></dt>"
  + "<dd>Our signature Movie Night Fridays includes optional babysitting."
  + "  Let us arrange babysitting for your child so you can enjoy your Friday night on the town."
  + " A simple dinner on the vibrant Barrack's Row, or a few hours to yourself on Friday night; while your child"
  + " will be enjoying a fine movie with dinner and popcorn."
  + "<br>Price:$35 for your first child 2 years and older, $10 for each additional child"
  + "(includes dinner and childcare 5 - 8 pm)"
  + "<br>Reservations are accepted but not required.  Capacity is limited."
  + "  To reserve your child's spot or for more info call us at 202-640-1865.</dd>"


  + "<dt><font size=+1 color=#ffb218><u>Let's Party!</u></font></dt>"
  + "<dd>The Family Room is a GREAT place to hold your next PARTY!"
  + "  Leave the clean-up to us.  In fact, leave everything to us.  We can provide for the menu, activities, and entertainment."
  + "  Or, we can just provide the space for your celebration or gathering."
  + "<br/>  Call 202-640-1865 or click <a href=\"./partyinfo.html\">here</a> for details and to set your date.</dd>"  
  
  
  + "<dt><font size=+1 color=#ffb218><u>RESULTS Gym Member Discount</u></font></dt>"
  + "<dd>TFR participates in the Results member discount program.  Results members receive a 5%"
  + " discount on their membership."
  + "</dd>"

  + "</dl>"

  

  + "</span></span>"

//topNoteHtml += "</span>"

eventNoteHtml= "<div style=\"OL{ list-style-type: decimal }\">"

eventNoteHtml += "<ol>"




eventNoteHtml += "<li>"
eventNoteHtml += "<img src =\"./images/movienight.gif\">"
eventNoteHtml += "<font size=+2>MOVIE NIGHT FRIDAYS</font>"
eventNoteHtml += "<br>Come enjoy pizza and flicks with us as we show some of "
eventNoteHtml += "the most popular kids titles of today and yesterday."
eventNoteHtml += "&nbsp;&nbsp;Movies are Fridays at 6:30."
eventNoteHtml += "  Movies are FREE w/ admission (popcorn, drinks, and dinner are extra).  Check our <a href = \"./classes/movinite.asp\">movie schedule</a>"
eventNoteHtml += " for titles and sign up early for discount on dinner." 
eventNoteHtml += "</li>"


eventNoteHtml += "<li>"

eventNoteHtml += "<a href=\"http://www.thefamilyroomdc.com/kmfamrm_fall08.html\" target=\"_blank\"><img src=\"./images/kilogo.gif\" alt=Kindermusik></a><font color=green>"

eventNoteHtml += " is back for another exciting season beginning January 7, 2010.</font>"
eventNoteHtml += "<br>Click <a href=\"http://www.thefamilyroomdc.com/classes/kminfo.asp\" target=\"_blank\">here for Fall/Winter Kindermusik</a>"
eventNoteHtml += " offerings and prices."
eventNoteHtml += "<br>Note that your first Kindermusik class is <b>FREE</b>; each additional demo class is $8 per child."
eventNoteHtml += "<br>Email <u>music@thefamilyroomdc.com</u> or call for more info."

eventNoteHtml += "</li>"

eventNoteHtml += "<li>"
eventNoteHtml += "Our Products<br>"
eventNoteHtml += "<img src=\"./images/ella-roo-logosml.gif\" alt=EllaRoo> Baby Carriers, children's CD's, dolls, instruments, and other products now on sale"
eventNoteHtml += " at the Family Room.  Come see our selection."
eventNoteHtml += "</li>"



eventNoteHtml += "</ol>" 

eventNoteHtml += "</div>"
//eventNoteHtml=null



function getShortHappenings()
{

	var happenings = new Array()

//Party Closing
	var hapStr = "The Family Room will be CLOSED Saturday Jan. 9, 2010 3:30 to close."
	+ "<br>Please contact us about renting out the Family Room for your next event."
	

happening = new HappeningItem(new Date("1/2/2010"), new Date("1/10/2010"), "PARTY CLOSING",
   hapStr)


	happenings[happenings.length] = happening


/*
//T-giving 2009
happening = new HappeningItem(new Date("11/20/2009"), new Date("11/28/2009"), "HOLIDAY CLOSING",
   "The Family Room will be <u>closed</u> Thursday and Friday Nov 26 and 27 for THANKSGIVING<br> We here at The Family Room wish you all safe travels and a great Thanksgiving.<br>The Family Room will reopen at 9:00 Saturday November 28 for normal business.")


	happenings[happenings.length] = happening

var hapStr = "<table><tr><td><img src=\"images/tonybubbles.jpg\" border=0></td><td>Come experience the amazing story telling of Capitol Hill's own Mr. Tony."
hapStr += "  Children and their parents will be taken away to the amazing fantasy land Mr. Tony creates through books, songs and bubbles."

  hapStr += " <br>Story times with Mr. Tony are scheduled for the following Sundays @ 3:30"

hapStr += "<table class=\"biggreenTitle\"><tr><td>October 11</td></tr><tr><td>November 15</td></tr><tr><td>December 6</td></tr></table>"
hapStr += "</td></tr></table>"
hapStr += "Please come by for what will be an exciting, fun-filled story time."


var nowTime = new Date()
happening = new HappeningItem(new Date("9/1/2009"), new Date("12/7/2009"), "STORYTIME with MR. TONY",
   hapStr)



//Labor Day 2009
happening = new HappeningItem(new Date("9/1/2009"), new Date("9/7/2009"), "HOLIDAY CLOSING",
   "The Family Room will be <u>closed</u> Sunday September 6 and Monday September 7 for LABOR DAY<br> The Family Room will open at 9:00 Tuesday September 8 for normal business.<br>Enjoy the holiday!")


	happenings[happenings.length] = happening




//Xmas 2009
happening = new HappeningItem(new Date("12/1/2009"), new Date("1/3/2010"), "HOLIDAY HOURS",
   "The Family Room will be changing normal operating hours during this holiday season to the following:<br>Dec 24th <u>9AM - 2PM</u><br>Dec 25th <u>CLOSED</u><br>Dec 31st <u>9AM - 1:30PM, then reopen at 3PM for our New Years Eve Party</u><br>Jan 1 <u>CLOSED</u><br>Enjoy the holidays!")


happenings[happenings.length] = happening



happening = new HappeningItem(new Date("12/1/2009"), new Date("1/2/2010"), "New Year's Eve Party",
   "<img src=\"images/NewYear09.gif\"/>")


	


happenings[happenings.length] = happening





//Snow 2010
	hapStr = "Due to weather conditions, The Family Room will be open Saturday Feb. 6 12 noon - 4:00." 
  	 + "<br>Please call us for any info, or if you'd like to come after 4:00. 202-640-1865."

happening = new HappeningItem(new Date("2/1/2010"), new Date("2/8/2010"), "LET IT SNOW...",
   hapStr)


	happenings[happenings.length] = happening

//Memorial Day 2010
happening = new HappeningItem(new Date("5/30/2010"), new Date("6/1/2010"), "HOLIDAY CLOSING",
   "The Family Room will be <u>closed</u> Monday May 31st, 2010 for MEMORIAL DAY<br> The Family Room will open at 9:00 Tuesday June 1st for normal business.<br>Enjoy the beginning of Summer!")


	happenings[happenings.length] = happening
*/


//Hours change 8/2010
	var hapStr = "The Family Room will open on Saturdays at 10:00 AM."
	+  "<br/>The closing time will remain the same depending on the time of year.  Please check the bottom of this page or"
	+  " call 202-640-1865."
	happening = new HappeningItem(new Date("8/13/2010"), new Date("9/10/2010"), "New Saturday Hours",
   hapStr)


	happenings[happenings.length] = happening




	return happenings



}


function getSpecialHappenings()
{

	happenings = new Array()



//Fall Kindermusik2009
	var hapStr = "Our ever popular Kindermusik classes have been scheduled for the Fall/Winter sessions." 
  	 + "<br>Click <a href=\"http://www.thefamilyroomdc.com/classes/kminfo.asp\" target=\"_blank\">here for latest Kindermusik</a>"
  + " offerings and prices."
	+ "<br>Note that your first Kindermusik class is <b>FREE</b>; each additional demo class is $8 per child."
	+ "<br>Email <u>music@thefamilyroomdc.com</u> or call for more info."

happening = new HappeningItem(new Date("12/1/2009"), new Date("2/7/2010"), "Winter/Spring Kindermusik Class",
   hapStr)


//	happenings[happenings.length] = happening


//CPR 7/2010
	var hapStr = "Ever wanted to learn <h1>CPR?</h1><br/>"
	+ "On Saturday July 10, 2010 The Family Room will hold a <b>CPR and First Aid certification</b> class."
	+ " from 9-1<br/>  The cost is $50/person and is open to adults over the age of 14.<br/>"
	+ " This is a GREAT class for nannies, babysitters, parents, educators, etc. to become certified in life-saving"
 	+ " techniques and procedures. <br/>"
	+ " Hurry and register today, space is filling fast and the class will be capped at 16 people.<br/>"
	+ " Please bring something soft to kneel on (working on floor).<br/>"
	+ " Please sign up via email at <u>amikin@verizon.net</u>."
happening = new HappeningItem(new Date("6/23/2010"), new Date("7/10/2010"), "CPR Class",
   hapStr)


//	happenings[happenings.length] = happening


	return happenings



}  



function HappeningItem(beg, ed, tit, txt)
{
	this.beginDt = beg
	this.endDt = ed
	this.title = tit
	this.html = txt

	this.displayItem = HappeningItem_display
	



}
function HappeningItem_display(doc)
{

	doc.write(this.html)

}








