function MenuBuild()
{

is = new BrowserCheck() //Checking browser wendor and version
TE=new TreeItem(0,0,"items2","tt","");//Creating menu instance

TE=new TreeItem(0,0,"items2","tt","");
TE.xpos=30;TE.ypos=15;
TE.align="hor";
TE.bckColor="#008000";
TE.selBckColor="#ffff00";
TE.fntColor="#ffffff";
TE.selFntColor="#008000";
TE.width=250;
TE.fntSize=4;
TE.iHeight=20;
TE.imWidth=40;
//alert("after adding"+ns);

TE.A(1,0,"Sports","","_top","");
TE.A(2,0,"Directions","","_top","");
TE.A(3,0,"Parties","","_top","");
TE.A(4,0,"ClubINFO","","_top","");
TE.A(10,0,"E-mail","mailto:perringac@aol.com","","");
TE.A(11,0,"Links","","_top","");

TE.A(5,1,"Tennis","http://www.perringac.com/Tennis/index1.htm","","");
TE.A(6,1,"Soccer","http://www.perringac.com/IndoorSoccer/index1.htm","","");
TE.A(7,1,"Lacrosse","http://www.perringac.com/IndoorLacrosse/index1.htm","","");
TE.A(8,1,"RacquetBall","http://www.perringac.com/RacquetBall/index1.htm","","");
TE.A(9,1,"WallyBall","http://www.perringac.com/WallyBall/index1.htm","","");

TE.A(12,2,"Directions to Perring AC","http://www.perringac.com/Directions/index1.htm","","");
TE.A(13,2,"Maps to Perring AC","http://www.perringac.com/Directions/map.htm","","");
TE.A(14,3,"Tennis Parties","http://www.perringac.com/SpecialParties/index2.htm","","");
TE.A(20,3,"Corporate Functions","http://www.perringac.com/CorporateFunctions/index1.htm","","");
TE.A(15,3,"Birthday Parties","http://www.perringac.com/SpecialParties/index1.htm","","");
TE.A(16,4,"Club INFO","http://www.perringac.com/ClubInformation/index1.htm","","");
TE.A(17,4,"Employment","http://www.perringac.com/Employment/index1.htm","","");
TE.A(18,11,"Clarion Fountainbleau Resort","http://www.clarionoc.com","","");
TE.A(19,11,"Web Site Design","http://www.gamedaymanager.com","","");
TE.A(20,11,"Copyright Info","http://www.perringac.com/copyright.htm","","");
TE.A(21,11,"E-Mail Webmaster","mailto:elias@swabarter.com","","");

TE.width=120;
TE.arrIm="";
TE.WriteCSS();
TE.WriteDiv();

//alert("after writing");

TE.Reset();

}
function MenuInit()
{

TE.EventInit();

}
function MenuReset()
{

TE.Reset();

}