/*
 * @author Youssef
 */

function eventInfo (text, start_date, end_date){
	this.text = text;
	this.start_date = start_date;
	this.end_date = end_date;
}

var currentTime = new Date();

 
var events = new Array();

/*
Upcoming events:
Feb. 28: Simeon the Elder gp
March 6-8: Premarital Counselling Retreat,
March 13-14: Middle School, St. Tekla Church
March 16: Seniors Group, St. George and St. Reweis
March 16-20: March Break Camp grades 4-8 - spots available contact Sandra Salwanis 905-567-4032
March 20-21: Great Lent Retreat, St. Mary and St. Moses
March 21-22: Bible Study Retreat, Fr. Antonios Fahmy - contact Fr. Luke -905-567-4032
March 28: Middle School Servants, Church of Virgin Mary
May 9-10: Mothers' retreat - Church of Virgin Mary
June 21: Egyptian Canadian Club

Weekly:
Saturday: 7:30-9:00pm
Vesper Prayers

Holy Liturgy:
Sunday: 8:30-11:00am
*/
events[0] = new eventInfo ('<div style="font-size:10px; line-height:15px;font-weight:bold;">&nbsp&nbsp The Holy Liturgy<br>&nbsp&nbsp&nbsp&nbsp&nbsp Saturdays: 8:30-11:00am<br><br><br></div>', new Date (2009,11,1), new Date (2009,11,1))
events[1] = new eventInfo ("Nov 13 - 14, 2009<br>&nbsp&nbsp Grade 7 & 8 Girls Retreat&nbsp&nbsp St. Mary & St. Athanasius", new Date(2009,10,13), new Date(2009,10,14))
events[2] = new eventInfo ("Nov 20 - 22, 2009<br>&nbsp&nbsp St. Thomas More Catholic Church,&nbsp&nbsp Scarborough", new Date(2009, 10,20), new Date(2009, 10,22 ))
events[3] = new eventInfo ("Nov 27 - 28, 2009<br>&nbsp&nbsp Chapel Place Markham Families", new Date(2009, 10,27), new Date(2009, 10, 28))
events[4] = new eventInfo ("Nov 28, 2009<br>&nbsp&nbsp St. Mark's Church T.O. servants", new Date(2009,10,28), new Date(2009,10,28))
events[5] = new eventInfo ("Nov 29, 2009<br>&nbsp&nbsp Day retreat families<br>&nbsp&nbsp St. Mary & St. Joseph, Richmond Hill.", new Date(2009,10,29), new Date(2009,10,29))
events[6] = new eventInfo ("Dec 5, 2009<br>&nbsp&nbsp Servants Retreat<br>&nbsp&nbsp St. Mary & St. Athanasius", new Date(2009,11,05), new Date(2009,11,05))
events[7] = new eventInfo ("Dec 12, 2009<br>&nbsp&nbsp Christmas Retreat<br>&nbsp&nbsp St. Michael's Church, Brampton", new Date(2009,11,12), new Date(2009,11,12))
events[8] = new eventInfo ("Dec 21-24, 2009<br>&nbsp&nbsp Sunday School Christmas Trip<br>&nbsp&nbsp St. Mary & St. Athanasius", new Date(2009,11,21), new Date(2009,11,24))
events[9] = new eventInfo ("Dec 26-28, 2009<br>&nbsp&nbsp Jr. High Christmas Retreat<br>&nbsp&nbsp St. Mary & St. Athanasius", new Date(2009,11,26), new Date(2009,11,28))
events[10] = new eventInfo ("Dec 27-30, 2009<br>&nbsp&nbsp Sunday School Christmas Retreat<br>&nbsp&nbsp St. Mary & St. Athanasius", new Date(2009,11,27), new Date(2009,11,30))
events[11] = new eventInfo ("Jan 1-3, 2010<br>&nbsp&nbsp St. Mary Rochester, NY", new Date(2010,0,1), new Date(2010,0,3))
events[12] = new eventInfo ("Jan 2-3, 2010<br>&nbsp&nbsp Youth Christmas Retreat<br>&nbsp&nbsp St. Mary & St Abram, Ajax", new Date(2010,0,2), new Date(2010,0,3))
events[13] = new eventInfo ("Jan 22-24, 2010<br>&nbsp&nbsp Western Ontario Church Servants", new Date(2010,0,22), new Date(2010,0,24))
events[14] = new eventInfo ("Feb 5 - 7 , 2010<br>&nbsp&nbsp Premarital Counselling Retreat", new Date(2010, 1,5), new Date(2010, 1, 7))


/*
events[0] = new eventInfo ("Jan 30 - Feb 1, 2009<br>&nbsp&nbsp High School Boys Retreat", new Date(2009,0,30), new Date(2009,1,1))
events[1] = new eventInfo ("Feb 28, 2009<br>&nbsp&nbsp Simeon the Elder Group", new Date(2009, 1,28), new Date(2009, 1, 28))
events[2] = new eventInfo ("March 6-8, 2009<br>&nbsp&nbsp Premarital Counselling Retreat", new Date(2009, 2,6), new Date(2009, 2,8 ))
events[3] = new eventInfo ("March 13-14, 2009<br>&nbsp&nbsp Middle School,<br>&nbsp&nbsp St. Tekla Church", new Date(2009, 2,13), new Date(2009, 2, 14))
events[4] = new eventInfo ("March 16, 2009<br>&nbsp&nbsp Seniors Group,<br>&nbsp&nbsp St.George and St. Reweis", new Date(2009,2,16), new Date(2009,2,16))
events[5] = new eventInfo ("March 16-20, 2009<br>&nbsp&nbsp March Break Camp,<br>&nbsp&nbsp Grades 4-8", new Date(2009, 2,16), new Date(2009, 2, 20))
events[6] = new eventInfo ("March 20-21, 2009<br>&nbsp&nbsp Great Lent Retreat,<br>&nbsp&nbsp St. Mary and St. Moses", new Date(2009, 2,20), new Date(2009, 2, 21))
events[7] = new eventInfo ("March 21-22, 2009<br>&nbsp&nbsp Bible Study Retreat,<br>&nbsp&nbsp Fr. Antonios Fahmy", new Date(2009, 2,21), new Date(2009, 2, 22))
events[8] = new eventInfo ("March 28, 2009<br>&nbsp&nbsp Middle School Servants,<br>&nbsp&nbsp Church of the Virgin Mary", new Date(2009, 2,28), new Date(2009, 2, 28))
events[9] = new eventInfo ("April 25, 2009<br>&nbsp&nbsp Simeon the Elder and Anna the Prophetess Group,<br>&nbsp&nbsp  Church of Virgin Mary", new Date (2009,3,25), new Date(2009,3,25))
events[10] = new eventInfo ("May 8-9, 2009<br>&nbsp&nbsp Deacons' retreat with H.G. Bishop Rophael", new Date(2009,4,8), new Date(2009,4,9))
events[11] = new eventInfo ("May 9-10, 2009<br>&nbsp&nbsp Mothers' retreat,<br>&nbsp&nbsp Church of the Virgin Mary", new Date(2009, 4,9), new Date(2009, 4, 10))
events[12] = new eventInfo ("May 9-11, 2009<br>&nbsp&nbsp St. Augustine Group", new Date(2009, 4,9), new Date(2009, 4, 11))
events[13] = new eventInfo ("May 18, 2009<br>&nbsp&nbsp Day Trip Congregation,<br>&nbsp&nbsp Church of the Virgin Mary", new Date(2009,4,18), new Date(2009,4,18))
events[14] = new eventInfo ("May 28-29, 2009<br>&nbsp&nbsp Philopateer Christian College", new Date(2009,4,28), new Date(2009,4,29))
events[15] = new eventInfo ("May 29-31, 2009<br>&nbsp&nbsp Junior Philo Scouts", new Date(2009,4,29), new Date(2009,4,31))
events[16] = new eventInfo ("June 13-14, 2009<br>&nbsp&nbsp Anba Kirollos Group,<br>&nbsp&nbsp Church of St. Mark", new Date(2009, 5,13), new Date(2009, 5, 14))
events[17] = new eventInfo ("June 20-21, 2009<br>&nbsp&nbsp St. Anthony Group,<br>&nbsp&nbsp  Church of Virgin Mary", new Date(2009, 5,20), new Date(2009, 5, 21))
events[18] = new eventInfo ("July 8-9, 2009<br>&nbsp&nbsp Retreat with Fr. Michael,<br>&nbsp&nbsp Boys, Youth Group ", new Date(2009, 6,8), new Date(2009, 6, 9))
events[19] = new eventInfo ("July 9-10, 2009<br>&nbsp&nbsp Retreat with Fr. Michael,<br>&nbsp&nbsp Girls, Youth Group ", new Date(2009, 6,9), new Date(2009, 6, 10))
events[20] = new eventInfo ("July 11, 2009<br>&nbsp&nbsp Spiritual Day,<br>&nbsp&nbsp Graduates, Southern Ontario ", new Date(2009, 6,11), new Date(2009, 6, 11))
events[21] = new eventInfo ("Summer Camp, Grades 4-8, <br>&nbsp&nbsp 5 Weeks:<br>&nbsp&nbsp&nbsp&nbsp July 13-17<br>&nbsp&nbsp&nbsp&nbsp July 20-24<br>&nbsp&nbsp&nbsp&nbsp July 27-31<br>&nbsp&nbsp&nbsp&nbsp August 2-7<br>&nbsp&nbsp&nbsp&nbsp Aug 10-14<br>&nbsp&nbsp Contact Peter Sedrak:<br>&nbsp&nbsp&nbsp&nbsp 416-731-8484", new Date(2009, 7,14), new Date(2009, 7, 14))
events[22] = new eventInfo ("August 10, 2009<br>&nbsp&nbsp Walking Pilgrimmage", new Date(2009, 7,10), new Date(2009,7,10))
events[23] = new eventInfo ("August 28-30, 2009<br>&nbsp&nbsp Bible Study<br>&nbsp&nbsp Fr. Dawoud Lamei<br>&nbsp", new Date(2009, 7,28), new Date(2009,7,30))
*/
/*document.write (' <div style="font-size:10px; line-height:15px;font-weight:bold;">&nbsp&nbsp The Holy Liturgy<br>&nbsp&nbsp&nbsp&nbsp&nbsp Saturdays: 8:30-11:00am<br><br><br></div>')
document.write ('&nbsp&nbsp Vesper Prayers<br>&nbsp&nbsp&nbsp&nbsp&nbsp Saturdays: 7:30-9:00pm<br><br><br></div>')*/
document.write ('<div id="upcoming_events"><ul style="font-size:10px; line-height:15px; ">')
for (var i=0, len=events.length; i<len; ++i)
if (events[i].end_date.getTime()> currentTime.getTime()){
	document.write ('<li>')
	document.write (events[i].text)
	document.write ('<br><br></li>')
}
document.write ('</div>')

