function MenuBuild()
	{
	
	is = new BrowserCheck();
	TE=new TreeItem(0,0,"items2","","");
	if(!W)W=800;
	TE.xpos=0;
	TE.ypos=112;
	TE.align="hor";
	TE.bckColor="#009900";//"#ffffff";
	TE.selBckColor="#33CCFF";
	TE.fntColor="#ffffff";
	TE.width=(W-5)/7;
	TE.selFntColor="#003681";
	if (TE.width < 140) {
		TE.width = 140;
	}
	TE.fntSize=2;TE.i=false;TE.b=false;
	TE.iHeight=20;
	TE.imWidth=0;
	TE.bSize=1;
	TE.bColor="#ffffff";
	TE.face="Arial";// font face
	TE.arrIm="";
	TE.arrIm1="";




	TE.A(1,0,"home","index.html","","","");
	TE.A(2,0,"meetings","meeting.html","","","");
	TE.A(3,0,"about us","aboutUs.html","","","");
	TE.A(4,0,"about christianity","aboutChristianity.html","","","");
	TE.A(5,0,"connecting","ministries.html","","","");
	TE.A(6,0,"coming events","comingEvents.html","","","");
	TE.A(7,0,"resources","resources.html","","","");

	TE.A(31,3,"our mission","ourGoals.html","","","");
	TE.A(32,3,"core values","ourValues.html","","","");
	TE.A(33,3,"ministry areas","ourMinistries.html","","","");
	TE.A(34,3,"staff","staff.html","","","");
	TE.A(35,3,"link churches","sisterChurches.html","","","");
	TE.A(36,3,"contact details","contactdetails.html","","","");

	
	TE.A(41,4,"available courses","courses.html","","","");
	TE.A(42,4,"what is a christian","http://www.matthiasmedia.com.au/2wtl/","new","","");

	TE.A(51,5,"men","mensMinistry.html","","","");
	TE.A(52,5,"women","womensMinistry1.html","","","");
	TE.A(53,5,"youth","youthMinistry.html","","","");
	TE.A(54,5,"children","childrensMinistry.html","","","");
	TE.A(56,5,"email us","email.html","","","");


	TE.A(71,7,"mp3 sermons","mp3.html","","","");
	

	//---------------------------


	//---------------------------
	TE.Get(1).bckColor="#009900";TE.Get(1).selBckColor="#33CCFF";
	TE.Get(2).bckColor="#009900";TE.Get(2).selBckColor="#33CCFF";
	TE.Get(3).bckColor="#009900";TE.Get(3).selBckColor="#33CCFF";
	TE.Get(4).bckColor="#009900";TE.Get(4).selBckColor="#33CCFF";
	TE.Get(5).bckColor="#009900";TE.Get(5).selBckColor="#33CCFF";
	TE.Get(6).bckColor="#009900";TE.Get(6).selBckColor="#33CCFF";
	TE.Get(7).bckColor="#009900";TE.Get(7).selBckColor="#33CCFF";
	TE.bSize=0;
	if (W < 820) {
		W = 820;
	}
	TE.width=(W)/7;

	//TE.arrIm="";
	TE.WriteCSS();
	TE.WriteDiv();

}
function MenuInit()
	{
	window.onresize= function(){window.history.go(0)};

	TE.EventInit();

}
function Reset()
	{
	TE.Reset();
}