// =====================================================
//
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("08/26/2011","Supreme Council thru the 28th in Chicago") ;
i1+=1;aVOT[i1] = new f_comingevents_add("09/12/2011","Annual Meeting") ;
i1+=1;aVOT[i1] = new f_comingevents_add("09/24/2011","Testimonial Dinner") ;
i1+=1;aVOT[i1] = new f_comingevents_add("10/22/2011","Rite-Shrine") ;
i1+=1;aVOT[i1] = new f_comingevents_add("12/2/2011","Christmas at the Zoo") ;
i1+=1;aVOT[i1] = new f_comingevents_add("12/16/2011","Consistory Christmas Party") ;
i1+=1;aVOT[i1] = new f_comingevents_add("2/18/2012","Four Valley Combined Reunion") ;
// ---- i1+=1;aVOT[i1] = new f_comingevents_add("4/??/2012","Toledo-Detroit Combined Reunion") ;
// Children's Dyslexia Center Events
i1 = -1 ;
i1+=1;aCLC[i1] = new f_comingevents_add("08/04/2011","Twylite Thursday") ;
i1+=1;aCLC[i1] = new f_comingevents_add("10/01/2011","Alphabet Scrambles<br />........<a href=http://toledoaasr.ohmweb.net/graphics/20111001-alphabetscrambles.pdf target=_blank>Reservation Form</a><br />........Stone Ridge Golf Club<br />........Bowling Green") ;
i1+=1;aCLC[i1] = new f_comingevents_add("10/02/2011","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>Children's Dyslexia Center<span class=comingeventstxt>" ;
t += "<br />Contact the Children's Dyslexia 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
}


