

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()
{



//http://www.facebook.com/home.php?#!/pages/Washington-DC/The-Family-Room/51285922790
	var happenings = new Array()


hapStr = "The Family Room will be CLOSED Saturday Aug. 13, 2011 11am - 1pm for a private party."
	+ "<br>Please contact us about renting out the Family Room for your next event."
	

happening = new HappeningItem(new Date("8/2/2011"), new Date("8/14/2011"), "PARTY CLOSING",
   hapStr)


	happenings[happenings.length] = happening


//2011 Spring Cleaning
	var hapStr = "The Family Room is SPring Cleaning and therefore will be closed all day Saturday April 9 and Sunday until 2:00 PM. We will <u>reopen Sunday April 10</u>." 
  	 + "<br/>Sorry for any inconvenience and we hope to see you soon"

happening = new HappeningItem(new Date("4/1/2011"), new Date("4/11/2011"), "Spring Cleaning",
   hapStr)


	happenings[happenings.length] = happening

//Price Change Aug 2011
happening = new HappeningItem(new Date("6/1/2011"), new Date("8/10/2011"), "Price Adjustment",
   "Beginning Aug 1, 2011, there will be a charge of $5 for children under 1.  Their admission will be free if accompanied by a paying sibling.")


happenings[happenings.length] = happening

//Sundaes Sunday Aug 2011
happening = new HappeningItem(new Date("7/1/2011"), new Date("8/15/2011"), "Sundaes on Sunday",
   "<table><tr><td><img src=\"images/icecreamsundaesml.jpg\"/></td><td>Take a break from the heat and enjoy Sundaes on Sunday Aug 14, 2011 3 - 5.<br/>  FREE with admission.</td></tr></table>")


happenings[happenings.length] = happening


//party closing




/*

//July 4th (Independence Day)
happening = new HappeningItem(new Date("6/1/2011"), new Date("7/5/2011"), "4th of July",
   "The Family Room will be CLOSED for Independence Day.<br>Please have a safe and enjoyable holiday!")


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\"/>")


	




//Party Closing
	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



*
//Easter 2011
	hapStr = "The Family Room will be CLOSED Sunday April 24, 2011."
	+ "<br>Happy Easter!"
	

happening = new HappeningItem(new Date("4/2/2011"), new Date("4/25/2011"), "EASTER CLOSING",
   hapStr)


	happenings[happenings.length] = happening

*/
//T-giving 2011
happening = new HappeningItem(new Date("11/20/2010"), new Date("11/27/2011"), "HOLIDAY CLOSING",
   "The Family Room will be <u>closed</u> Thursday and Friday Nov 24 and 25 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 12:00 Saturday November 26 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 2011
happening = new HappeningItem(new Date("12/1/2009"), new Date("1/3/2012"), "HOLIDAY HOURS",
   "The Family Room will be changing normal operating hours during this holiday season.<br/>Dec 23rd <u>Close at 6:00 PM</u><br>Dec 24th <u>CLOSED</u><br>Dec 25th <u>CLOSED</u><br>Dec 26th <u>CLOSED</u><br/>Dec 30th <u>Close at 6:00 PM</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/>Jan 2nd <u>Open 1 hr later at 10:00 AM</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


//Hot happenings late 2010
happening= new HappeningItem(new Date("10/2/2010"), new Date ("11/11/2010"), "Schools Out, Are You?",
    "The Family Room offers a Day of Play for Kids from 9 to 5 when schools are out but you may not be.  Cost is $50 per child and includes babysitting, lunch, snacks and organized activities."
   + "Reservations and a $20 non-refundable deposit required.<br/>October 11 ** October 18 ** October 29 ** November 11")
	happenings[happenings.length] = happening

//Halloween 2010
happening= new HappeningItem(new Date("10/2/2010"), new Date ("10/30/2010"), "October 30 – Halloween Party", "4-6  $10 per child; $5 for siblings." 
+ "Come dressed in your costume and enjoy music, food and fun.")
	happenings[happenings.length] = happening

*/
//New Year's Eve 2011
happening= new HappeningItem(new Date("11/2/2010"), new Date ("12/31/2011"), "December 31 – Ring in the New Year at The Family Room",
"3-8, $10 per adult $5 per kid (Special Member Pricing); Food, fun and music.  Countdown and toast to the New Year @ 6!")
	happenings[happenings.length] = happening


/*
//New Year Day 2011 close
happening = new HappeningItem(new Date("12/1/2010"), new Date("1/3/2011"), "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, 2011 <u>CLOSED</u><br>Enjoy the holidays!")


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

//Lecture Series 2011
	var hapStr = "The Family Room is excited to inaugurate our first "
	+ "<a href=\"http://www.thefamilyroomdc.com/classes/lecturecurr.asp\" target=\"_blank\">Parent Information Night series</a>."
	+ "<br/>We will be offering dinner, a lecture/question & answer session, and babysitting on the second Tuesday of every month."
	+ " Exact topics are still TBA, but see <a href=\"http://www.thefamilyroomdc.com/classes/lecturecurr.asp\" target=\"_blank\">here</a> for information about the first three speakers, their disciplines, and their organizations."
	+ "<br/>All Information Nights will start at 5 p.m. with a light dinner."
	+ "  The lectures will begin at 5:45 and end at 6:30 allowing approximately 30 minutes (6:30-7) for questions and audience discussion."
	+ "<br/>Reservations are suggested but not required.  Cost is $10/person which includes dinner, the lecture, and babysitting for the kids."
	+ "<br/>For more information, please contact info@thefamilyroomdc.com."

happening = new HappeningItem(new Date("6/23/2011"), new Date("3/20/2012"), "Parent Information night",
   hapStr)


	happenings[happenings.length] = happening




//CPR 2011
	var hapStr = "Ever wanted to learn <h1>Pediatric First Aid and CPR?</h1><br/>"
	+ "The Family Room will hold a <b>CPR and First Aid certification</b> class, taught by Amie Vandersluis."
	+ " 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/>"
	+ " The class will include CPR, how to use an AED, choking relief, as well as First Aid."
	+ " We will cover how to treat cuts, scrapes, sprains, allergic reactions, nose bleeds and more."
	+ " We will focus specifically on kids and infants and everyone will receive American Heart Association Certification."
	+ " Classes will meet Saturdays"
	+ " <ul>"
	+ " <li>Saturday, July 23 from 9 - 1</li>"
	+ " <li>Saturday, August 20 from 9 – 1</li>"
	+ " <li>Saturday, September 24 from 9 - 1</li>"
	+ " </ul>"
	+ "<br/>The group class is $50 per person (a $10 deposit is required to hold your space)."
	+ "<br/> Hurry and register today, space is filling fast.<br/>"
	+ "Call <u>The Family Room at 202-640-1865</u>  to register for a class and pay your $10 deposit."
	+ "<br/>Babysitting Available!  Let the staff know and they will check availability for babysitting your little one for $5 per child for the session."
happening = new HappeningItem(new Date("6/23/2011"), new Date("9/20/2011"), "CPR and First Aid 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)

}









