	var month = new Array();
	var file = new Array();

//---------------Below Updated to 2009 ----------------

// January -- 1st=NewYears(011), 6th=Epiphany(013)
	month[0] = new Array(1,	 		6,			18,		25);
	file[0] = new Array("lect011.htm", "lect013.htm", "lect015.htm", "lect017.htm");

// Febuary -- 2nd=Candlemas(119),  14th=Valentinus(122)
// -- Ash Wednesday(27) 
	month[1] = new Array(1,			8,			14,		15,		22,		25);
	file[1] = new Array("lect119.htm", "lect021.htm", "lect122.htm", "lect023.htm",  "lect025.htm",  "lect027.htm");

// March -- 16th=Montsegur(124), 24th=Gabriel(128), 25th=Annunciation(130)
// -- Easter(45) 
// -- Ash Wednesday(27) 
	month[2] = new Array(1,		8,		15,		16,		22,		29);
	file[2] = new Array("lect028.htm", "lect030.htm", "lect032.htm",  "lect124.htm", "lect034.htm", "lect036.htm");

// April  -- 25th=Mani(132)
// -- Easter(45)

// !!! 2009-4-30 This month was throwing an error -- unequal arrays, 8 x 7.  Modified to stop error.
    month[3] = new Array(1,		9,		10,	 12,  19,	25,		26);
    file[3] = new Array("lect036.htm", "lect038.htm", "lect041.htm", "goodfriday.htm", "lect045.htm", "lect132.htm", "lect049.htm");
	

// May -- 
	month[4] = new Array(1,		3,		10,		17,		21,		31);
	file[4] = new Array("lect049.htm", "lect051.htm", "lect053.htm", "lect055.htm", "lect057.htm", "lect059.htm");


// June -- 6th=Jung(135), 22nd=Uriel(137)
	month[5] = new Array(1,	6, 7,	11,		14,		21,		28);
	file[5] = new Array("lect059.htm", "lect135.htm", "lect061.htm",  "lect063.htm", "lect067.htm", "lect069.htm");


// July -- 4th=Independence(143), 22nd=Magdalen(145)
	month[6] = new Array(1,		4,	5,		12,		19,		22);
	file[6] = new Array("lect069.htm", "lect143.htm", "lect071.htm", "lect073.htm", "lect075.htm", "lect145.htm");


// August --  6th=Transfiguration(148), 15th=Assumption(149), 20th=Stephan(152)
	month[7] = new Array(1,		2,		6,		 15,	 23,	30);
	file[7] = new Array("lect145.htm", "lect079.htm", "lect148.htm", "lect149.htm", "lect085.htm", "lect087.htm");


// September -- 8th=DescentSophia(153), 29th=Michealmas(155)
	month[8] = new Array(1,		6,		8,		20,		27);
	file[8] = new Array("lect087.htm", "lect089.htm", "lect153.htm", "lect093.htm", "lect155.htm");


// October -- 4th=Francis(157),  13th=Templars(159)
	month[9] = new Array(1,		4,		11,		13,			25);
	file[9] = new Array("lect155.htm", "lect157.htm", "lect099.htm", "lect159.htm", "lect103.htm");


// November -- 1st=AllSaints(161), 2nd=AllSouls(171), 20th=GnosticSaints(162)
	month[10] = new Array(1,	2,		15,		22,		26,		29);
	file[10] = new Array("lect161.htm", "lect171.htm", "lect109.htm", "lect115.htm", "lect167.htm", "lect001.htm");


// December -- 6th=Nicholas(164), 21st=Thomas(163), 22nd=Raphael(165), 25th=Nativity(009)
	month[11] = new Array(1,	6,		13,		20,		21,		22,		25);
	file[11] = new Array("lect001.htm", "lect003.htm", "lect005.htm", "lect007.htm", "lect163.htm", "lect165.htm", "lect009.htm");

//--------------- Above updated to 2009 ----------------



	function lection() {

		var d = new Date();
		var y = d.getYear();
		var m = d.getMonth();
		var dy = d.getDate();
		var hr = d.getHours();
		var wd = d.getDay();

		var n = month[m].length;

		//if (wd == 6) //if after 7pm on Sat, display Sun.
		//{
		//	if (hr > 19)
		//	{
		//		n = n+1;
		//	}
		//}

		var lect;

		while (!lect)
		{

			if (month[m][n] <= dy)
			{
				lect = file[m][n];
			}
			else
			{
				n=n-1;
			}
		}


	window.location =  "http://www.gnosis.org/ecclesia/" + lect;
	}
