function MenuBuild()//Building and configuring menu
{

is = new BrowserCheck()//Checking browser version
TE=new TreeItem(0,0,"items2","");//creating menu object
TE.xpos=0;TE.ypos=0;//x and y position
TE.align="hor";//alignment "vert" - vertical "hor" - horizontal
TE.bckColor="#000000";//back color
TE.selBckColor="#ffffff";//back coloro for selected items
TE.fntColor="#ffffff";//font color
TE.selFntColor="#66ccff";//font color for selected items
TE.width=130;//column width
TE.fntSize=2;//font size
TE.iHeight=35;//item height

TE.bSize=0;//border width
TE.bColor="#000000";//border color




// inserting items into menu

//A(ItemID,ParentID,"name",link,status);
TE.A(1,0,"&#160;&#160;&#160;&#160;&#160;--- MENU ---","","Yoga by Design");
TE.A(2,1,"About Us","aboutus2.htm","Yoga by Design");
TE.A(3,1,"Yoga Basics","basics2.htm","Yoga by Design");
TE.A(4,1,"Dance Fitness","dance-fitness.htm","Yoga by Design");
TE.A(5,1,"Ayurveda ","ayurveda2.htm","Yoga by Design");
TE.A(6,1,"Classes","classes.htm","Yoga by Design");
TE.A(7,1,"Schedules","schedules2a.htm","Yoga by Design");
TE.A(8,1,"Resources","resources2.htm","Yoga by Design");
TE.A(9,1,"Glossary","glossary2.htm","Yoga by Design");
TE.A(10,1,"Yoga for the Heart Program","cardiac2.htm","Yoga by Design");
TE.A(11,1,"Consultations","consultations2.htm","Yoga by Design");
TE.A(12,1,"Contact Leslie","aboutus2.htm#contact","Yoga by Design");

//Sub-Menus

TE.A(13,2,"Our Mission","aboutus2.htm#Mission","Yoga by Design");
TE.A(14,2,"About the Teacher","aboutus2.htm#Teacher","Yoga by Design");
TE.A(15,2,"Testimonials","aboutus2.htm#Testimonials","Yoga by Design");

TE.A(16,3,"What is Yoga?","whatisyoga2.htm","Yoga by Design");
TE.A(17,3,"Introduction to Yoga","intro2.htm","Yoga by Design");
TE.A(18,3,"Philosophy 101","philosophy1012.htm","Yoga by Design");
TE.A(19,3,"Meditation","mantra2.htm","Yoga by Design");
TE.A(20,3,"Home Practice Guidelines","safe2.htm","Yoga by Design");
TE.A(21,3,"Yoga Therapy","yogatherapy.htm","Yoga by Design");

TE.A(22,4,"Health Benefits of Belly Dance Core","belly-dance-health-benefits.htm","Yoga by Design");
TE.A(23,4,"A Brief History of Bhangra Dance and Music","bhangra-dance-history.htm","Yoga by Design");
TE.A(24,4,"Benefits of Bhangra Dance","bhangra-dance-benefits.htm","Yoga by Design");

TE.A(25,5,"What is Ayurveda?","ayurveda2.htm#WhatisAyurveda","Yoga by Design");
TE.A(26,5,"Food and Eating","ayurveda2.htm#FoodandEating","Yoga by Design");
TE.A(27,5,"Importance of Food","ayurveda2.htm#Food","Yoga by Design");
TE.A(28,5,"Ten Rules of Eating","ayurveda2.htm#Eating","Yoga by Design");
TE.A(29,5,"Bibliography","ayurveda2.htm#Biblio","Yoga by Design");

TE.A(30,7,"Events","schedules2a.htm#Events","Yoga by Design");
TE.A(31,7,"Classes","schedules2a.htm#Classes","Yoga by Design");
TE.A(32,7,"Directions","schedules2a.htm#Directions","Yoga by Design");

TE.A(33,8,"Books","resources2.htm#Books","Yoga by Design");
TE.A(34,8,"Magazines","resources2.htm#Magazines","Yoga by Design");
TE.A(35,8,"Videos","resources2.htm#Videos","Yoga by Design");
TE.A(36,8,"Music","resources2.htm#Music","Yoga by Design");

TE.A(37,10,"Program Overview","cardiac2.htm#Overview","Yoga by Design");
TE.A(38,10,"Risk Factors","cardiac2.htm#Risk","Yoga by Design");
TE.A(39,10,"Bibliography","cardiac2.htm#Biblio","Yoga by Design");




TE.WriteCSS();
TE.WriteDiv();
//TE.Reset();-Don't place Reset in menuBuild function!!!!
}
function MenuInit()//Inits menu Events
{
TE.EventInit();
}
function Reset()//Reseting menu
{
TE.Reset();
}
