// =====================================================
//
aVOT = new Array() ;	// holds vot coming events
aCLC = new Array() ;	// holds clc coming events

function f_comingevents()
{
// Valley of Toledo Events
i1 = -1 ;
i1+=1;aVOT[i1] = new f_comingevents_add("07/24/2010","Annual Picnic") ;
i1+=1;aVOT[i1] = new f_comingevents_add("08/20/2010","Lyceum Cinema \"Bridge Over The River Kwai\"") ;
i1+=1;aVOT[i1] = new f_comingevents_add("08/28/2010","thru 8/31 - Supreme Council") ;
i1+=1;aVOT[i1] = new f_comingevents_add("09/13/2010","Annual Meeting") ;
i1+=1;aVOT[i1] = new f_comingevents_add("09/17/2010","Lyceum Cinema \"Rob Roy\"") ;
i1+=1;aVOT[i1] = new f_comingevents_add("09/18/2010","Testimonial Dinner") ;
i1+=1;aVOT[i1] = new f_comingevents_add("10/22/2010","Lyceum Cinema \"The Kingdom of Heaven\"") ;
i1+=1;aVOT[i1] = new f_comingevents_add("11/12/2010","Agape Dinner") ;
i1+=1;aVOT[i1] = new f_comingevents_add("11/13/2010","Fall Reunion") ;
i1+=1;aVOT[i1] = new f_comingevents_add("12/11/2010","Xmas Gathering") ;
i1+=1;aVOT[i1] = new f_comingevents_add("12/17/2010","Consistory Xmas Party") ;
// Learning Center Events
i1 = -1 ;
i1+=1;aCLC[i1] = new f_comingevents_add("10/03/2010","Walk-A-Thon") ;

// ----
tdy = new Date ;
t = "" ;
t += "<p class=comingeventshdr>Coming Events<span class=comingeventstxt>" ;

for ( i2 in aVOT )
	{
	if ( tdy <= aVOT[i2].date )
		{
		t += "<br /><b>" + aVOT[i2].date.toDateString() + "</b><br />&nbsp;&nbsp;&nbsp;&nbsp;" + aVOT[i2].desc ;
		}
	}
t += "</span></p>" ;

// ----
t += "<p class=comingeventshdr>Learning Center<span class=comingeventstxt>" ;
t += "<br />Contact the Learning Center for information." ;

for ( i2 in aCLC )
	{
	if ( tdy <= aCLC[i2].date )
		{
		t += "<br /><b>" + aCLC[i2].date.toDateString() + "</b><br />&nbsp;&nbsp;&nbsp;&nbsp;" + aCLC[i2].desc ;
		}
	}
t += "</span></p>" ;

return t ;
}

// =====================================================
//
//
function f_comingevents_add(pDate, pDesc) 
{
this.date = new Date(pDate + " 23:59:59 ") ;
this.desc = pDesc ;

return
}

