// Define Meetings
m = new Array();

m[0] = new dateText("February", "summer", "February, March, April and May");
m[1] = new dateText("September", "spring", "September, October and November");

// Make the frame replace itself with the HTML which describes the
// next meeting. The user will never know it was generated by
// JavaScript! (at least under Netscape, MIE seems to allow you to see
// the source :-( ...as does Netscape6/Mozilla - oh well!

joinUs();


function joinUs()
{
   // Find set of dates
   var text = new dateText();
   var today = new Date();
   var month = today.getMonth()

      if((month < 5)||(month > 10)) // i.e. Dec, Jan, Feb, Mar, Apr, May
   {
      text = m[0];
   }
   else
   {
      text = m[1];
   }
   
   // And write it out
   document.writeln("<p>From ");
   document.writeln(text.fromMonth);
   document.writeln("we begin work on our");
   document.writeln(text.season);
   document.writeln("concert. New members are welcome to come and join us in ");
   document.writeln(text.startMonths + ".</p>");
}

function dateText(fromMonth, season, startMonths)
{
   this.fromMonth = fromMonth;
   this.season = season;
   this.startMonths = startMonths;
}

