<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin

// Vars for parish bulletin
var lastWeek = "02/05/2012"
var thisWeek = "02/12/2012"

// Greeting, date and Liturgical info bar
dayname = new Array(
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
);

m = new Array(
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
);

linkday = new Date();
month = new Array(0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
var Jan = new Array();
var Feb = new Array();
var Mar = new Array();
var Apr = new Array();
var May = new Array();
var Jun = new Array();
var Jul = new Array();
var Aug = new Array();
var Sep = new Array();
var Oct = new Array();
var Nov = new Array();
var Dec = new Array();
Stamp = new Date();
today = Stamp.getDate();
//today = "7" //debug

// init
for (i=1;i<=month[1];i++) {Jan[i]=" ";}
for (i=1;i<=month[2];i++) {Feb[i]=" ";}
for (i=1;i<=month[3];i++) {Mar[i]=" ";}
for (i=1;i<=month[4];i++) {Apr[i]=" ";}
for (i=1;i<=month[5];i++) {May[i]=" ";}
for (i=1;i<=month[6];i++) {Jun[i]=" ";}
for (i=1;i<=month[7];i++) {Jul[i]=" ";}
for (i=1;i<=month[8];i++) {Aug[i]=" ";}
for (i=1;i<=month[9];i++) {Sep[i]=" ";}
for (i=1;i<=month[10];i++) {Oct[i]=" ";}
for (i=1;i<=month[11];i++) {Nov[i]=" ";}
for (i=1;i<=month[12];i++) {Dec[i]=" ";}

<!-- January 2012 -->
Jan[1] = "The Octave Day of Christmas<br>Solemnity of the Blessed Virgin Mary,<br> the Mother of God"
Jan[2] = "Memorial of Saints Basil the Great and Gregory Nazianzen, Bishops and Doctors of the Church";
Jan[3] = "Tuesday of Christmas Week";
Jan[4] = "Memorial of Saint Elizabeth Ann Seton, Religious";
Jan[5] = "Memorial of Saint John Neumann, Bishop";
Jan[6] = "Memorial of Blessed Andr&eacute; Bessette";
Jan[7] = "Memorial of Saint Raymond of Pe&ntilde;afort";
Jan[8] = "The Epiphany of the Lord";
//Jan[8] = "Feast of the Holy Family of Jesus, Mary, and Joseph"; // Skipped when Christmas is Sunday?
Jan[9] = "Feast of the Baptism of the Lord";
Jan[10] = "Tuesday of the First Week in Ordinary Time";
Jan[11] = "Wednesday of the First Week in Ordinary Time";
Jan[12] = "Thursday of the First Week in Ordinary Time";
Jan[13] = "Friday of the First Week in Ordinary Time";
Jan[14] = "Saturday of the First Week in Ordinary Time";
Jan[15] = "Second Sunday in Ordinary Time";
Jan[16] = "Monday of the Second Week in Ordinary Time";
Jan[17] = "Memorial of Saint Anthony, Abbot";
//Jan[17] = "Tuesday of the Second Week in Ordinary Time";
Jan[18] = "Wednesday of the Second Week in Ordinary Time";
Jan[19] = "Thursday of the Second Week in Ordinary Time";
Jan[20] = "Memorial of Saint Fabian and Saint Sebastian";
Jan[21] = "Memorial of Saint Agnes, virgin and martyr";
Jan[22] = "Third Sunday in Ordinary Time";
Jan[23] = "Monday of the Third Week in Ordinary Time";
Jan[24] = "Memorial of Saint Francis de Sales, Bishop and Doctor of the Church";
Jan[25] = "Feast of the Conversion of Saint Paul, Apostle";
Jan[26] = "Memorial of Saints Timothy and Titus, Bishops";
Jan[27] = "Memorial of Saint Angela Merici, virgin";
Jan[28] = "Memorial of Saint Thomas Aquinas, Priest and Doctor of the Church";
Jan[29] = "Fourth Sunday in Ordinary Time";
Jan[30] = "Monday of the Fourth Week in Ordinary Time";
//Jan[31] = "Tuesday of the Fourth Week in Ordinary Time";
Jan[31] = "Memorial of Saint John Bosco, Priest";
<!-- February 2011 -->
Feb[1] = "Wednesday of the Fourth Week in Ordinary Time";
Feb[2] = "Feast of the Presentation of the Lord";
Feb[3] = "Memorial of Saint Blas&eacute, bishop and martyr, and Saint Ansgar, Priest";
Feb[4] = "Saturday of the Fourth Week in Ordinary Time";
Feb[5] = "Fifth Sunday in Ordinary Time";
//Feb[5] = "Memorial of Saint Agatha, Virgin and Martyr";
Feb[6] = "Memorial of Saint Paul Miki, martyr, and his companions, martyrs";
Feb[7] = "Tuesday of the Fifth Week in Ordinary Time";
Feb[8] = "Memorial of Saint Jerome Emiliani, priest,<br>and Saint Josephine Bakhita, Virgin";
Feb[9] = "Thursday of the Fifth Week in Ordinary Time";
Feb[10] = "Memorial of Saint Scholastica, Virgin";
Feb[11] = "Memorial of Our Lady of Lourdes";
Feb[12] = "Sixth Sunday in Ordinary Time";
Feb[13] = "Monday of the Sixth Week in Ordinary Time";
Feb[14] = "Memorial of Saints Cyril, Monk, and Methodius, Bishop";
Feb[15] = "Wednesday of the Sixth Week in Ordinary Time";
Feb[16] = "Thursday of the Sixth Week in Ordinary Time";
Feb[17] = "Memorial of the Seven Founders of the Order of Servites";
Feb[18] = "Saturday of the Sixth Week in Ordinary Time";
Feb[19] = "Seventh Sunday in Ordinary Time";
Feb[20] = "Monday of the Seventh Week in Ordinary Time";
Feb[21] = "Memorial of Saint Peter Damian, Bishop";
Feb[22] = "Ash Wednesday"; //2012
Feb[23] = "Memorial of Saint Polycarp, Bishop and Martyr";
Feb[24] = "Friday after Ash Wednesday";
Feb[25] = "Saturday after Ash Wednesday";
Feb[26] = "First Sunday of Lent"; //2012
Feb[27] = "Monday of the First Week of Lent";
Feb[28] = "Tuesday of the First Week of Lent";
Feb[29] = "Wednesday of the First Week of Lent";

<!-- March 2012 -->
Mar[1] = "Thursday of the First Week of Lent";
Mar[2] = "Friday of the First Week of Lent";
Mar[3] = "Memorial of Saint Katharine Drexel, Virgin";
//Mar[4] = "Memorial of Saint Casimir";
Mar[4] = "Second Sunday of Lent"; //2012
Mar[5] = "Monday of the Second Week of Lent";
Mar[6] = "Tuesday of the Second Week of Lent";
Mar[7] = "Commemoration of Saints Perpetua and Felicity";
Mar[8] = "Commemoration of Saint John of God";
Mar[9] = "Commemoration of Saint Frances of Rome";
Mar[10] = "Saturday of the Second Week of Lent";
Mar[11] = "Third Sunday of Lent"; //2012
Mar[12] = "Monday of the Third Week of Lent";
Mar[13] = "Tuesday of the Third Week of Lent";
Mar[14] = "Wednesday of the Third Week of Lent";
Mar[15] = "Thursday of the Third Week of Lent";
Mar[16] = "Friday of the Third Week of Lent";
Mar[17] = "Commemoration of Saint Patrick, Bishop";
//Mar[18] = "Commemoration of Saint Cyril of Jerusalem";
Mar[18] = "Fourth Sunday of Lent"; //2012
Mar[19] = "Solemnity of Saint Joseph, husband of the Blessed Virgin Mary";
Mar[20] = "Monday of the Fourth Week of Lent";
Mar[21] = "Tuesday of the Fourth Week of Lent";
Mar[21] = "Wednesday of the Fourth Week of Lent";
Mar[23] = "Commemoration of Saint Toribio de Mongrovejo";
Mar[24] = "Thursday of the Fourth Week of Lent";
Mar[25] = "Fifth Sunday of Lent"; //2012
Mar[26] = "Solemnity of the Annunciation of the Lord"; // 2012
Mar[27] = "Tuesday of the Fifth Week of Lent";
Mar[28] = "Wednesday of the Fifth Week of Lent";
Mar[29] = "Thursday of the Fifth Week of Lent";
Mar[30] = "Friday of the Fifth Week of Lent";
Mar[31] = "Saturday of the Fifth Week of Lent";

<!-- April 2012 -->
Apr[1] = "Palm Sunday of the Lord's Passion"; //2012
Apr[2] = "Monday of Holy Week";
//Apr[2] = "Commemoration of Saint Francis of Paola, Monk";
Apr[3] = "Tuesday of Holy Week";
Apr[4] = "Wednesday of Holy Week";
//Apr[4] = "Memorial of Saint Isidore of Seville, Monk";
Apr[5] = "Holy Thursday";
//Apr[5] = "Memorial of Saint Vincent Ferrer</a>, Priest";
Apr[6] = "Good Friday of the Lord's Passion"; //2012
Apr[7] = "Holy Saturday"; //2012
//Apr[7] = "Memorial of Saint John Baptist de La Salle, Priest";
Apr[8] = "Easter Sunday: The Resurrection of the Lord"; //2012
Apr[9] = "World Day of Prayer for Vocations<br>Monday in the Octave of Easter"; //2012
Apr[10] = "Tuesday in the Octave of Easter"; //2012
//Apr[11] = "Wednesday in the Octave of Easter"; //2012
Apr[11] = "Memorial of Saint Stanislaus</a>, Bishop and Martyr";
Apr[12] = "Thursday in the Octave of Easter"; //2012
Apr[13] = "Friday in the Octave of Easter"; //2012
Apr[14] = "Saturday in the Octave of Easter"; //2012
Apr[15] = "Second Sunday of Easter (Divine Mercy Sunday)"; // 2012
Apr[16] = "Monday of the Second Week of Easter";
Apr[17] = "Tuesday of the Second Week of Easter";
Apr[18] = "Wednesday of the Second Week of Easter";
Apr[19] = "Thursday of the Second Week of Easter";
Apr[20] = "Friday of the Second Week of Easter";
Apr[21] = "Saturday of the Second Week of Easter";
Apr[22] = "Third Sunday of Easter";
Apr[23] = "Memorial of Saint George, Martyr<br>Memorial of Saint Adalbert, Bishop and Martyr";
Apr[24] = "Memorial of Fidelis of Sigmaringen, Priest and Martyr";
Apr[25] = "Feast of Saint Mark, Apostle and Evangelist";
Apr[26] = "Thursday of the Third Week of Easter";
Apr[27] = "Friday of the Third Week of Easter";
Apr[28] = "Memorial of Saint Peter Chanel, Priest and Martyr<br>Memorial of Saint Louis Mary de Montfort, Priest";
Apr[29] = "Fourth Sunday of Easter";
//Apr[29] = "Memorial of Saint Catherine of Siena, Virgin and Doctor of the Church";
Apr[30] = "Memorial of Pope Saint Pius V";

<!-- May 2012-->
May[1] = "Memorial of Saint Joseph the Worker";
May[2] = "Memorial of Saint Athanasius, Bishop and Doctor of the Church";
May[3] = "Feast of Saints Philip and James, Apostles";
May[4] = "Friday of the Fourth Week of Easter";
May[5] = "Friday of the Fourth Week of Easter";
May[6] = "Fifth Sunday of Easter";
May[7] = "Monday of the Fifth Week of Easter";
May[8] = "Tuesday of the Fifth Week of Easter";
May[9] = "Wednesday of the Fifth Week of Easter";
May[10] = "Memorial of Blessed Damien Joseph de Veuster of Moloka'i, Priest";
May[11] = "Friday of the Fifth Week of Easter";
May[12] = "Memorial of Saints Nereus and Achilleus, Martyrs<br>Memorial of Saints Pancras, Martyr";

May[13] = "Sixth Sunday of Easter";
//May[13] = "Memorial of Our Lady of Fatima";
May[14] = "Feast of Saint Matthias, Apostle";
May[15] = "Memorial of Saint Isidore the Farmer";
May[16] = "Vigil of the Ascension of the Lord"; // 2012 ??
May[17] = "Solemnity of the Ascension of the Lord"; // 2012 ??
May[18] = "Memorial of Saint John I, Pope and Martyr";
May[19] = "Saturday of the Sixth Week of Easter";
May[20] = "Seventh Sunday of Easter"; // 2012
//May[20] = "Memorial of Saint Bernardine of Siena, Priest";
May[21] = "Memorial of Saint Crist&oacute;bal Magall&aacute;nes and Companions, Martyrs";
May[22] = "Memorial of Saint Rita of Cascia, Religious";
May[23] = "Wednesday of the Seventh Week of Easter";
May[24] = "Thursday of the Seventh Week of Easter";
May[25] = "Memorial of Saint Bede the Venerable, Monk<br>Memorial of Pope Saint Gregory VII<br>Memorial of Saint Mary Magdalen de&rsquo;Pazzi, Virgin";
May[26] = "Memorial of Saint Philip Neri, Priest<br>Vigil of Pentecost"; // 2012
May[27] = "Solemnity of Pentecost" //2012
//May[27] = "Memorial of Saint Augustine of Canterbury, Bishop";
May[28] = "Monday after Pentecost";
May[29] = "Tuesday after Pentecost";
May[30] = "Wednesday after Pentecost";
May[31] = "Feast of the Visitation of the Blessed Virgin Mary";

<!-- June 2012 -->
Jun[1] = "Memorial of Saint Justin, Martyr";
Jun[2] = "Memorial of Saint Marcellinus and Saint Peter, Martyrs";
Jun[3] = "The Solemnity of the Most Holy Trinity" // 2012
//Jun[3] = "Memorial of Saint Charles Lwanga and his companions, Martyrs";
Jun[4] = "Monday of the Ninth Week in Ordinary Time"; // 2012 (Check)
Jun[5] = "Memorial of Saint Boniface, Bishop and Martyr";
Jun[6] = "Memorial of Saint Norbert";
Jun[7] = "Thursday of the Ninth Week in Ordinary Time";
Jun[8] = "Friday of the Ninth Week in Ordinary Time";
Jun[9] = "Memorial of Saint Ephrem of Syria, Deacon and Doctor of the Church";
Jun[10] = "The Solemnity of the Most Holy Body and Blood of Christ (Corpus Christi)"; // 2012
Jun[11] = "Memorial of Saint Barnabas, Apostle";
//Jun[11] = "Solemnity of the Most Sacred Heart of Jesus"; // 2010
//Jun[12] = "Memorial of the Immaculate Heart of the Blessed Virgin Mary"; // 2010
Jun[12] = "Tuesday of the Tenth Week in Ordinary Time";
Jun[13] = "Memorial of Saint Anthony of Padua, Priest and Doctor of the Church";
Jun[14] = "Thursday of the Tenth Week in Ordinary Time";
Jun[15] = "Friday of the Tenth Week in Ordinary Time";
Jun[16] = "Saturday of the Tenth Week in Ordinary Time";
Jun[17] = "Eleventh Sunday in Ordinary Time";
Jun[18] = "Monday of the Eleventh Week in Ordinary Time";
Jun[19] = "Memorial of Saint Romuald, Abbot";
Jun[20] = "Wednesday of the Eleventh Week in Ordinary Time";
Jun[21] = "Memorial of Saint Aloysius Gonzaga, Religious";
Jun[22] = "Memorial of Saint Paulinus of Nola, Bishop<br>Memorial of Saint John Fisher, Bishop and Martyr<br>Memorial of Saint Thomas More, Martyr";
Jun[23] = "Saturday of the Eleventh Week in Ordinary Time";
Jun[24] = "Twelfth Sunday in Ordinary Time";
//Jun[24] = "Solemnity of the Nativity of John the Baptist";
Jun[25] = "Monday of the Twelfth Week in Ordinary Time";
Jun[26] = "Tuesday of the Twelfth Week in Ordinary Time";
Jun[27] = "Memorial of Saint Cyril of Alexandria, Bishop and Doctor";
Jun[28] = "Memorial of Saint Irenaeus, Bishop and Martyr";
Jun[29] = "Solemnity of Saints Peter and Paul, Apostles";
Jun[30] = "Memorial of The First Martyrs of the Church of Rome";

<!-- July 2011 -->
//Jul[1] = "Thirteenth Sunday in Ordinary Time"; // 2012
Jul[1] = "Friday of the Thirteenth Week in Ordinary Time";
Jul[2] = "Saturday of the Thirteenth Week in Ordinary Time";
//Jul[3] = "Feast of Saint Thomas, Apostle";
Jul[3] = "Fourteenth Sunday in Ordinary Time";
Jul[4] = "Monday of the Fourteenth Week in Ordinary Time";
Jul[5] = "Memorial of Saint Anthony Zaccaria, Priest";
Jul[6] = "Memorial of Saint Maria Goretti, Virgin and Martyr";
Jul[7] = "Thursday of the Fourteenth Week in Ordinary Time";
Jul[8] = "Friday of the Fourteenth Week in Ordinary Time";
Jul[9] = "Saturday of the Fourteenth Week in Ordinary Time";
Jul[10] = "Fifteenth Sunday in Ordinary Time";
Jul[11] = "Memorial of Saint Benedict, Abbot";
Jul[12] = "Tuesday of the Fifteenth Week in Ordinary Time";
Jul[13] = "Memorial of St. Henry";
Jul[14] = "Memorial of Blessed Kateri Tekakwitha, virgin";
Jul[15] = "Memorial of Saint Bonaventure, Bishop and Doctor of the Church";
Jul[16] = "Memorial of Our Lady of Mt. Carmel";
Jul[17] = "Sixteenth Sunday in Ordinary Time";
Jul[18] = "Memorial of St. Camillus de Lellis, Priest";
Jul[19] = "Tuesday of the Sixteenth Week in Ordinary Time";
Jul[20] = "Memorial of St. Apollinaris";
Jul[21] = "Memorial of Lawrence of Brindisi, Priest and Doctor";
Jul[22] = "Memorial of Saint Mary Magdalene";
Jul[23] = "Memorial of Saint Bridget of Sweden, Religious";
//Jul[24] = "Memorial of St. Sharbel Makhluf, Priest";
Jul[24] = "Seventeenth Sunday in Ordinary Time";
Jul[25] = "Feast of Saint James, Apostle";
Jul[26] = "Memorial of Saints Joachim and Anne, Parents of the Blessed Virgin Mary";
Jul[27] = "Wednesday of the Seventeenth Week in Ordinary Time";
Jul[28] = "Thursday of the Seventeenth Week in Ordinary Time";
Jul[29] = "Memorial of Saint Martha";
Jul[30] = "Memorial of Saint Peter Chrysologus, Bishop and Doctor";
//Jul[31] = "Memorial of Saint Ignatius of Loyola, Priest";
Jul[31] = "Eighteenth Sunday in Ordinary Time";

<!-- August 2011 -->
Aug[1] = "Memorial of Saint Alphonsus Liguori, Bishop and Doctor of the Church";
Aug[2] = "Memorial of Saint Eusebius of Vercelli, Bishop";
Aug[3] = "Memorial of Saint John Vianney, Priest";
Aug[4] = "Thursday of the Eighteenth Week in Ordinary Time";
Aug[5] = "Friday of the Eighteenth Week in Ordinary Time";
Aug[6] = "The Feast of the Transfiguration of the Lord";
Aug[7] = "Nineteenth Sunday in Ordinary Time";
//Aug[7] = "Memorial of Saint Sixtus II, Pope and Martyr, and Companions<br>Memorial of Saint Cajetan, Priest"
Aug[8] = "Memorial of Saint Dominic, Priest";
Aug[9] = "Tuesday of the Nineteenth Week in Ordinary Time";
Aug[10] = "Feast of Saint Lawrence, Deacon and Martyr";
Aug[11] = "Memorial of Saint Clare, Virgin";
Aug[12] = "Friday of the Nineteenth Week in Ordinary Time";
Aug[13] = "Memorial of Saint Pontian, Pope and Martyr<br>Memorial of Saint Hippolytus, Priest and Martyr";
Aug[14] = "Twentieth Sunday in Ordinary Time";
//Aug[14] = "Memorial of Saint Maximilian Mary Kolbe, Priest and Martyr<br>Vigil of the Solemnity of the Assumption of the Blessed Virgin Mary";
Aug[15] = "Solemnity of the Assumption of the Blessed Virgin Mary"; //Celebrated even if Sunday
Aug[16] = "Memorial of Saint Stephen of Hungary";
Aug[17] = "Wednesday of the Twentieth Week in Ordinary Time";
Aug[18] = "Thursday of the Twentieth Week in Ordinary Time";
Aug[19] = "Memorial of Saint John Eudes, Priest";
Aug[20] = "Memorial of Saint Bernard, Abbot and Doctor of the Church";
Aug[21] = "Twenty-First Sunday in Ordinary Time";
//Aug[21] = "Memorial of Saint Pius X, Pope";
Aug[22] = "Memorial of the Queenship of the Blessed Virgin Mary";
Aug[23] = "Memorial of Saint Rose of Lima, Virgin";
Aug[24] = "Memorial of Saint Bartholomew, Apostle";
Aug[25] = "Memorial of Saint Joseph Calasanz, Priest";
Aug[26] = "Friday of the Twenty-First Week in Ordinary Time";
Aug[27] = "Memorial of Saint Monica";
Aug[28] = "Twenty-Second Sunday in Ordinary Time";
//Aug[28] = "Memorial of Saint Augustine, Bishop and Doctor of the Church";
Aug[29] = "Memorial of the Martyrdom of Saint John the Baptist";
Aug[30] = "Tuesday of the Twenty-Second Week in Ordinary Time";
Aug[31] = "Wednesday of the Twenty-Second Week in Ordinary Time";
<!-- September 2011 -->
Sep[1] = "Thursday of the Twenty-Second Week in Ordinary Time";
Sep[2] = "Friday of the Twenty-Second Week in Ordinary Time";
Sep[3] = "Memorial of Saint Gregory the Great, pope and doctor of the Church ";
Sep[4] = "Twenty-Third Sunday in Ordinary Time";
Sep[5] = "Monday of the Twenty-Third Week in Ordinary Time";
Sep[6] = "Tuesday of the Twenty-Third Week in Ordinary Time";
Sep[7] = "Wednesday of the Twenty-Third Week in Ordinary Time";
Sep[8] = "Feast of the Nativity of the Blessed Virgin Mary";
Sep[9] = "Memorial of Saint Peter Claver";
Sep[10] = "Saturday of the Twenty-Third Week in Ordinary Time";
Sep[11] = "Twenty-Fourth Sunday in Ordinary Time";
Sep[12] = "Monday of the Twenty-Fourth Week in Ordinary Time";
Sep[13] = "Memorial of Saint John Chrysostom, bishop and doctor of the Church";
Sep[14] = "Feast of the Exaltation of the Holy Cross";
Sep[15] = "Memorial of Our Lady of Sorrows";
Sep[16] = "Memorial of Saints Cornelius, pope and martyr, and Cyprian, bishop and martyr";
Sep[17] = "Saturday of the Twenty-Fourth Week in Ordinary Time";
Sep[18] = "Twenty-Fifth Sunday in Ordinary Time<br>Catechetical Sunday";
Sep[19] = "Monday of the Twenty-Fifth Week in Ordinary Time";
Sep[20] = "Memorial of Saints Andrew Kim Taegon, priest and martyr, and Paul Chong Hasang, martyr, and their companions, martyrs";
Sep[21] = "Memorial of Saint Matthew, Apostle and evangelist";
Sep[22] = "Thursday of the Twenty-Fifth Week in Ordinary Time";
Sep[23] = "Memorial of Saint Pio of Pietrelcina, Priest";
Sep[24] = "Saturday of the Twenty-Fifth Week in Ordinary Time";
Sep[25] = "Twenty-Sixth Sunday in Ordinary Time";
Sep[26] = "Memorial of Saints Cosmas and Damian, Martyrs";
Sep[27] = "Memorial of Saint Vincent de Paul, Priest";
Sep[28] = "Memorial of Saint Wenceslaus, Martyr<br>Memorial of Saint Lawrence Ruiz and Companions, Martyrs";
Sep[29] = "Feast of Saints Michael, Gabriel, and Raphael, Archangels";
Sep[30] = "Memorial of Saint Jerome, Priest and Doctor of the Church";
<!-- October 2011 -->
Oct[1] = "Memorial of Saint Th&eacute;r&egrave;se of the Child Jesus, virgin and doctor of the Church";
//Oct[2] = "Memorial of the Guardian Angels";
Oct[2] = "Twenty-Seventh Sunday in Ordinary Time<br>Respect Life Sunday";
Oct[3] = "Memorial of Saint Theodore Guerin";
Oct[4] = "Memorial of Saint Francis of Assisi, Religious";
Oct[5] = "Wednesday of the Twenty-Seventh Week in Ordinary Time";
Oct[6] = "Memorial of Saint Bruno, Priest<br>Memorial of Blessed Marie-Rose Durocher, Virgin";
Oct[7] = "Memorial of Our Lady of the Rosary";
Oct[8] = "Saturday of the Twenty-Seventh Week in Ordinary Time";
//Oct[9] = "Memorial of Saint Denis, Bishop and Martyr, and Companions, Martyrs<br>Memorial of Saint John Leonardi, Priest";
Oct[9] = "Twenty-Eighth Sunday in Ordinary Time";
Oct[10] = "Monday of the Twenty-Eighth Week in Ordinary Time";
Oct[11] = "Memorial of Blessed John XXIII, Pope";
Oct[12] = "Wednesday of the Twenty-Eighth Week in Ordinary Time";
Oct[13] = "Thursday of the Twenty-Eighth Week in Ordinary Time";
Oct[14] = "Friday of the Twenty-Eighth Week in Ordinary Time";
Oct[15] = "Memorial of Saint Teresa of Jesus, Virgin and Doctor of the Church";
//Oct[16] = "Memorial of Saint Margaret Mary Alacoque, Virgin";
Oct[16] = "Twenty-Ninth Sunday in Ordinary Time<br>World Mission Sunday";
Oct[17] = "Memorial of Saint Ignatius of Antioch, Bishop and Martyr";
Oct[18] = "Feast of Saint Luke, Evangelist";
Oct[19] = "Memorial of Saint John de Br&eacute;beuf and Saint Isaac Jogues, Priests and Martyrs, and their Companions, Martyrs";
Oct[20] = "Memorial of Saint Paul of the Cross, Priest";
Oct[21] = "Friday of the Twenty-Ninth Week in Ordinary Time";
Oct[22] = "Saturday of the Twenty-Ninth Week in Ordinary Time";
Oct[23] = "Thirtieth Sunday in Ordinary Time";
//Oct[23] = "Memorial of Saint John of Capistrano, Priest";
Oct[24] = "Memorial of Saint Anthony Mary Claret, Bishop";
Oct[25] = "Tuesday of the Thirtieth Week in Ordinary Time";
Oct[26] = "Wednesday of the Thirtieth Week in Ordinary Time";
Oct[27] = "Feast of Saints Simon and Jude, Apostles";
Oct[28] = "Friday of the Thirtieth Week in Ordinary Time";
Oct[29] = "Saturday of the Thirtieth Week in Ordinary Time";
Oct[30] = "Thirtieth-First Sunday in Ordinary Time";
Oct[31] = "Vigil of the Solemnity of All Saints";
<!-- November 2011 -->
Nov[1] = "Solemnity of All Saints";
Nov[2] = "The Commemoration of All the Faithful Departed<br>(All Souls)";
Nov[3] = "Memorial of Saint Martin de Porres, Religious";
Nov[4] = "Memorial of Saint Charles Borromeo, Bishop";
Nov[5] = "Saturday of the Thirty-First Week in Ordinary Time";
Nov[6] = "Thirty-Second Sunday in Ordinary Time";
Nov[7] = "Monday of the Thirty-Second Week in Ordinary Time";
Nov[8] = "Tuesday of the Thirty-Second Week in Ordinary Time";
Nov[9] = "Feast of the Dedication of the Lateran Basilica in Rome";
Nov[10] = "Memorial of Saint Leo the Great, Pope and Doctor of the Church";
Nov[11] = "Memorial of Saint Martin of Tours, Bishop";
Nov[12] = "Memorial of Saint Josaphat, Bishop and Martyr";
//Nov[13] = "Memorial of Saint Frances Xavier Cabrini, Virgin";
Nov[13] = "Thirty-Third Sunday in Ordinary Time";
Nov[14] = "Monday of the Thirty-Third Week in Ordinary Time";
Nov[15] = "Memorial of Saint Albert the Great, Bishop and Doctor of the Church";
Nov[16] = "Memorial of Saint Margaret of Scotland<br>Memorial of Saint Gertrude, Virgin";
Nov[17] = "Memorial of Saint Elizabeth of Hungary, Religious";
Nov[18] = "Memorial of the Dedication of the Basilicas of Saints Peter and Paul in Rome";
Nov[19] = "Saturday of the Thirty-Third Week in Ordinary Time";
Nov[20] = "The Solemnity of Our Lord Jesus Christ the King";
Nov[21] = "Memorial of the Presentation of the Blessed Virgin Mary";
Nov[22] = "Memorial of Saint Cecilia, Virgin and Martyr";
Nov[23] = "Memorial of Saint Clement I, Pope and Martyr<br>Memorial of Saint Columban, Abbot";
Nov[24] = "Memorial of Saint Andrew Dung-Lac, Priest and Martyr, and his Companions, Martyrs<br>Thanksgiving Day"; // 2011
Nov[25] = "Memorial of Saint Catherine of Alexandria, Virgin";
Nov[26] = "Saturday of the Thirty-Fourth Week in Ordinary Time";
Nov[27] = "First Sunday of Advent"; // 2011
Nov[28] = "Monday of the First Week of Advent";
Nov[29] = "Tuesday of the First Week of Advent";
Nov[30] = "Feast of Saint Andrew, Apostle";
<!-- December 2011 -->
Dec[1] = "Thursday of the First Week of Advent";
Dec[2] = "Friday of the First Week of Advent";
Dec[3] = "Memorial of Saint Francis Xavier, Priest";
Dec[4] = "Second Sunday of Advent"; // 2011
Dec[5] = "Monday of the Second Week of Advent";
Dec[6] = "Memorial of Saint Nicholas, Bishop";
Dec[7] = "Memorial of Saint Ambrose, Bishop and Doctor of the Church";
Dec[8] = "Solemnity of the Immaculate Conception<br>of the Blessed Virgin Mary";
Dec[9] = "Memorial of Saint Juan Diego, Hermit";
Dec[10] = "Saturday of the Second Week of Advent";
Dec[11] = "Third Sunday of Advent"; // 2011
Dec[12] = "Feast of Our Lady of Guadalupe";
Dec[13] = "Memorial of Saint Lucy, Virgin and Martyr";
Dec[14] = "Memorial of Saint John of the Cross, priest and doctor of the Church";
Dec[15] = "Thursday of the Third Week in Advent";
Dec[16] = "Friday of the Third Week in Advent";
Dec[17] = "Saturday of the Third Week in Advent";
Dec[18] = "Fourth Sunday of Advent"; // 2011
Dec[19] = "Monday of the Fourth Week of Advent";
Dec[20] = "Tuesday of the Fourth Week of Advent";
Dec[21] = "Memorial of Saint Peter Canisius, Priest and Doctor";
Dec[22] = "Thursday of the Fourth Week of Advent";
Dec[23] = "Friday of the Fourth Week of Advent";
Dec[24] = "Vigil Mass -- The Nativity of the Lord (Christmas)";
Dec[25] = "Nativity of the Lord (Christmas)"; // Sunday (2011)
Dec[26] = "Feast of Saint Stephen, First Martyr";
Dec[27] = "Feast of Saint John, Apostle and Evangelist";
Dec[28] = "Feast of the Holy Innocents, Martyrs";
Dec[29] = "Memorial of Saint Thomas Becket, Bishop and Martyr";
Dec[30] = "The Sixth Day in the Octave of Christmas";
Dec[31] = "Memorial of Saint Sylvester I, Pope";

d = new Array(
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
);
m = new Array(
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
);

tod = new Date();
day = tod.getDate();
end = "th";
//day = "6" // debug

if (day==1 || day==21 || day==31) end="st";
if (day==2 || day==22) end="nd";
if (day==3 || day==23) end="rd";
day+=end;

function writeGreeting() {
	timenow=tod.getTime();
	tod.setTime(timenow);
	thehour = tod.getHours();
	display = "&nbsp;Welcome!<br>";
	document.write("</td><td width='30%' align='left' style='padding-right: 5px' bgcolor='#cc9900' height='18' class='font11pt'>");
	var greeting = ("<font color=#FEF6E2><strong>" + display);
	document.write(greeting+"&nbsp;");
	document.write("Today is "+d[tod.getDay()]+", "+m[tod.getMonth()]+" "+day);
	document.write("<td align='center' valign='middle' bgcolor='#cc9900'>");
	document.write("<img style='padding-top:3px' src='goldbullet.gif' alt='·' border='0' height='7' hspace='10' width='7'>");	document.write("</td>");
	document.write("</td><td width='55%' align='left' bgcolor='#cc9900' height='18' class='font11pt'>");
	document.write("<a href='http://www.catholicculture.org/culture/liturgicalyear/calendar/day.cfm?' class='tinynav2'><font color=#FEF6E2><strong><u>");
	if (Stamp.getMonth() == 0) 	document.write(Jan[today]);
	if (Stamp.getMonth() == 1) 	document.write(Feb[today]);
	if (Stamp.getMonth() == 2) 	document.write(Mar[today]);
	if (Stamp.getMonth() == 3) 	document.write(Apr[today]);
	if (Stamp.getMonth() == 4) 	document.write(May[today]);
	if (Stamp.getMonth() == 5) 	document.write(Jun[today]);
	if (Stamp.getMonth() == 6) 	document.write(Jul[today]);
	if (Stamp.getMonth() == 7) 	document.write(Aug[today]);
	if (Stamp.getMonth() == 8) 	document.write(Sep[today]);
	if (Stamp.getMonth() == 9) 	document.write(Oct[today]);
	if (Stamp.getMonth() == 10) document.write(Nov[today]);
	if (Stamp.getMonth() == 11) document.write(Dec[today]);
	document.write("</a></u></strong></font></td>");
}

dd = tod.getDate();
mm = tod.getMonth();
yy = tod.getYear();
zero = "0";
linkdd = "0";
linkmm = "0";

function season() {
	// determine season
	advent = false;
	advent1 = false;
	advent2 = false;
	advent3 = false;
	advent4 = false;
	lent = false;
	christmasToday = false;
	christmas = false;
	epiphany = false;
	palmsunday = false;
	triduum = false;
	holythursday = false;
	goodfriday = false;
	holysaturday = false;
	easter = false;
	eastersunday = false;
	easterweek = false;
	divinemercy = false;
	maryMotherOfGod = false;
	baptismChrist = false;
	guadalupe = false;
	sdate = "";
	startAdvent = "1128"; // 2010
	endAdvent = "1224"; // Same date every year, duh
	startAdvent1 = "1128"; // 1st week of advent 2010
	startAdvent2 = "1205"; // 2nd week of advent 2010
	startAdvent3 = "1212"; // 3rd week of advent 2010
	startAdvent4 = "1219"; // 4th week of advent 2010
	startChristmas = "1225"; // Same date every year
	endChristmas = "1302"; // 2011 Epiphany (use 13 for January for date range 								comparison with December)
	January1st = "0101"; // Same date every year
	startEpiphany = "0102"; // 2011
	endEpiphany = "0102"; // 2011
	baptismOfChrist = "0109"; // 2011
	startLent = "0309"; // 2011
	endLent = "0423"; // 2011 (incl. Holy Saturday)
	startPalmSunday = "0417"; // 2011
	endPalmSunday = "0420"; // 2011 (Wednesday before Holy Thursday)
	holyThursday = "0421"; // 2011
	goodFriday = "0422"; // 2011
	holySaturday = "0423"; // 2011
	startTriduum = "0421"; // 2011 (Holy Thursday)
	endTriduum = "0423"; // 2011 (Holy Saturday)
	startEaster = "0424"; // 2011
	endEasterWeek = "0430"; // 2011 (Saturday after Easter)
	divineMercySunday = "0501"; // 2011 (Sunday after Easter)
	endEaster = "0612"; // 2011 - Pentecost
	guadalupeFeast = "1212"; // Same date every year (skipped if Sunday)
	// "O" Antiphons - same dates every year
    oantiphon1 = "1217";
   	oantiphon2 = "1218";
	oantiphon3 = "1219";
   	oantiphon4 = "1220";
   	oantiphon5 = "1221";
   	oantiphon6 = "1222";
   	oantiphon7 = "1223";
	oantiphonstring1 = " ";
	oantiphonstring2 = " ";
	oantiphongif = "osapientia.gif";

	mm++;
	if (mm<=9) linkmm+=mm;
	else linkmm=mm;
	// Special case Internet Explorer
	if (navigator.appName.indexOf("Explorer") != -1) yy-=2000;
	else yy-=100;
	yy=zero+yy;
	if (dd<=9) linkdd+=dd;
	else linkdd=dd;

	sdate = ""+linkmm+linkdd;
	//sdate = "0208" // debug
	//document.write("sdate = "+sdate); // debug
	if (sdate >= startAdvent && sdate <= endAdvent) {
	    advent = true;
		if (sdate >= startAdvent1 && sdate < startAdvent2) {
			advent1 = true;
		}
		if (sdate >= startAdvent2 && sdate < startAdvent3) {
			advent2 = true;
		}
		if (sdate >= startAdvent3 && sdate < startAdvent4) {
			advent3 = true;
		}
		if (sdate >= startAdvent4 && sdate < startChristmas) {
			advent4 = true;
		}
	}
	if (sdate >= startChristmas && sdate <= endChristmas) {
	    christmas = true;
	}
	if (sdate == startChristmas) {
	    christmasToday = true;
	}
	if (sdate == January1st) {
	    maryMotherOfGod = true;
	}
	if (sdate >= startEpiphany && sdate <= endEpiphany) {
	    epiphany = true;
	}
	if (sdate == baptismOfChrist) {
	    baptismChrist = true;
	}
	if (sdate >= startLent && sdate <= endLent) {
	    lent = true;
	}
	if (sdate >= startPalmSunday && sdate <= endPalmSunday) {
	    palmsunday = true;
	}
	if (sdate >= startTriduum && sdate <= endTriduum) {
	    triduum = true;
	}
	if (sdate == holyThursday) {
	    holythursday = true;
	}
	if (sdate == goodFriday) {
	    goodfriday = true;
	}
	if (sdate == holySaturday) {
	    holysaturday = true;
	}
	if (sdate >= startEaster && sdate <= endEaster) {
	    easter = true;
	}
	if (sdate == startEaster) {
	    eastersunday = true;
	}
	if (sdate > startEaster && sdate <= endEasterWeek) {
	    easterweek = true;
	}
	if (sdate == divineMercySunday) {
	    divinemercy = true;
	}
	if (sdate == guadalupeFeast) {
	    guadalupe = true;
	}

	// Graphics for special occasions
    document.write("<table align='center' width='80%'>");
	if (advent1) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>First Week of Advent</span></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><IMG SRC='adventweek1.gif' WIDTH='200' HEIGHT='185' BORDER='0' ALT='1st week of advent'></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline' style='padding-bottom: 4px'><span class='goldtext'>&quot;Be vigilant at all times and pray that you have the strength to escape the tribulations that are imminent and to stand before the Son of Man.&quot;<br>(Luke 21:36)</span></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='hollybar.gif' align='center' width='532' height='25' border='0' style='padding-top: 8px'></p>");
		document.write("</tr>");
	}
	if (guadalupe) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>Feast of Our Lady of Guadalupe</span></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><IMG SRC='guadflores.jpg' WIDTH='150' HEIGHT='243' BORDER='0' ALT='Our Lady of Guadalupe'></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline' style='padding-bottom: 4px'><span class='goldtext'>&quot;A great sign appeared in the sky, a woman clothed with the sun, with the moon under her feet, and on her head a crown of twelve stars.&quot; (Rv 12:1)</span></p>");
		document.write("</td>");
		document.write("</tr>");
	} else {
		if (advent2) {
			document.write("<tr align='center'>");
			document.write("<td valign='middle' colspan='2'>");
			document.write("<p align='center' class='headline'><span class='goldtext'>Second Week of Advent</span></p>");
			document.write("</td>");
			document.write("</tr>");
			document.write("<tr align='center'>");
			document.write("<td valign='middle' colspan='2'>");
			document.write("<p align='center'><IMG SRC='adventweek2.gif' WIDTH='200' HEIGHT='185' BORDER='0' ALT='2nd week of advent'></p>");
			document.write("</td>");
			document.write("</tr>");
			document.write("<tr align='center'>");
			document.write("<td valign='middle' colspan='2'>");
			document.write("<p align='center' class='headline' style='padding-bottom: 4px'><span class='goldtext'>&quot;Prepare the way of the Lord, make straight his paths...&quot; (Luke 3:4)</span></p>");
			document.write("</td>");
			document.write("</tr>");
			document.write("<tr align='center'>");
			document.write("<td valign='middle' colspan='2'>");
			document.write("<p align='center'><img src='hollybar.gif' align='center' width='532' height='25' border='0' style='padding-top: 8px'></p>");
			document.write("</tr>");
		}
		if (advent3) {
			document.write("<tr align='center'>");
			document.write("<td valign='middle' colspan='2'>");
			document.write("<p align='center' class='headline'><span class='goldtext'>Third Week of Advent</span></p>");
			document.write("</td>");
			document.write("</tr>");
			document.write("<tr align='center'>");
			document.write("<td valign='middle' colspan='2'>");
			document.write("<p align='center'><IMG SRC='adventweek3.gif' WIDTH='200' HEIGHT='185' BORDER='0' ALT='3rd week of advent'></p>");
			document.write("</td>");
			document.write("</tr>");
			document.write("<tr align='center'>");
			document.write("<td valign='middle' colspan='2'>");
			document.write("<p align='center' class='headline' style='padding-bottom: 4px'><span class='goldtext'>&quot;I am baptizing you with water, but one mightier than I is coming.&nbsp; I am not worthy to loosen the thongs of his sandals.&nbsp; He will baptize you with the Holy Spirit and fire....&quot; (Luke 3:16)</span></p>");
			document.write("</td>");
			document.write("</tr>");
			document.write("<tr align='center'>");
			document.write("<td valign='middle' colspan='2'>");
			document.write("<p align='center'><img src='hollybar.gif' align='center' width='532' height='25' border='0' style='padding-top: 8px'></p>");
			document.write("</tr>");
		}
	}
	if (advent4) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>Fourth Week of Advent</span></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><IMG SRC='adventweek4.gif' WIDTH='200' HEIGHT='220' BORDER='0' ALT='4th week of advent'></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline' style='padding-bottom: 4px'><span class='goldtext'>&quot;Blessed are you who believed that what was spoken to you by the Lord would be fulfilled...&quot; (Luke 1:45)</span></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='hollybar.gif' align='center' width='532' height='25' border='0' style='padding-top: 8px'></p>");
		document.write("</tr>");
	}
	if (christmasToday) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>Merry Christmas!</span></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<br></br><p align='center'><IMG SRC='adventwreath.gif' align='center' hspace='8' WIDTH='199' HEIGHT='121' BORDER='0' ALT='Christmas'></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='justify' class='headline' style='padding-bottom: 4px'><span class='goldtext'>We wish all of you, our parishioners and your families a Blessed and Happy Christmas.&nbsp; May you experience the peace, joy, and contentment of knowing that you are loved by God who sent His Son to us as His gift.</span></p><p align='right' class='headline'><span class='goldtext'>Monsignor Bellew&amp Father Dhas</span></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='hollybar.gif' align='center' width='532' height='25' border='0' style='padding-top: 8px'></p>");
		document.write("</tr>");
	}
	else {
		if (christmas) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>The Season of Christmas</span></p>");
		document.write("</td>");
		document.write("</tr>");
			document.write("<tr align='center'>");
			document.write("<td valign='middle' colspan='2'>");
			document.write("<br></br><p align='justify' class='headline' style='padding-bottom: 4px'><span class='goldtext'><IMG HSPACE='10' SRC='angel.gif'  align='left' WIDTH='244' HEIGHT='231' BORDER='0' ALT='Gloria in Excelsius Deo'><br><br><br><br>We wish all of you, our parishioners and your families a Blessed and Happy Christmas.&nbsp; May you experience the peace, joy, and contentment of knowing that you are loved by God who sent His Son to us as His gift.</span></p><p align='right' class='headline'><span class='goldtext'>Monsignor Bellew &amp; Father Dhas</span></p>");
			document.write("</td>");
			document.write("</tr>");
			document.write("<tr align='center'>");
			document.write("<td valign='middle' colspan='2'>");
			document.write("<p align='center'><img src='hollybar.gif' align='center' width='532' height='25' border='0' style='padding-top:8px'></p>");
			document.write("</tr>");
		}
	}
	if (epiphany) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>Epiphany</span></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='epiphany.gif' vspace='10' width='194' height='111' border='0' alt='epiphany'></p>");
		document.write("</td>");
		document.write("</tr>");
	}
	if (maryMotherOfGod) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>The Solemnity of Mary, Mother of God</span></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='MotherOfGod.jpg' width='150' height='212' border='0' alt='Mary, Mother of God'></p>");
		document.write("</td>");
		document.write("</tr>");
	}
	if (baptismChrist) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>The Baptism of Christ</span></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='baptismChrist2.jpg' width='151' height='219' border='0' alt='Baptism of Christ'></p>");
		document.write("</td>");
		document.write("</tr>");
	}
	if (palmsunday) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>Holy Week</span></p>");
		document.write("</td>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='PalmSunday.jpg' width='300' height='248' border='0' alt='Palm Sunday'></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline' style='padding-bottom: 4px'><span class='goldtext'>Those who went in front and those who followed were shouting: &quot;Hosanna! Blessed is He who comes in the name of the LORD;<br>Blessed is the coming kingdom of our father David;<br>Hosanna in the highest!.&quot; (Mark 11:9-10)</span></p>");
		document.write("</td>");
		document.write("</tr>");
	}
	if (holythursday) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>Holy Thursday</span></p>");
		document.write("</td>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='LastSupper.jpg' width='150' height='130' border='0' alt='Holy Thursday'></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline' style='padding-bottom: 4px'><span class='goldtext'>While they were eating, He took some bread, and after a blessing He broke it, and gave it to them, and said, &quot;Take it; this is My body.&quot;&nbsp; And when He had taken a cup and given thanks, He gave it to them, and they all drank from it.&nbsp; And He said to them, &quot;This is My blood of the covenant, which is poured out for many.&nbsp;Truly I say to you, I will never again drink of the fruit of the vine until that day when I drink it new in the kingdom of God.&quot; (Mark 14:22-25)</span></p>");
		document.write("</td>");
		document.write("</tr>");
	}
	if (goodfriday) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>Good Friday of the Lord's Passion</span></p>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='crucifixion.jpg' width='206' height='284' border='0' alt='Good Friday'></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline' style='padding-bottom: 4px'><span class='goldtext'>Then they brought Him to the place Golgotha, which is translated, Place of the Skull.&nbsp; They tried to give Him wine mixed with myrrh; but He did not take it.&nbsp; And they crucified Him, and divided up His garments among themselves, casting lots for them to decide what each man should take.&nbsp; It was the third hour when they crucified Him.&nbsp; The inscription of the charge against Him read,<br>&quot;THE KING OF THE JEWS.&quot; (Mark 15:22-26)</span></p>");
		document.write("</td>");
		document.write("</tr>");
	}
	if (holysaturday) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>Holy Saturday</span></p>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='holysaturday.jpg' width='198' height='365' border='0' alt='Holy Saturday'></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline' style='padding-bottom: 4px'><span class='goldtext'>Joseph bought a linen cloth, took Him down, wrapped Him in the linen cloth and laid Him in a tomb which had been hewn out in the rock; and he rolled a stone against the entrance of the tomb.&nbsp; (Mark 15:46)</span></p>");
		document.write("</td>");
		document.write("</tr>");
	}
	if (easterweek) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='Easter.jpg' width='182' height='249' border='0' alt='He is Risen!'></p>");
		document.write("</td>");
		document.write("</tr>");
	}
	if (eastersunday) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='Easter.jpg' width='182' height='249' border='0' alt='He is Risen!'></p>");
		document.write("<p align='center'><img src='JCRisen.gif' width='307' height='57' border='0' alt='Jesus Christ is Risen Today!'></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='justify' class='headline' style='padding-top:4px'><span class='goldtext'>We greet all our parishioners and visitors with prayerful wishes for a Happy & Blessed Easter.</span></p><p align='right' class='headline' style='padding-bottom:4px'><span class='goldtext'>Monsignor Bellew &amp; Father Dhas</span></p>");
		document.write("</td>");
		document.write("</tr>");
	}
	if (divinemercy) {
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>Divine Mercy Sunday</span></p>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center'><img src='DivineMercy.jpg' width='200' height='325' border='0' alt='Jesus, I trust in you.'></p>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline'><span class='goldtext'>Merciful Jesus, I trust in you!</span></p>");
		document.write("</tr>");
	}
    document.write("</table>");

	// "O" Antiphons
	if (sdate >= oantiphon1 && sdate <= oantiphon7) {
		if (sdate == oantiphon1) {
			oantiphonstring1 = "O Sapientia";
			oantiphonstring2 = "O Wisdom, you came forth from the mouth of the Most High, and reached from end to end, and disposed of all things sweetly and mightily: Come and teach us the way of prudence.&nbsp; Amen.";
			oantiphongif = "osapientia.gif";
    	}
		if (sdate == oantiphon2) {
			oantiphonstring1 = "O Adonai";
			oantiphonstring2 = "O Lord, and leader of the house of Israel, you appeared to Moses in the flame of the burning bush and gave him the law on Sinai: Come, and with an outstretched arm, redeem us.&nbsp; Amen.";
			oantiphongif = "oadonai.gif";
    	}
		if (sdate == oantiphon3) {
			oantiphonstring1 = "O Radix Jesse";
			oantiphonstring2 = "O Root of Jesse, who stood as a sign for the people, before you kings shall remain silent, and to you the Gentiles shall make supplication: Come to deliver us, and delay not.&nbsp; Amen.";
			oantiphongif = "oradixjesse.gif";
    	}
		if (sdate == oantiphon4) {
			oantiphonstring1 = "O Clavis David";
			oantiphonstring2 = "O Key of David, and scepter of the house of Israel: you open and no one shuts; you shut and no one opens.&nbsp; Come and lead forth from his prison the captive sitting in the darkness and in the shadow of death.&nbsp; Amen.";
			oantiphongif = "oclavisdavid.gif";
    	}
		if (sdate == oantiphon5) {
			oantiphonstring1 = "O Oriens";
			oantiphonstring2 = "O Dayspring, brightness of eternal Light and Sun of Justice: Come and enlighten those who sit in darkness and in the shadow of death.&nbsp; Amen.";
			oantiphongif = "ooriens.gif";
    	}
		if (sdate == oantiphon6) {
			oantiphonstring1 = "O Rex Gentium";
			oantiphonstring2 = "O King of nations, and their Desired, the Cornerstone who make all one: Come and save our race, whom you formed out of clay.&nbsp; Amen.";
			oantiphongif = "orexgentium.gif";
    	}
		if (sdate == oantiphon7) {
			oantiphonstring1 = "O Emmanuel";
			oantiphonstring2 = "O Emmanuel, our King and Lawgiver, the Desire of all nations and their Savior: Come and save us, O Lord our God!&nbsp; Amen.";
			oantiphongif = "oemmanuel.gif";
    	}
		// Write the "O" antiphon table
   		document.write("<table align='center' width='85%' border='0'");
		document.write("<tr align='center'>");
		document.write("<td valign='middle' colspan='2'>");
		document.write("<p align='center' class='headline' style='padding-top: 4px'><span class='goldtext'>"+oantiphonstring1+"<p>");	
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr align='center'>");
		document.write("<td valign='top'>");
		document.write("<p align='justify' class='headline'><img src='"+oantiphongif+"' align='left' valign='top' width='79' height='81' border='0' style='padding-right: 8px'></p>");	
		document.write("</td>");
		document.write("<td valign='middle'>");
		document.write("<p align='justify' class='headline' style='padding-bottom: 4px'><span class='goldtext'>"+oantiphonstring2+"</p>");	
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
	}
}
//  End -->

// Navigation Bar
var ff_school = new Array(
['http://www.stmarywf.org/index.htm','School Home'],
['http://new.schoolnotes.com/xpages/view/129782/2','Mothers&rsquo; Guild&nbsp;']
);

var ff_ore = new Array(
['http://catholic-church.org/saintmarys/stmarysore.htm','Religious Education Home'],
['http://catholic-church.org/saintmarys/ejhprog.htm','Elementary &amp; Junior High Programs&nbsp;'],
['http://catholic-church.org/saintmarys/adventure.htm','A.D.V.E.N.T.U.R.E. Program '],
['http://catholic-church.org/saintmarys/sacprog.htm','Sacrament Preparation Programs&nbsp;'],
['http://catholic-church.org/saintmarys/rcia.htm','R.C.I.A. Program'],
['http://catholic-church.org/saintmarys/catechist.htm','Catechist Information'],
['http://catholic-church.org/saintmarys/homework.htm','Homework Assignments']
);

var ff_org = new Array(
['http://catholic-church.org/saintmarys/organize.htm','Organizations Home'],
['http://catholic-church.org/saintmarys/cathdau.htm','Catholic Daughters of America (CDA)&nbsp;'],
['http://www.eteamz.com/stmarys','Catholic Youth Organization (CYO)'],
['http://catholic-church.org/saintmarys/angel.htm','Christmas Tree Angel Program'],
['http://catholic-church.org/saintmarys/missemer.htm','Food Pantry'],
['http://www.kofc1646.org/','Knights of Columbus'],
['http://www.schoolnotes.com/12590/mothersguild.html','Mothers&rsquo; Guild'],
['http://www.sharednotes.com/PRESENT.ASP?op=880990000000000000&who=124&cat=122&nl=&pt=&pg=1','Music Ministry'],
['http://catholic-church.org/saintmarys/parcoun.htm','Parish Council'],
['http://catholic-church.org/saintmarys/resplife.htm','Respect Life Society'],
['http://catholic-church.org/saintmarys/teenyout.htm','Teen Group'],
['http://catholic-church.org/saintmarys/thriftshop.htm','Thrift Shop']
);

var ff_bulletin = new Array(
['http://catholic-church.org/saintmarys/0ThisWeek.pdf',thisWeek+'&nbsp;'],
['http://catholic-church.org/saintmarys/0LastWeek.pdf',lastWeek+'&nbsp;']
);

var ff_history = new Array(
['http://catholic-church.org/saintmarys/history.htm','Parish History'],
['http://catholic-church.org/saintmarys/schlhst.htm','School History&nbsp;']
);

var ff_help = new Array(
['http://catholic-church.org/saintmarys/help.htm','Help Home/FAQs'],
['http://catholic-church.org/saintmarys/helpfind.htm','Finding St. Mary&rsquo;s&nbsp;'],
['http://catholic-church.org/saintmarys/helplink.htm','Helpful Links'],
['http://catholic-church.org/saintmarys/sitemap.htm','Site Map']
);

var ff_contact = new Array(
['http://catholic-church.org/saintmarys/contact.htm','Contact Us Home'],
['mailto:ChurchStMary@aol.com','Rectory (email)'],
['mailto:sm_ore@yahoo.com','Religious Ed (email)&nbsp;'],
['mailto:catechist96@yahoo.com','Website Feedback&nbsp;']
);

var navmenus_school = new Array ();
var navmenus_ore = new Array ();
var navmenus_org = new Array ();
var navmenus_bulletin = new Array ();
var navmenus_history = new Array ();
var navmenus_help = new Array ();
var navmenus_contact = new Array ();

// tt is used to create nav_tt names for menu items
var tt = new Array(
['','',''],
[' ','school','school'],
[' ','ore','ore'],
[' ','org','org'],
[' ','bulletin','bulletin'],
[' ','history','history'],
[' ','help','help'],
[' ','contact','contact'],
[' ','more','more']
);

var dd_ns4 = (document.layers) ? 1 : 0;
var dd_ie4 = (document.all) ? 1 : 0;
var dd_dom = ((document.getElementById) && (!dd_ie4)) ? 1 : 0; // ns6
var isOver = false;
var timer = null;
var cmTop = 0;
var cmLeft = 0;

// dd_ns4 redraw on resize
if (dd_ns4) {
        origWidth = innerWidth;
        origHeight = innerHeight;
}

function reDo() {
        if (innerWidth != origWidth || innerHeight != origHeight) {location.reload();}
}

if (dd_ns4) onresize = reDo;
if (dd_dom) onload = InitObj;

document.write("<div id=\"navhome\"></div>");
	
//build dropdowns for navbar
for ( i = 1 ; i < tt.length-1 ; i++ ) {
	var ff = eval("ff_" + tt[i][1]);
	var navmenus = eval("navmenus_" + tt[i][1]);
	var divNum = "nav" + tt[i][2];
	var strDiv = "<div class=\"cmNOnavmenus\" id=\"" + divNum + "\" onMouseOver=\"OverLayer();\" onMouseOut=\"OutLayer();\">";
	strDiv = strDiv + "<table cellspacing=0 cellpadding=1 border=0><tr valign=top><td nowrap class=cmLff>";

	for ( j = 0 ; j < ff.length ; j++ ) {
		var linkString = new String(ff[j][0]);

		var linkTarget="";
		if (ff[j][2]) linkTarget=(" target='" +ff[j][2] +"'");

		strDiv = strDiv + "&nbsp\;<b>&#183\;</b>&nbsp\;<a class='navbar' href='" + ff[j][0] + "'" +linkTarget +">" + ff[j][1] + "</a><br>";
	}
	
	strDiv = strDiv + "</td></tr></table></div>\n";
	document.write(strDiv);
}

function InitObj() {
	for (i = 1; i < tt.length; i++) { 
		whichElement = "nav" + tt[i][2];
		if (dd_dom) {
			whichElement = document.getElementById(whichElement);
		}
		else {	
			whichElement = (dd_ns4) ? document.layers[whichElement] : document.all[whichElement].style;
		} 
		whichElement.onmouseover = OverLayer;
		whichElement.onmouseout = OutLayer;
	}
}
InitObj();

function ShowLayer(showElement,event) {
	if (showElement == "navhome") return;
	clearTimeout(timer);
	HideAllLayers();
	if (dd_dom) {
		var whichElement = document.getElementById(showElement);
	}
	else {	
		var whichElement = (dd_ns4) ? document.layers[showElement] : document.all[showElement].style;
	}
	whichAnchor = showElement + "A";
	if (dd_ie4) {
		if (document.all[whichAnchor]){ 
			cmTop = find_y(document.all[whichAnchor]) + 20;
			cmLeft = find_x(document.all[whichAnchor]) - 0;
			TopLeft = find_x(document.all["pagetop"]);
			TotalLeft = TopLeft + cmLeft;
		}
	}
	if (dd_ns4) {
		if (document.anchors[whichAnchor]) {
			cmTop = document.anchors[whichAnchor].y + 20;
			cmLeft = document.anchors[whichAnchor].x - 0;
			TopLeft = document.anchors["pagetop"].x;
			TotalLeft = TopLeft + cmLeft;
		}
	}
	if (dd_dom){
		if (document.anchors[whichAnchor]){
			var myObject = document.anchors[whichAnchor];
			while (myObject.offsetParent) {
				cmTop  = cmTop  + myObject.offsetTop;
				cmLeft = cmLeft + myObject.offsetLeft;
				myObject = myObject.offsetParent
			}
		}
	}
	if (dd_dom) {
		whichElement.style.visibility = "visible";
		whichElement.style.top = cmTop + 20;
                //if (cmLeft > 800) cmLeft = 800;
		whichElement.style.left = cmLeft;		
	}
	else {	
		whichElement.visibility = "visible";
		whichElement.top = cmTop;
                //if (TotalLeft > 800) TotalLeft = 800;
		whichElement.left = cmLeft;
	} 	
	cmTop = 0; cmLeft = 0;
}

function find_y(item) {
	if (item.offsetParent) {
		return item.offsetTop + find_y(item.offsetParent);
	}
	else {
		return item.offsetTop;
	}
}

function find_x(item) {
	if (item.offsetParent) {
		return item.offsetLeft + find_x(item.offsetParent);
	}
	else {
		return item.offsetLeft;
	}
}

function HideAllLayers() {
	if (dd_dom) {
		var divTemp = document.getElementsByTagName('div');
		for (i = 0; i < divTemp.length; i++) { 
			var divString = new String(divTemp[i].id);
			if (divString.indexOf('nav') != -1) divTemp[i].style.visibility = "hidden";
		}
	}	
	if (dd_ie4) {
		var divTemp = document.all.tags("div");
		for (i = 0; i < divTemp.length; i++) { 
			var divString = new String(divTemp[i].id);
			if (divString.indexOf('nav') != -1) divTemp[i].style.visibility = "hidden";
		}
	}
	if (dd_ns4) {
		for (i = 0; i < document.layers.length; i++) { 
			var divString = new String(document.layers[i].name);
			if (divString.indexOf('nav') != -1) document.layers[i].visibility = "hidden";
		}
	}
}

function OverLayer() { clearTimeout(timer); isOver = true; }

function OutLayer() { 
	clearTimeout(timer);
	isOver = false; 
	timer = setTimeout("HideAllLayers()",300);
}

function writeRCIA() {
	m2 = new Array(
	"January",
	"February",
	"March",
	"April",
	"May",
	"June",
	"July",
	"August",
	"September",
	"October",
	"November",
	"December"
	);

	rcialinkday = new Date();
	rciamonth = new Array(0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
	var Jan2 = new Array();
	var Feb2 = new Array();
	var Mar2 = new Array();
	var Apr2 = new Array();
	var May2 = new Array();
	var Jun2 = new Array();
	var Jul2 = new Array();
	var Aug2 = new Array();
	var Sep2 = new Array();
	var Oct2 = new Array();
	var Nov2 = new Array();
	var Dec2 = new Array();
	// init
	for (i=1;i<=rciamonth[1];i++) {Jan2[i]=" ";}
	for (i=1;i<=rciamonth[2];i++) {Feb2[i]=" ";}
	for (i=1;i<=rciamonth[3];i++) {Mar2[i]=" ";}
	for (i=1;i<=rciamonth[4];i++) {Apr2[i]=" ";}
	for (i=1;i<=rciamonth[5];i++) {May2[i]=" ";}
	for (i=1;i<=rciamonth[6];i++) {Jun2[i]=" ";}
	for (i=1;i<=rciamonth[7];i++) {Jul2[i]=" ";}
	for (i=1;i<=rciamonth[8];i++) {Aug2[i]=" ";}
	for (i=1;i<=rciamonth[9];i++) {Sep2[i]=" ";}
	for (i=1;i<=rciamonth[10];i++) {Oct2[i]=" ";}
	for (i=1;i<=rciamonth[11];i++) {Nov2[i]=" ";}
	for (i=1;i<=rciamonth[12];i++) {Dec2[i]=" ";}

<!-- January 2012 -->
	Jan2[3] = "Morality / Conscience / Sin:<br />Introduction to the Ten Commandments";
	Jan2[10] = "The Ten Commandments";
  	Jan2[17] = "The Beatitudes";
  	Jan2[24] = "The Virtues: Human, Theological, Fruits &amp; Gifts";
  	Jan2[31] = "Mary / The Saints / Practices of Piety";

<!-- February 2012 -->
 	Feb2[7] = "Morality / Conscience / Sin:<br />Introduction to the Ten Commandments";
 	Feb2[14] = "Prayer / How to Pray the Rosary";
 	Feb2[21] = "The Creed&hellip; What We Believe";
 	Feb2[28] = "Church History <br />Saints Through the Ages, Part 1";

<!-- March 2012 -->
 	Mar2[6] = "Church History <br />Saints Through the Ages, Part 2";
 	Mar2[13] = "Snowdate";
 	Mar2[20] = "Review: How to Go to Confession / Examination of Conscience<br />Celebrate the Sacrament of Reconciliation";
 	Mar2[27] = "Prepare for Holy Week";

	<!-- April 2012 -->
 	Apr2[3] = "Wrap Up / Preparation for the Easter Vigil <br /> How to receive Communion";
 	Apr2[17] = "Celebration!! Please come and bring your spouse/sponsor as our guests!!";
 	Apr2[24] = "Q&amp;A: Everything You Always Wanted to Know About the Catholic Faith But Were Afraid to Ask";

	<!-- October 2011 -->
	Oct2[18] = "An Introduction to the RCIA Process";
	Oct2[25] = "Church and Sacristy Tour";

	<!-- November 2011 -->
	Nov2[1] = "Sharing Our Stories / Who is God?";
	Nov2[8] = "The Bible";
	Nov2[15] = "Introduction to the Gospels";
	Nov2[22] = "Sacraments: Overview / Sacraments of Initiation";

	<!-- December 2011 -->
	Dec2[6] = "Sacraments of Healing";
	Dec2[13] = "Sacraments at the Service of Communion";
	Dec2[20] = "Understanding Advent / Prayer Service<br>Celebration";

	rciadd = rcialinkday.getDate();
	rciamm = rcialinkday.getMonth();
	rciayy = rcialinkday.getYear();
	rciacurrday = rcialinkday.getDay();
	rciayear = rciayy;
	// debug
	// rciadd = 1;
	// rciamm = 11; // December
	// rciayy = 2002;
	// rciacurrday = 3; // Wednesday 
	// end debug
	zero2 = "0";
	linkrciadd = "0";
	linkrciamm = "0";

	rciamm++;
	// Special case Internet Explorer
	if (navigator.appName.indexOf("Explorer") != -1) rciayy-=2000;
	else rciayy-=100;
	rciayy=zero2+rciayy;
	rciadd++;
	// check for leap year
	if (((rciayear % 4 == 0) && (rciayear % 100 != 0)) || (rciayear % 400 == 0)) rciamonth[2] = 29;
	// Go back to find Sunday
	for (i=0; i<=rciacurrday; i++) {
		rciadd--;
     	if (rciamm > 1 && rciadd == 0) {rciamm--; rciadd=rciamonth[rciamm];}
    	else
    	  if (rciamm == 1 && rciadd == 0) 
    	  	{rciayy--; rciayy=zero2+rciayy; rciamm="12"; rciadd=rciamonth[rciamm];}
	}
	// Go forward to Tuesday - if it is already Wednesday or later, go forward to Tuesday of next week.
	if (rciacurrday>2) {rciadd+=9;}
	else {rciadd+=2};
    // Check to see if we crossed into the next month
   	if (rciadd>rciamonth[rciamm]) {rciadd-=rciamonth[rciamm]; rciamm++;}
   	if (rciamm>11) {rciamm="1";rciayy++;rciayy=zero2+rciayy;}
   	if (rciamm<=9) {linkrciamm+=rciamm;}
	else {linkrciamm=rciamm;}

	if (rciadd<=9) {linkrciadd+=rciadd;}
	else {linkrciadd=rciadd;}
	text2 = " ";
	if (rciamm == 1) text2 = Jan2[rciadd];
	if (rciamm == 2) text2 = Feb2[rciadd];
	if (rciamm == 3) text2 = Mar2[rciadd];
	if (rciamm == 4) text2 = Apr2[rciadd];
	if (rciamm == 5) text2 = May2[rciadd];
	if (rciamm == 6) text2 = Jun2[rciadd];
	if (rciamm == 7) text2 = Jul2[rciadd];
	if (rciamm == 8) text2 = Aug2[rciadd];
	if (rciamm == 9) text2 = Sep2[rciadd];
	if (rciamm == 10) text2 = Oct2[rciadd];
	if (rciamm == 11) text2 = Nov2[rciadd];
	if (rciamm == 12) text2 = Dec2[rciadd];

	end = "th";
	if (rciadd==1 || rciadd==21 || rciadd==31) end="st";
	if (rciadd==2 || rciadd==22) end="nd";
	if (rciadd==3 || rciadd==23) end="rd";
	rciadd+=end;

	//debug
	//document.write("<font COLOR=\"339933\"><strong> rciamm - "+rciamm+"</strong></font></p>");
	//document.write("<font COLOR=\"339933\"><strong> rciadd - "+rciadd+"</strong></font></p>");
	//document.write("<font COLOR=\"339933\"><strong> text2 - "+text2+"</strong></font></p>");

	if (text2 == " " || text2 == "") 
		{document.write("There is no RCIA class this week.")}
	else {
	document.write("<p ALIGN=\"center\">The R.C.I.A. process continues on Tuesday, <strong>"+m2[rciamm-1]+" "+rciadd+"</strong><br>at 7 p.m. in the Rectory Meeting Room.</p>");
	document.write("<p ALIGN=\"center\"><strong>Topic: </strong>");
	document.write("<font COLOR=\"339933\"><strong>"+text2+"</strong></font></p>");
	}
}

function writeMapOld() {
    //<![CDATA[

   if (GBrowserIsCompatible()) {
// Create a base icon for all of our markers that specifies the shadow, icon
// dimensions, etc.
        var baseIcon = new GIcon();
        baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
        baseIcon.iconSize = new GSize(20, 34);
        baseIcon.shadowSize = new GSize(37, 34);
        baseIcon.iconAnchor = new GPoint(9, 34);
        baseIcon.infoWindowAnchor = new GPoint(9, 2);
        baseIcon.infoShadowAnchor = new GPoint(18, 25);
	
        var map = new GMap(document.getElementById("map"));
		var point = new GPoint(-73.922099, 41.605052);

// Add map control to zoom in, zoom out, etc.
        map.addControl(new GLargeMapControl());

// Add map control to toggle between Map & Satellite
        map.addControl(new GMapTypeControl());

        map.centerAndZoom(point, 4);

// Put marker on map
        var marker = new GMarker(point);
        map.addOverlay(marker, baseIcon);
	// Pop up the info window if the marker is clicked.
	GEvent.addListener(marker, "click", function() {
     	    marker.openInfoWindow(document.getElementById("infoWindow"));
	});

	map.openInfoWindow(map.getCenterLatLng(),document.getElementById("infoWindow"));

// Allow panning
        window.setTimeout(function() {
            map.recenterOrPanToLatLng(new GPoint(-73.922099, 41.605052));
        }, 2000);
    }
    //]]>
}
// End -->
// Creates a marker at the given point
function createMarker(p, l, i) {
	var marker = new GMarker(p, i);

	// Show this marker's index in the info window when it is clicked
	if (l != '') {
		GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowHtml(l);
		});
	}
	return marker;
}

function reCenter(index) {
	map.panTo(ps[index], map.getZoom());
	markers[index].openInfoWindowHtml(ls[index]);
}

function writeMap() {
    //<![CDATA[
	if (GBrowserIsCompatible()) {
		var baseIcon = new GIcon();
		baseIcon.image = "http://www.google.com/mapfiles/marker.png";
		baseIcon.iconSize = new GSize(20, 34);
		baseIcon.iconAnchor = new GPoint(9, 34);
		baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
		baseIcon.shadowSize = new GSize(37, 34);
		baseIcon.infoWindowAnchor = new GPoint(9, 2);
        baseIcon.infoShadowAnchor = new GPoint(18, 25);
	
		var map = new GMap2(document.getElementById("map"));
		
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
		
		map.setCenter(new GLatLng(41.605052, -73.922990), 15, G_HYBRID_MAP);
	
		var marker = 0;
		var markers = new Array(1);
		var ps = new Array(new GLatLng(41.605052,-73.922990));
		var ls = new Array('<nobr></nobr>');
		var is = new Array(baseIcon);
		
		for (var i = 0; i < 1; i++) {
		  markers[i] = createMarker(ps[i], ls[i], is[i]);
		  map.addOverlay(markers[i]);
		}

		var infoText = '<table width="275" border="0" cellpadding="0"><tr><td VALIGN="middle" width="27" align="right"><img src="ChurchToday.jpg" width="100" height="66" alt="St. Mary&rsquo;s Church"></td><td width="186" align="center"><span class="mapdata14">St. Mary&rsquo;s Church</span><br /><span class="mapdata">11 Clinton Street<br />Wappingers Falls, NY 12590-1529<br />(845) 297-6261</span></td><td VALIGN="middle" width="27" align="left"></td></tr></table>';

        directionText = '<p align="center"><span class="mapdata14"><span class="mapdata">To St. Mary&rsquo;s from:</span></p><form action="http://maps.google.com/maps" method="get" target="_blank">' + '<p align="center"><input type="text" SIZE=30 MAXLENGTH=50 name="saddr" id="saddr" value="" /></p>' + '<p align="center"><INPUT value="Get Directions" TYPE="SUBMIT">' + '<input type="hidden" name="daddr" value="11 Clinton Street, Wappingers Falls, NY 12590"/></p>';

		// Info window content
		var infoTabs = [
  			new GInfoWindowTab("Address", infoText),
  			new GInfoWindowTab("Directions", directionText)
		];

		// Place a marker in the center of the map 

		var marker = new GMarker(map.getCenter());
			GEvent.addListener(marker, "click", function() {
  			marker.openInfoWindowTabsHtml(infoTabs);
		});

		// Open info window automatically
		map.addOverlay(marker);
		marker.openInfoWindowTabsHtml(infoTabs);
	}
}

function writeMapThrift() {
    //<![CDATA[
	if (GBrowserIsCompatible()) {
		var baseIcon = new GIcon();
		baseIcon.image = "http://www.google.com/mapfiles/marker.png";
		baseIcon.iconSize = new GSize(20, 34);
		baseIcon.iconAnchor = new GPoint(9, 34);
		baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
		baseIcon.shadowSize = new GSize(37, 34);
		baseIcon.infoWindowAnchor = new GPoint(9, 2);
        baseIcon.infoShadowAnchor = new GPoint(18, 25);
	
		var map = new GMap2(document.getElementById("map"));
		
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
		
		map.setCenter(new GLatLng(41.604095, -73.922650), 15, G_HYBRID_MAP);
	
		var marker = 0;
		var markers = new Array(1);
		var ps = new Array(new GLatLng(41.604095,-73.922650));
		var ls = new Array('<nobr></nobr>');
		var is = new Array(baseIcon);
		
		for (var i = 0; i < 1; i++) {
		  markers[i] = createMarker(ps[i], ls[i], is[i]);
		  map.addOverlay(markers[i]);
		}

		var infoText = '<table width="275" border="0" cellpadding="0"><tr><td VALIGN="middle" width="27" align="right"><img src="ChurchToday.jpg" width="100" height="66" alt="St. Mary&rsquo;s Thrift Shop"></td><td width="186" align="center"><span class="mapdata14">St. Mary&rsquo;s Thrift Shop</span><br /><span class="mapdata">2 Convent Avenue<br />Wappingers Falls, NY 12590</span></td><td VALIGN="middle" width="27" align="left"></td></tr></table>';

        directionText = '<p align="center"><span class="mapdata14"><span class="mapdata">To St. Mary&rsquo;s from:</span></p><form action="http://maps.google.com/maps" method="get" target="_blank">' + '<p align="center"><input type="text" SIZE=30 MAXLENGTH=50 name="saddr" id="saddr" value="" /></p>' + '<p align="center"><INPUT value="Get Directions" TYPE="SUBMIT">' + '<input type="hidden" name="daddr" value="2 Convent Avenue, Wappingers Falls, NY 12590"/></p>';

		// Info window content
		var infoTabs = [
  			new GInfoWindowTab("Address", infoText),
  			new GInfoWindowTab("Directions", directionText)
		];

		// Place a marker in the center of the map 

		var marker = new GMarker(map.getCenter());
			GEvent.addListener(marker, "click", function() {
  			marker.openInfoWindowTabsHtml(infoTabs);
		});

		// Open info window automatically
		map.addOverlay(marker);
		marker.openInfoWindowTabsHtml(infoTabs);
	}
}
// End -->

function writeMapNYC() {
    //<![CDATA[
	if (GBrowserIsCompatible()) {
		var baseIcon = new GIcon();
		baseIcon.image = "http://www.google.com/mapfiles/marker.png";
		baseIcon.iconSize = new GSize(20, 34);
		baseIcon.iconAnchor = new GPoint(9, 34);
		baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
		baseIcon.shadowSize = new GSize(37, 34);
		baseIcon.infoWindowAnchor = new GPoint(9, 2);
        baseIcon.infoShadowAnchor = new GPoint(18, 25);
	
		var map = new GMap2(document.getElementById("map"));
		
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
		
		map.setCenter(new GLatLng(40.731129,-73.992233), 15);
	
		var marker = 0;
		var markers = new Array(1);
		var ps = new Array(new GLatLng(40.731129,-73.992233));
		var ls = new Array('<nobr></nobr>');
		var is = new Array(baseIcon);
		
		for (var i = 0; i < 1; i++) {
		  markers[i] = createMarker(ps[i], ls[i], is[i]);
		  map.addOverlay(markers[i]);
		}
		var infoText1 = '<table width="275" border="0" cellpadding="0"><tr><td VALIGN="middle" width="27" align="right"><img src="SetonShrine.jpg" width="90" height="68" border="0" alt="St. Elizabeth Ann Seton Shrine"></td><td width="186" align="center"><span class="mapdata14">St. Elizabeth Ann Seton Shrine</span><br /><span class="mapdata">7 State Street<br />New York, NY 10004<br />(212) 269-6865</span></td><td VALIGN="middle" width="27" align="left"></td></tr></table>';
		var infoText2 = '<table width="275" border="0" cellpadding="0"><tr><td VALIGN="middle" width="27" align="right"><img src="TrinityChurch.jpg" width="90" height="68" border="0" alt="Trinity Church"></td><td width="186" align="center"><span class="mapdata14">Trinity Church</span><br /><span class="mapdata">74 Trinity Place<br />New York, NY 10006<br />(212) 602-0800</span></td><td VALIGN="middle" width="27" align="left"></td></tr></table>';
		var infoText3 = '<table width="275" border="0" cellpadding="0"><tr><td VALIGN="middle" width="27" align="right"><img src="StPauls.jpg" width="90" height="90" border="0" alt="St. Paul&rsquo;s Chapel"></td><td width="186" align="center"><span class="mapdata14">St. Paul&rsquo;s Chapel</span><br /><span class="mapdata">209 Broadway<br />New York, NY 10007<br />(212) 602-0874</span></td><td VALIGN="middle" width="27" align="left"></td></tr></table>';
		var infoText4 = '<table width="275" border="0" cellpadding="0"><tr><td VALIGN="middle" width="27" align="right"><img src="StPeters.jpg" width="90" height="86" border="0" alt="St. Peter&rsquo;s Church"></td><td width="186" align="center"><span class="mapdata14">St. Peter&rsquo;s Church</span><br /><span class="mapdata">22 Barclay Street<br />New York, NY 10007<br />(212) 602-0874</span></td><td VALIGN="middle" width="27" align="left"></td></tr></table>';
		var infoText5 = '<table width="275" border="0" cellpadding="0"><tr><td VALIGN="middle" width="27" align="right"><img src="StPatricksOld.jpg" width="90" height="68" border="0" alt="St. Patrick&rsquo;s Old Cathedral"></td><td width="186" align="center"><span class="mapdata14">St. Patrick&rsquo;s Old Cathedral</span><br /><span class="mapdata">263 Mulberry Street<br />New York, NY 10012<br />(212) 226-8075</span></td><td VALIGN="middle" width="27" align="left"></td></tr></table>';
		var infoText6 = '<table width="275" border="0" cellpadding="0"><tr><td VALIGN="middle" width="27" align="right"><img src="StPatricksNew.jpg" width="90" height="90" border="0" alt="St. Patrick&rsquo;s Cathedral"></td><td width="186" align="center"><span class="mapdata14">St. Patrick&rsquo;s Cathedral</span><br /><span class="mapdata">460 Madison Avenue<br />New York, NY 10022<br />(212) 753-2261</span></td><td VALIGN="middle" width="27" align="left"></td></tr></table>';
		// Info window content
		var infoTabs1 = [
  			new GInfoWindowTab("Address", infoText1),
		];

		// Place a marker in the center of the map 

		var marker = new GMarker(map.getCenter());
			GEvent.addListener(marker, "click", function() {
  			marker.openInfoWindowTabsHtml(infoTabs1);
		});

		// Open info window automatically
		map.addOverlay(marker);
		marker.openInfoWindowTabsHtml(infoTabs1);
	}
}
// End -->

