﻿var date = new Date()
var currentMonth = date.getMonth()
var currentDay = date.getDate()
var EVENT = new Array()
var J = 0
//numOfEvents Begin
var NumofEvents = 1
//numOfEvents End
var checkmark = "<img src=\"Events/RedCheckmark.jpg\" width=\"11\" height=\"11\" vspace=\"5\" hspace=\"5\" align=\"absmiddle\" />"

function Event(name, info, month, date)
	{
		this.name=name
		this.info=info
		this.month=month
		this.date=date
	}

//EVENT BEGIN
EVENT[0] = new Event("<b><u>Kickoff Club Meeting:</u></b>", "The first Kickoff Club Meeting for the 2008 year will be Tuesday 2/26 @ 7PM. Come take part in a Q&A meeting with the commons area in the main entrance of the school.", 1, 26)
//EVENT END

function getEvents() {
	for (J=0; J<NumofEvents; J++) {
		if (currentMonth >= EVENT[J].month && currentDay > EVENT[J].date && EVENT[J].date > 0)
			{
				document.write(checkmark + EVENT[J].name + " " + EVENT[J].info + "<br /><br />");
			}
		else
			{
				document.write(EVENT[J].name + " " + EVENT[J].info + "<br /><br />");
			}
	}
	return
}