
//convert date to name of a saint
var saints = new Array(1231) ;//create array for saint names
saints[000] = "St. Wimp, of XIIth Century Cornwall, Who Comforts the Bullied";//Made up
saints[101] = "St. Clarus, Invoked Against Shortsightedness";//K&R
saints[102] = "St. Basil the Great, Patron of Russia";//Cath
saints[103] = "St. Genevieve of Paris, Invoked Against Plague";//K&R
saints[104] = "St. Pharalidis, Invoked Against Childhood Illness";//K&R
saints[105] = "St. Simeon Stylites, Patron of Shepherds";//K&R
saints[106] = "St. Balthazar, Patron of Travelers";//K&R
saints[107] = "St. Aldric, Invoked Against Asthma";//K&R
saints[108] = "St. Gudula of Brussels, Invoked Against Toothache";//K&R
saints[109] = "St. Adrian of Canterbury";//Cath
saints[110] = "St. Peter Orseolo, Doge of Venice, Retired to Become a Hermit";//Epi
saints[111] = "St. Paulinus of Aquileia";//Cath
saints[112] = "St. Aelred of Rievaulx, Patron of Friendship";//Epi
//saints[112] = "St. Benet Biscop, Patron of Painters";//K&R
saints[113] = "St. Hillary of Poitiers, Invoked Against Snakebite";//K&R
saints[114] = "St. Sava of Serbia";//K&R
saints[115] = "St. Ita";//Cath
saints[116] = "St. Benard & Companions";//Cath
saints[117] = "St. Anthony the Great, Patron of Herdsmen, Invoked Against Eczema";//K&R
saints[118] = "St. Margaret of Hungary";//Epi
saints[119] = "St. Wulstan";//Cath
saints[120] = "St. Sebastian, Patron of Archers";//K&R
saints[121] = "St. Agnes, Patroness of Virgins";//K&R
saints[122] = "St. Vincent of Saragosa, Patron of Winemakers";//K&R
saints[123] = "St. Idelfonsus";//Cath
saints[124] = "St. Francis de Sales, Patron of Writers";//K&R
saints[125] = "St. Dwyn, Patron of Lovers";//K&R
saints[126] = "St. Timothy, Patron Against Stomach Disorders";//Cath
saints[127] = "St. Angela Merici";//K&R
saints[128] = "St. Thomas Aquinas, Patron of Students, Schools, and Chastity";//K&R &Sandoval
saints[129] = "St. Gildas the Wise, Invoked Against Rabies";//K&R
saints[130] = "St. Bathildis";//Cath
saints[131] = "St. John Bosco, Patron of Apprentices";//K&R
saints[201] = "St. Brigid of Ireland, Patroness of Milkmaids";//Cath
saints[202] = "St. Joan de Lestonnac";//Epi
saints[203] = "St. Blaise, Invoked Against Throat Diseases & Wild Beasts";//K&R
saints[204] = "St. Andrew Corsini, Invoked Against Quarrels";//K&R
saints[205] = "St. Agatha, Patron of Bell Ringers";//K&R
saints[206] = "St. Dorothy, Patron of Florists, Invoked Against Lightning";//K&R
saints[207] = "St. Moses, Patron of Saracens";//K&R
saints[208] = "St. Meingold, Patron of Bakers & Bankers";//K&R
saints[209] = "St. Apollonia, Patroness of Dentists";//Cath
saints[210] = "St. Scholastica, Invoked for Rain";//K&R
saints[211] = "St. Caedmon, Patron of Poets";//K&R
saints[212] = "St. Julian the Hospitaler, Patron of Innkeepers";//K&R
saints[213] = "St. Agabus, Patron of Fortune Tellers";//K&R
saints[214] = "St. Valentine, Patron of Lovers";//K&R
saints[215] = "St. Sigfrid, Patron of Sweden";//K&R
saints[216] = "St. Onesimus";//Cath
saints[217] = "St. Fintan of Cloneenagh";//Epi
saints[218] = "St. Flavian of Constantinople";//Epi
saints[219] = "St. Conrad of Piacenza, Invoked Against Famine";//K&R
saints[220] = "St. Eucherius";//Cath
saints[221] = "St. Peter Damian, Invoked Against Headache";//K&R
saints[222] = "St. Margaret of Cortona, Patroness of Fallen Women";//K&R
saints[223] = "St. Mildburga, Patroness of Birds";//K&R
saints[224] = "St. Prix";//K&R
saints[225] = "St. Walburga, Patron of Crops, Invoked Against Coughs";//K&R
saints[226] = "St. Porphyrius";//Cath
saints[227] = "St. Gabriel Possenti, Patron of College Students";//K&R
saints[228] = "St. Romanus, Invoked Against Drowning";//K&R
saints[229] = "St. Oswald of Worcester";//K&R
saints[301] = "St. David, Patron of Wales and of Poets and of Pigeons";//K&R
saints[302] = "St. Charles the Good";//Cath
saints[303] = "St. Cunegundes, Patroness of Lithuania";//Cath
saints[304] = "St. Casimir, Patron of Poland";//Cath
saints[305] = "St. Piran, Patron of Miners";//K&R
saints[306] = "St. Fridolin, Patron of Eye Doctors";//K&R
saints[307] = "St. Drusius";//K&R
saints[308] = "St. John of God, Patron of Booksellers";//K&R
saints[309] = "St. Dominic Savio, Patron of Choirboys";//K&R
saints[310] = "St. Kessog of Scotland";//K&R
saints[311] = "St. Eulogius of Cordova, Patron of Coppersmiths";//K&R
saints[312] = "St. Theophanes";//Cath
saints[313] = "St. Ansovinus, Patron of Harvests";//K&R
saints[314] = "St. Lubin, Invoked Against Rheumatism";//K&R
saints[315] = "St. Louise de Marillac, Patroness of Widows";//K&R
saints[316] = "St. Herbert, Invoked for Rain";//K&R
saints[317] = "St. Patrick, Patron of Ireland, Invoked Against Snakes";//K&R
saints[318] = "St. Cyril of Jerusalem";//Cath
saints[319] = "St. Joseph";//Cath
saints[320] = "St. Cuthbert, Patron of Sailors";//K&R
saints[321] = "St. Nicholas of Flue, Hermit & Patron of Switzerland";//Cath
saints[322] = "St. Lea";//Cath
saints[323] = "St. Turibius de Mongrovejo";//Cath
saints[324] = "St. Catherine of Sweden, Patroness Against Miscarriages";//Cath
saints[325] = "St. Dismas, Patron of Criminals";//K&R
saints[326] = "St. Ludger, Patron of Saxony";//K&R
saints[327] = "St. Rupert of Salzburg";//Cath
saints[328] = "St. Guntramnus, King of Burgundy (Who Turned Good Only Late in Life)";//Cath
saints[329] = "St. Joseph of Arimathea, Patron of Morticians";//Cath
saints[330] = "St. John Climacus";//Cath
saints[331] = "St. Benjamin";//Cath
saints[401] = "St. Hugh";//Cath
saints[402] = "St. Francis of Paolo, Patron of Sailors";//K&R
saints[403] = "St. Irene";//K&R
saints[404] = "St. Isidore of Seville";//Cath
saints[405] = "St. Vincent Ferrer, Patron of Builders";//Cath
saints[406] = "St. Notker Balbulus, Invoked Against Stammering";//K&R
saints[407] = "St. John Baptist of La Salle, Patron of Teachers";//Cath
saints[408] = "St. Walter of Pontnoise, Patron of Vintners";//K&R
saints[409] = "St. Casilda, Invoked Against Ill Luck";//K&R
saints[410] = "St. Fulbert";//Cath
saints[411] = "St. Stanislaus, Patron of Poland";//K&R
saints[412] = "St. Zeno, Patron of Fishermen";//K&R
saints[413] = "St. Carpus & St. Papylus";//Epi
saints[414] = "St. Peter Gonzalez, Patron of Sailors";//K&R
saints[415] = "St. Paternus";//Cath
saints[416] = "St. Benedict Labre, Patron of Pilgrims";//K&R
saints[417] = "St. Stephen Harding";//Cath
saints[418] = "St. Apollonius";//Cath
saints[419] = "St. Expiditus, Invoked Against Procrastination";//K&R
saints[420] = "St. Peter Martyr, Patron of Inquisitors";//K&R
saints[421] = "St. Anselm";//Cath
saints[422] = "St. Theodore of Sykeon, Invoked For or Against Rain";//K&R
saints[423] = "St. George, Patron of England & Portugal";//K&R
saints[424] = "St. Fidelis";//Cath
saints[425] = "St. Mark, Patron of Cattle Beeeders";//K&R
saints[426] = "St. Stephen of Perm";//Epi
saints[427] = "St. Zita, Patronness of Domestic Workers";//Cath
saints[428] = "St. Paul of the Cross";//Epi
saints[429] = "St. Catherine of Seina, Patroness of Italy, Invoked Against Fire";//K&R
saints[430] = "St. Wolfhard, Patron of Saddlers";//K&R
saints[501] = "St. Brieuc, Patron of Pursemakers & St. Acheul, Patron of Paleontologists";//K&R
saints[502] = "St. Athanasius";//Cath
saints[503] = "St. Theodosius of the Caves";//Epi
saints[504] = "St. Gothard";//Cath
saints[505] = "St. Jutta, Patroness of Prussia";//Cath
saints[506] = "St. Anthony Middleton";//Cath
saints[507] = "St. Domitian, Invoked Against Fever";//K&R
saints[508] = "St. Desideratus";//Cath
saints[509] = "St. Pachomius, Creator of the First Monastery";//Cath
// saints[509] = "St. Gregory of Nazianzus, Who Retired to Escape Church Administration";//Epi
saints[510] = "St. Solange, Invoked Against Drought";//Cath
saints[511] = "St. Comgall, Who Could Break Rocks by Spitting on Them";//"St. Gengulf";//K&R
saints[512] = "St. Pancras, Patron of Oaths";//K&R
saints[513] = "St. Andrew Fournet";//Cath
// saints[514] = "St. Pachomius, Creator of the First Monastery";//Epi
saints[514] = "St. Matthias, Who Succeeded Judas Iscariot<br>and First Mortified the Flesh";//Cath
saints[515] = "St. Dymphna, Invoked Against Madness";//K&R
saints[516] = "St. Brendon, Patron of Ireland";//K&R
saints[517] = "St. Madern (Madron), Invoked Against Lameness and Pain";//K&R
saints[518] = "St. Venantius, Invoked Against Falling";//K&R
saints[519] = "St. Yves, Patron of Lawyers";//Cath
saints[520] = "St. Bernardino of Siena";//K&R
saints[521] = "St. Godric";//Cath
saints[522] = "St. Rita of Cascia, Patroness of Impossible Cases";//Cath
saints[523] = "St. Didier, Invoked Against Perjury";
//saints[523] = "St. Desiderius";//Epi
saints[524] = "St. David of Scotland";//Epi
saints[525] = "St. Bede, Patron of Scholars";//K&R
saints[526] = "St. Philip Neri, Patron of Rome";//Cath
saints[527] = "St. Augustine of Canturbery, Missionary to Ethelbert & the Heathen English";//Cath
saints[528] = "St. Bernard of Montjoux, Patron of Mountain Climbers";//K&R
saints[529] = "St. Bona";//K&R
saints[530] = "St. Joan of Arc, Patroness of France";//K&R
saints[531] = "St. Petronilla, Invoked Against Ague";//K&R
saints[601] = "St. Justin, Patron of Philosophers";//K&R
saints[602] = "St. Elmo, Invoked Against Seasickness";//K&R
saints[603] = "St. Kevin, Patron of Ireland";//K&R
saints[604] = "St. Quirinus, Invoked Against Hemorrhoids";//K&R
saints[605] = "St. Boniface of Mainz, Patron of Prussia & of Brewers";//K&R
saints[606] = "St. Claude, Patron of Toymakers";//K&R
saints[607] = "St. Meriadoc, Invoked Against Deafness";//K&R
saints[608] = "St. Médard, Patron of Harvests";//K&R
saints[609] = "St. Ephraem, Patron of Syria";//K&R
saints[610] = "St. Olive of Palermo";//K&R
saints[611] = "St. Barnabus, Patron of Cyprus";//K&R
saints[612] = "St. Onuphrius, Patron of Weavers";//K&R
saints[613] = "St. Antony of Padua, Patron of the Poor, the Barren, and the Shipwrecked, Invoked to Find Lost Objects";//K&R & Sandoval
saints[614] = "St. Dogmael";//K&R
saints[615] = "St. Vitus, Patron of Dancers, Invoked Against Oversleeping";//K&R
saints[616] = "St. Benno, Patron of Weavers";//K&R
saints[617] = "St. Harvey, Invoked Against Demons";//K&R
saints[618] = "St. Alena, Invoked Against Eye Disease";//K&R
saints[619] = "St. Gervaise & St. Protasus (Cro-Magnons Mistaken for Martyrs),<br>Patrons of Haymakers & Paleontologists";//K&R
saints[620] = "St. Osana of Mantua, Patron of Schoolgirls";//K&R
saints[621] = "St. Leufredus, Invoked Against Flies<br>& St. Aloysius, Patron of Teenagers";//K&R, Sandoval
saints[622] = "St. Thomas More, Patron of Civil Servants";//K&R
saints[623] = "St. Agrippina, Invoked Against Leprosy";//K&R
saints[624] = "St. John the Baptist";//K&R
saints[625] = "St. Molaug, Invoked Against Madness";//K&R
saints[626] = "St. Pelaya";//K&R
saints[627] = "St. Lazlo, Patron of Hungary";//K&R
saints[628] = "St. Basildes";//K&R
saints[629] = "St. Peter & St. Paul";//K&R 
saints[630] = "St. Theobald of Provins, Patron of Charcoal Burners";//K&R



//saints[701] = "St. Serf, Patron of the Orkneys";//K&R
saints[701] = "St. Wimp (or Veep ver Brychan or Wennapa or Veepu, Veepus, Veepa, or Veepy), <!--of VIth Century Cornwall,--> Who Comforts the Bullied";//Action made up



saints[702] = "St. Processus, Invoked Against Demonic Possession";//K&R
saints[703] = "St. Thomas, Patron of Builders";//K&R
saints[704] = "St. Ulric, Invoked Against Mice";//K&R
saints[705] = "St. Athansius of Athos";//K&R
saints[706] = "St. Goar, Patron of Potters";//K&R
saints[707] = "St. Palladius";//K&R
saints[708] = "St. Kilian, Patron of Austria";//K&R
saints[709] = "St. Veronica Giuliani";//K&R
saints[710] = "St. Alexander & His Six Brothers";//K&R
saints[711] = "St. Benedict, Patron of Monks";//K&R
saints[712] = "St. Veronica, Patroness of Laundresses";//K&R
saints[713] = "St. Henry the Emperor, Patron of Finland";//K&R
saints[714] = "St. Procopius, Patron of Slovakia";//K&R
saints[715] = "St. Vladimir, Patron of Russia";//K&R
saints[716] = "St. Helier, Patron of Jersey";//K&R
saints[717] = "St. Alexis, Patron of Beggars";//K&R
saints[718] = "St. Arnulf of Metz, Patron of Millers";//K&R
saints[719] = "St. Justina, Patron of Seville";//K&R
saints[720] = "St. Margaret, Patron of Childbirth";//K&R
saints[721] = "St. Victor of Marseilles";//K&R
saints[722] = "St. Mary Magdalene";//K&R
saints[723] = "St. Bridget, Patroness of Sweden";//K&R
saints[724] = "St. Boris";//K&R
saints[725] = "St. Christopher, Patron of Travelers";//K&R
saints[726] = "St. Anne";//K&R
saints[727] = "St. Pantaleon, Patron of Venice & of Doctors";//K&R
saints[728] = "St. Samson of Dol";//K&R
saints[729] = "St. Olaf, Patron of Norway";//K&R
saints[730] = "St. Abdon, Patron of Barrel Makers";//K&R
saints[731] = "St. Ignatius Loyola";//K&R
saints[801] = "St. Alphonsus Mary de'Ligouri";//K&R
saints[802] = "St. Sidwell";//K&R
saints[803] = "St. Lydia";//K&R
saints[804] = "St. Sithney, Patron of Mad Dogs";//K&R
saints[805] = "St. Afra";//K&R
saints[806] = "St. Justus & St. Pastor";//K&R
saints[807] = "St. Albert of Trapani, Invoked Against Earthquakes";//K&R
saints[808] = "St. Dominic, Patron of Astronomers";//K&R
saints[809] = "St. Emygdius, Invoked Against Earthquakes";//K&R
saints[810] = "St. Besse";//K&R
saints[811] = "St. Alexander the Charcoal Burner";//K&R
saints[812] = "St. Porcarius";//K&R
saints[813] = "St. Hippolytus";//K&R
saints[814] = "St. Werenfrid, Patron of Vegetable Gardens";//K&R
saints[815] = "St. Arnulph of Soissons, Patron of Brewers";//K&R
saints[816] = "St. Stephen of Hungary";//K&R
saints[817] = "St. Hyacinth, Patroness of Lithuania";//K&R
saints[818] = "St. Helena, Patroness of Archaeologists (Ahem!)";//K&R
saints[819] = "St. Sebald, Invoked Against Freezing";//K&R
saints[820] = "St. Bernard of Clairvaux, Patron of Beekeepers";//K&R
saints[821] = "St. Bernard Tolomei, Patron of Olive Growers";//K&R
saints[822] = "St. Symphorian, Patron of Students, Invoked Against Syphilis" <!--K&R--><br>and<br>St. Guinfort, an Especially Faithful 13th Century Dog";//On-Line
saints[823] = "St. Rose of Lima";//K&R
saints[824] = "St. Bartholemew, Patron of Armenia";//K&R
saints[825] = "St. Louis, King of France";//K&R
saints[826] = "St. Teresa of Jesus, Patroness of Old PEople";//K&R
saints[827] = "St. Monida";//K&R
saints[828] = "St. Austustine of Hippo, Patron of Printers";//K&R
saints[829] = "St. Sabina";//K&R
saints[830] = "St. John Roche";//K&R
saints[831] = "St. Raymond Nonnatus, Patron of Catalonia";//K&R
saints[901] = "St. Giles, Patron of beggars & St. Fiacre, Invoked Against Hemorrhoids";//K&R
saints[902] = "St. Agricola of Avignon";//K&R
saints[903] = "St. Gregory the Great";//K&R
saints[904] = "St. Rose of Viterbo";//K&R
saints[905] = "St. Laurence Gustiani";//K&R
saints[906] = "St. Athanasius, Patron of Fullers";//K&R
saints[907] = "St. Cloud, Invoked Against Carbuncles";//K&R
saints[908] = "St. Adrian, Patron of Weaponsmakers";//K&R
saints[909] = "St. Peter Claver";//K&R
saints[910] = "St. Theodard";//K&R
saints[911] = "St. Protus &amp St. Hysacinth";//K&R
saints[912] = "St. Guy";//K&R
saints[913] = "St. John Chrysostom";//K&R
saints[914] = "St. Notburga, Patron of Peasants";//K&R
saints[915] = "St. Catherine of Genoa";//K&R
saints[916] = "St. Cornelius, Invoked Against Twitching";//K&R
saints[917] = "St. Lambert, Patron of Trussmakers";//K&R
saints[918] = "St. Ferreolus, Patron of Sick Poultry";//K&R
saints[919] = "St. Januarius, Invoked Against the Evil Eye";//K&R
//saints[920] = "St. Eustace, Patron of Hunters";//K&R
saints[920] = "St. Thecla the Virgin, Who Died Rather than Marry"
saints[921] = "St. Matthew";//K&R
saints[922] = "St. Phocas, Patron of Gardeners";//K&R
saints[923] = "St. Cadoc, Patron of the Deaf";//K&R
saints[924] = "St. Gerard, Patron of Hugnary";//K&R
saints[925] = "St. Finbar, Whose Monastery Became the City of Cork";//K&R
saints[926] = "St. Cosmas & St. Damian, Patrons of Barbers";//K&R
saints[927] = "St. Elzear & the Virgin Blessed Delphina, the Only Sainted Married Couple";//K&R
saints[928] = "St. Wenceslaus, Patron of Bohemia & of Sheep";//K&R
saints[929] = "St. Michael, Archangel and Lord over Angels, and St. Gabriel, Archangel, Messenger of God & Patron of Telecommunications, Who, With St. Michael, Prevents Satan From Entering Churches, and St. Raphael, Archangel, Patron of Travelers";//K&R
saints[930] = "St. Jerome, Patron of Librarians";//K&R
saints[1001] = "St. Theresa of Lisieux";//K&R
saints[1002] = "St. Leger (Leodegar), A Very Strict Bishop";//K&R
saints[1003] = "St. Gerard of Brogne";//K&R
saints[1004] = "St. Francis of Assisi, Patron of Animals";//K&R
saints[1005] = "St. Placid and St. Flora, Virgin, Who Displayed Many Unusual & Mysterious Favors";//K&R
saints[1006] = "St. Bruno, Invoked Against Possession";//K&R
saints[1007] = "St. Justina, Patroness of Padua & Venice";//K&R
saints[1008] = "St. Pelagia, Patroness of Actresses";//K&R
saints[1009] = "St. Denis, Patron of France, Invoked Against Frenzy";//K&R
saints[1010] = "St. Victor, Patron of Soldiers";//K&R
saints[1011] = "St. Gomer, Patron of Woodcutters";//K&R
saints[1012] = "St. Wilfrid of York";//K&R
saints[1013] = "St. Gerald of Aurillac";//K&R
saints[1014] = "St. Callistus";//K&R
saints[1015] = "St. Teresa of &Aacute;vila, Patroness of Spain";//K&R
saints[1016] = "St. Gall, Patron of Birds";//K&R
saints[1017] = "St. Ethelreda";//K&R
saints[1018] = "St. Luke";//K&R
saints[1019] = "St. Peter of Ac&aacute;ntara, Patron of Brazil";//K&R
saints[1020] = "St. Contard Ferrini";//K&R
saints[1021] = "St. Ursula, Patroness of Schoolgirls";//K&R
saints[1022] = "St. Donatus of Fiesole";//K&R
saints[1023] = "St. John of Capistrano";//K&R
saints[1024] = "St. Raphael, Patron of Apothecaries";//K&R
saints[1025] = "Sts. Crispin & Crispinian, Patrons of Shoemakers";//K&R
saints[1026] = "St. Bonavenura of Potenza";//K&R
saints[1027] = "St. Frumentius, Patron of Ethiopia";//K&R
saints[1028] = "St. Jude Thaddaeus, Cousin of Jesus<br>& Patron of Hopeless Cases";//K&R
saints[1029] = "St. Baldus, Patron of Cattle";//K&R
saints[1030] = "St. Marcellus the Centurion";//K&R
saints[1031] = "St. Wolfgang, Invoked Against Apoplexy & Wolves";//K&R
saints[1101] = " All Saints";//K&R
saints[1102] = " All Souls";//K&R
saints[1103] = "St. Mart&iacute;n de Porres & St. Winifred of Wales";//Epi
saints[1104] = "St. Charles Borromeo, Patron of Apple Orchards";//K&R
saints[1105] = "St. Elizabeth";//K&R
saints[1106] = "St. Leonard";//K&R
saints[1107] = "St. Willibrord, Patron of Holland";//K&R
saints[1108] = "Four Crowned Martyrs, Patrons of Freemasons";//K&R
saints[1109] = "St. Theodore the Recruit, Patron of Armies";//K&R
saints[1110] = "St. Andrew Avellino, Patron of Sicily, Invoked Against Sudden Death";//K&R
saints[1111] = "St. Martin of Tours, Patron of Beggars and Drunkards";//K&R
saints[1112] = "St. Josaphat, Patron of Ukraine";//K&R
saints[1113] = "St. Diego Alcal&aacute;";//K&R
saints[1114] = "St. Lawrence O'Toole";//K&R
saints[1115] = "St. Albert the Great, Patron of Scientists";//K&R
saints[1116] = "St. Gertrude of Helfta, Patroness of the West Indies";//K&R
saints[1117] = "St. Gregory the Wonderworker, Invoked Against Desperate Situations";//K&R
saints[1118] = "St. Odo of Cluny, Patron of Music";//K&R
saints[1119] = "St. Narses";//K&R
saints[1120] = "St. Bernward, Patron of Goldsmiths";//K&R
saints[1121] = "St. Gelasius I";//K&R
saints[1122] = "St. Cecilia, Patroness of Music";//K&R
saints[1123] = "St. Clement, Patron of Smiths, Tanners, & Farriers";//K&R
saints[1124] = "St. Colman of Cloyne";//K&R
saints[1125] = "St. Catherine of Alexandria, Patroness of Wheelwrights";//K&R
saints[1126] = "St. John Berchmans, Patron of Altar Boys";//K&R
saints[1127] = "St. Maximus, Patron of the Dying";//K&R
saints[1128] = "St. Catherine Labour&eacute;";//K&R
saints[1129] = "St. Saturninus";//K&R
saints[1130] = "St. Andrew, Patron of Russia, Greece & Scotland";//K&R
saints[1201] = "St. Eloi, Patron of Jewlers";//K&R
saints[1202] = "St. Bibiana";//K&R
saints[1203] = "St. Francis Xavier, Patron of China & India";//K&R
saints[1204] = "St. Barbara, Patron of Architects & St. Osmund, Patron of the Paralyzed";//K&R & Sandoval
saints[1205] = "St. Sabas";//K&R
saints[1206] = "St. Nicholas, Patron of Bakers<br>(and Christmas and Children)";//K&R
saints[1207] = "St. Ambrose";//K&R
saints[1208] = "St. Budoc";//K&R
saints[1209] = "St. Peter Fourier";//K&R
saints[1210] = "St. Eulalia, Patroness of Barcelona";//K&R
saints[1211] = "St. Damasus, Patron of Archaeologists";//K&R
saints[1212] = "the Virgin of Guadalupe";//K&R
saints[1213] = "St. Lucy, Patroness of Lamplighters";//K&R
saints[1214] = "St. John of the Cross";//K&R
saints[1215] = "St. Nino, Patron of Georgia";//K&R
saints[1216] = "St. Adelaide";//K&R
saints[1217] = "St. Olympias";//K&R
saints[1218] = "St. Winebald";//Epi
saints[1219] = "St. William of Fenoli";//K&R
saints[1220] = "St. Dominic of Silos, Invoked Against Insects";//K&R
saints[1221] = "St. Peter Canisius";//K&R
saints[1222] = "St. Chaeremon";//K&R
saints[1223] = "St. Torelac, Patron of Iceland";//K&R
saints[1224] = "St. Adam, Patron of Gardeners";//K&R
saints[1225] = "Christmas";//K&R
saints[1226] = "St. Stephen, Patron of Bricklayers & Stonemasons";//K&R
saints[1227] = "St. John the Divine, Patron of Turkey";//K&R
saints[1228] = "St. Holy Innocents";//K&R
saints[1229] = "St. Thomas à Becket";//K&R
saints[1230] = "St. Anysius";//Cath
saints[1231] = "St. Sylvester";//K&R

// Figure out the date as six-digit string
var time = new Date();
var zyr = time.getYear();
//The following two kluge lines solve Y2K problems
zyr=zyr-2000;
if(navigator.appName=="Netscape"){zyr=zyr+1900};;//Netscape counts from 1900

if (zyr >0 && zyr < 10){zyr = "0"+zyr} ;//convert year to two-digit string
if (zyr == 0){zyr="00"}
var zmo = time.getMonth();
zmo = zmo+1 ;//JS counts months from 0
if (zmo < 10){zmo = "0"+zmo} ;//convert month to two-digit string
var zda = time.getDate();
if (zda <10) {zda = "0"+zda} ;// convert day to two-digit string
var ztoday = zyr+""+zmo+""+zda;

// get saint for today
var time = new Date();
var zmo = time.getMonth();
zmo = zmo+1 ;//JS counts months from 0
var zda = time.getDate();
if (zda <10) {zda = "0"+zda} ;// convert day to two-digit string
var zday = zmo+""+zda; ;//concatenate month & day as text string (Usable later as numeric string)
var zmysaint = saints[zday]

// get saint for modified date
var timeM = new Date(document.lastModified);
var zmoM = timeM.getMonth();
zmoM = zmoM+1 ;//JS counts months from 0
var zdaM = timeM.getDate();
if (zdaM <10) {zdaM = "0"+zdaM} ;// convert day to two-digit string
var zdayM = zmoM+""+zdaM; ;//concatenate month & day as text string (Usable later as numeric string)
var zmysaintM = saints[zdayM]; 
if (zmysaintM == ""){zmysaintM= "Some Other Saint"};


document.write("<center><font color=maroon>Today's date is "+ ztoday + ", the Feast of "+ zmysaint + ".<br>")
document.write("This document was last modified on the Feast of "+ zmysaintM + ".</font></center><hr>")

