// ************************************************************************************
// ** This file has been created with the Rotating Content Tool by Amesbury Web.     **
// ** For more information, visit us on the web:                                     **
// **                                                                                **
// **     Rotating Content Tool   -- http://rotatecontent.com/                       **
// **     Company: Amesbury Web   -- http://amesburyweb.com/                         **
// **     Author:  Randy Hoyt     -- http://randyhoyt.com/                           **
// **                                                                                **
// ************************************************************************************

today = new Date()
month = today.getMonth() + 1
year = today.getFullYear()

selectedDate = new Date("01/01/1900")
selectedContent = ""

varLength = 31
var entryDate = new Array(varLength)
var entryContent = new Array(varLength)

entryDate[0] = month + "/01/" + year
entryContent[0] = "<p>\"Children and teachers love the games and always leave wishing for more time and asking when they get to come again.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#clermont \">(read full story)</a><br /> <span class=\"attribution\">Stephanie Lewis, Elementary School Teacher</span> </p>"

entryDate[1] = month + "/02/" + year
entryContent[1] = "\"Students were not only developing their strategic thinking, they were developing their perseverance, metacognition, and their ability to verbalize their thinking and problem-solving!\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#annandale \">(read full story)</a><br /> <span class=\"attribution\">Josie Mani, Elementary School Teacher </span>"

entryDate[2] = month + "/03/" + year
entryContent[2] = "\"I can't tell you how many 'I can't do its' I've heard when it comes to problem-solving, but when it comes to the ThinkFun Games, I can definitely tell you they turn to 'I did it!'s'\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#denton \">(read full story)</a><br /> <span class=\"attribution\">Rebeccah Hughes, Elementary School Teacher</span>"

entryDate[3] = month + "/04/" + year
entryContent[3] = "\"Besides having an incredible and amusing time, students have obtained large academic and personal (character) benefits.\" <a href=\"http://www.thinkfungameclub.com/stories_world.htm#binario \">(read full story)</a><br /> <span class=\"attribution\">Olga Micha, Director, Binario Center</span>"

entryDate[4] = month + "/05/" + year
entryContent[4] = "\"Students look forward to playing more challenging cards within the games, and they keep going until they have figured out the solution.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#nelsonwhynder \">(read full story)</a><br /> <span class=\"attribution\">Phyllis-Ann Downey, Elementary School Teacher</span>"

entryDate[5] = month + "/06/" + year
entryContent[5] = "\"The first thing I usually hear from my students now is, 'are we doing Game Club today?!'\" <a href=\"http://www.thinkfungameclub.com/stories_community.htm#allsaints \">(read full story)</a><br /> Allison McGee, High School Teacher</a>"

entryDate[6] = month + "/07/" + year
entryContent[6] = "\"I was inspired by the degree to which I could observe excellent problem solving strategies among diverse students at all levels of ability.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#keywest \">(read full story)</a><br /> <span class=\"attribution\">Eli Jannes, Elementary School Teacher</span>"

entryDate[7] = month + "/08/" + year
entryContent[7] = "\"The students are so excited by Rush Hour that they ask to play it whenever there is free time\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#armbrae \">(read full story)</a><br /> <span class=\"attribution\">Karen Fougere, Head of Mathematics</span>"

entryDate[8] = month + "/09/" + year
entryContent[8] = "\"I have always been a huge proponent of using games to enhance problem-solving skills as well as social skills, and with ThinkFun's help I have everything I need in one suitcase!\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#newtonlee \">(read full story)</a><br /> <span class=\"attribution\">Shannon Sutter, Elementary School Teacher</span>"

entryDate[9] = month + "/10/" + year
entryContent[9] = "\"With the ThinkFun games, the students have learned strategies that they can apply to nearly all situations in life.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#denton \">(read full story)</a><br /> <span class=\"attribution\">Rebeccah Hughes, Elementary School Teacher</span>"

entryDate[10] = month + "/11/" + year
entryContent[10] = "\"The games remove language and processing barriers, and we have the opportunity to watch students approach challenges unlike any others they face throughout their school day\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#annandale \">(read full story)</a><br /> <span class=\"attribution\">Josie Mani, Elementary School Teacher </span>"

entryDate[11] = month + "/12/" + year
entryContent[11] = "\"Students have learned to see the problems as opportunities and not as obstacles, and they think and analyze the possibilities while playing.\" <a href=\"http://www.thinkfungameclub.com/stories_world.htm#binario \">(read full story)</a><br /> <span class=\"attribution\">Olga Micha, Director, Binario Center</span>"

entryDate[12] = month + "/13/" + year
entryContent[12] = "\"Most rewarding for me is the sense of pride that I see in each student when they master a particular challenge.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#clermont \">(read full story)</a><br /> <span class=\"attribution\">Stephanie Lewis, Elementary School Teacher</span>"

entryDate[13] = month + "/14/" + year
entryContent[13] = "\"One of the most gratifying results of using the games in the Learning Centre is the increased positive interaction between the students.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#nelsonwhynder \">(read full story)</a><br /> <span class=\"attribution\">Phyllis-Ann Downey, Elementary School Teacher</span>"

entryDate[14] = month + "/15/" + year
entryContent[14] = "\"The games allowed me the time to play and become involved with other children who may not always need me.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#birchview\">(read full story)</a><br /> <span class=\"attribution\">Sarah Baumgarten, Elementary School Teacher</span>"

entryDate[15] = month + "/16/" + year
entryContent[15] = "\"ThinkFun games help students feel a sense of mastery in math which they have seldom had before.\" <a href=\"http://www.thinkfungameclub.com/stories_individualgames.htm#nebraskacity\">(read full story)</a><br /> <span class=\"attribution\">Lori Mullarkey, Middle School Teacher</span>"

entryDate[16] = month + "/17/" + year
entryContent[16] = "\"I saw many otherwise-unengaged students using math skills to solve problems, and enjoying themselves at the same time!\" <a href=\"http://www.thinkfungameclub.com/stories_individualgames.htm#holyoke\">(read full story)</a><br /> <span class=\"attribution\">Lisa Kosanovic, High School Teacher</span>"

entryDate[17] = month + "/18/" + year
entryContent[17] = "\"I organized a fundraising campaign from Saint Joseph's Catholic Church so that we could purchase more games\" <a href=\"http://www.thinkfungameclub.com/stories_community.htm#herndon \">(read full story)</a><br /> <span class=\"attribution\">Emilio Esteban, Eagle Scout</span>"

entryDate[18] = month + "/19/" + year
entryContent[18] = "\"Game Club provides an opportunity for students to work together, have fun, and develop their thinking skills all while playing great ThinkFun games!\" <a href=\"http://www.thinkfungameclub.com/stories_community.htm#allsaints \">(read full story)</a><br /> <span class=\"attribution\">Allison McGee, High School Teacher</span>"

entryDate[19] = month + "/20/" + year
entryContent[19] = "\"It is very rewarding to watch their smiling faces as they learn to persevere, cooperate, think creatively and plan ahead.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#keywest \">(read full story)</a><br /> <span class=\"attribution\">Eli Jannes, Elementary School Teacher</span>"

entryDate[20] = month + "/21/" + year
entryContent[20] = "\"These games provide success for those students who find written problems more difficult. They are able to visualize and solve it which in turn creates a confidence building experience.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#armbrae \">(read full story)</a><br /> <span class=\"attribution\">Karen Fougere, Head of Mathematics</span>"

entryDate[21] = month + "/22/" + year
entryContent[21] = "\"I even told one classroom teacher that she could have a break while I work with her students and she said, 'No way, I want to play too!'\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#newtonlee \">(read full story)</a><br /> <span class=\"attribution\">Shannon Sutter, Elementary School Teacher</span>"

entryDate[22] = month + "/23/" + year
entryContent[22] = "\"The games' effectiveness and enthusiasm is contagious!\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#denton \">(read full story)</a><br /> <span class=\"attribution\">Rebeccah Hughes, Elementary School Teacher</span>"

entryDate[23] = month + "/24/" + year
entryContent[23] = "\"Students who were having learning or attention issues related to regular classroom tasks were excelling when working with the games.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#annandale \">(read full story)</a><br /> <span class=\"attribution\">Josie Mani, Elementary School Teacher </span>"

entryDate[24] = month + "/25/" + year
entryContent[24] = "\"Students are not afraid to make mistakes, and they consider errors as part of the process to find solutions.\" <a href=\"http://www.thinkfungameclub.com/stories_world.htm#binario \">(read full story)</a><br /> <span class=\"attribution\">Olga Micha, Director, Binario Center</span>"

entryDate[25] = month + "/26/" + year
entryContent[25] = "\"With every success they experience playing the games, they are learning the importance of effort and developing a 'can do' attitude.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#clermont \">(read full story)</a><br /> <span class=\"attribution\">Stephanie Lewis, Elementary School Teacher</span>"

entryDate[26] = month + "/27/" + year
entryContent[26] = "\"It has been extremely rewarding to see students persevering, thinking critically, creatively tackling challenges, discussing their strategies, and making real-life connections\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#clermont \">(read full story)</a><br /> <span class=\"attribution\">Stephanie Lewis, Elementary School Teacher</span>"

entryDate[27] = month + "/28/" + year
entryContent[27] = " \"Each time we play, they are more willing to step outside of their comfort zone to ask for and receive help from their peers.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#nelsonwhynder \">(read full story)</a><br /> <span class=\"attribution\">Phyllis-Ann Downey, Elementary School Teacher</span>"

entryDate[28] = month + "/29/" + year
entryContent[28] = "\"It is truly heartwarming to see my students meet with success and experience the sheer joy of accomplishment.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#johnenglish \">(read full story)</a><br /> <span class=\"attribution\">Mary Rome, Elementary School Teacher</span>"

entryDate[29] = month + "/30/" + year
entryContent[29] = "\"I was absolutely amazed at how much they loved the games and how engaged they were.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#birchview\">(read full story)</a><br /> <span class=\"attribution\">Sarah Baumgarten, Elementary School Teacher</span>"

entryDate[30] = month + "/31/" + year
entryContent[30] = "\"Not only are we discovering strengths in our students, they're discovering strengths and smarts in themselves.\" <a href=\"http://www.thinkfungameclub.com/stories_gamesets.htm#annandale \">(read full story)</a><br /> <span class=\"attribution\">Josie Mani, Elementary School Teacher </span>"

if (typeof display == "undefined") { var display = "date" }

if (display == "random")
{
  var randomNumber = Math.random()
  randomNumber *= varLength
  randomNumber = parseInt(randomNumber)
  if(isNaN(randomNumber)) randomNumber = 0
  else randomNumber %= varLength
  selectedContent = entryContent[randomNumber]
}
else
{
  for (x=0; x<(entryContent.length); x++)
  {
    tempDate = new Date(entryDate[x])
    tempContent = entryContent[x]
    if ((tempDate <= today) && (tempDate > selectedDate))
    {
      selectedContent = tempContent
      selectDate = tempDate
    }
  }
}

document.write (selectedContent)