function getHomeTop()
{
  if (page == "home") homeTop = 161;
  else homeTop = 96;
  return homeTop;
}



_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=50                // Follow scrolling Rate
_subOffsetTop=5              // Sub menu top offset
_subOffsetLeft=5            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x



with(menuStyle=new mm_style()){
onbgcolor="#99cc99";
oncolor="#000000";
offbgcolor="#999999";
offcolor="#000000";
high3dcolor="#CCCCCC";
low3dcolor="#666666";
swap3d="false";
bordercolor="#993300";
borderstyle="groove";
borderwidth=2;
separatorcolor="#FFFFFF";
separatorsize="2";
padding=3;
fontsize="10";
fontstyle="normal";
fontweight="bold";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#000000";
pageimage="menu/marker.gif";
pagebgcolor="#99cc99";
headercolor="#000000";
headerbgcolor="#999999";
subimage="menu/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}


with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=getHomeTop();
left=8;
itemwidth=115;
alwaysvisible=1;
aI("text=Overview;showmenu=Overview;");
aI("text=News;showmenu=News;");
aI("text=The Program;showmenu=Program;");
aI("text=Day in the Life;showmenu=Day in the Life;");
aI("text=Research;showmenu=Research;");
aI("text=Education;showmenu=Education;");
aI("text=Resources;showmenu=Resources;");
aI("text=Staff;showmenu=Staff;");
aI("text=Internships;url=index.php?page=internships;");
aI("text=Talk to Us;url=index.php?page=talkToUs;");
aI("text=Admissions;url=index.php?page=admissions;");
aI("text=TLC Lubbock;url=index.php?page=lubbock;offbgcolor=#99CC99;onbgcolor=#99CC99;");
aI("text=TideWay;url=http://tideway-galveston.org;offbgcolor=#99CCFF;onbgcolor=#99CCFF;");
}

with(milonic=new menuname("Overview")){
style=menuStyle;
overflow="scroll";
aI("text=About TLC;url=index.php?page=aboutTLC;");
aI("text=Location;url=index.php?page=location;");
aI("text=Mission;url=index.php?page=mission;");
aI("text=Philosophy;url=index.php?page=philosophy;");
aI("text=Vision;url=index.php?page=vision;");
aI("text=Map;url=index.php?page=map;");
}

with(milonic=new menuname("News")){
style=menuStyle;
overflow="scroll";
aI("text=Newsletter;url=index.php?page=news;");
aI("text=Robert L. Moody Prize;url=index.php?page=moody;");
aI("text=25th Anniversary;url=index.php?page=25anniversary;");
aI("text=Lubbock Grand Opening;url=index.php?page=lubbockgrandopening;");
}

with(milonic=new menuname("Program")){
style=menuStyle;
overflow="scroll";
aI("text=About the Program;url=index.php?page=aboutProgram;");
aI("text=Community Re-Entry;showmenu=Community Re-Entry;");
aI("text=Therapies;showmenu=Therapies;");
aI("text=Accreditation;url=index.php?page=accreditation;");
aI("text=Funding;url=index.php?page=funding;");
}

with(milonic=new menuname("Community Re-Entry")){
style=menuStyle;
overflow="scroll";
aI("text=About Community Re-Entry;url=index.php?page=aboutCommunityReentry;");
aI("text=Care Pathways;url=index.php?page=carePathways;");
aI("text=LiFE;url=index.php?page=life;");
aI("text=Functional Independence;url=index.php?page=functionalIndependence;");
aI("text=Return to Work;url=index.php?page=returnToWork;");
aI("text=Return to School;url=index.php?page=returnToSchool;");
}

with(milonic=new menuname("Therapies")){
style=menuStyle;
overflow="scroll";
aI("text=About Therapies;url=index.php?page=aboutTherapies;");
aI("text=Physical;url=index.php?page=physical;");
aI("text=Aquatic;url=index.php?page=aquatic;");
aI("text=Occupational;url=index.php?page=occupational;");
aI("text=Speech and Language;url=index.php?page=speechLanguage;");
aI("text=Neuropsychology;url=index.php?page=neuropsychology;");
aI("text=Vocational Services;url=index.php?page=vocational;");
aI("text=Therapeutic Recreation;url=index.php?page=therapeuticRecreation;");
/*aI("text=Pet Therapy;url=index.php?page=petTherapy;");*/
aI("text=Residential;url=index.php?page=residential;");
}





with(milonic=new menuname("Day in the Life")){
style=menuStyle;
overflow="scroll";
aI("text=Video Overview;url=index.php?page=videoOverview;");
aI("text=Virtual Tour;showmenu=Virtual Tour;");
aI("text=Video Phone Program;url=index.php?page=videoPhoneProgram;");
aI("text=Activities;url=index.php?page=activities;");
aI("text=Family Tours;url=index.php?page=familyTours;");
/*aI("text=Tele-TBI;url=index.php?page=teleTBI;");*/
}

with(milonic=new menuname("Virtual Tour")){
style=menuStyle;
overflow="scroll";
aI("text=Bedroom;url=index.php?page=bedroom;");
aI("text=Kitchen;url=index.php?page=kitchen;");
aI("text=Gym;url=index.php?page=gym;");
aI("text=Speech Lab;url=index.php?page=speechLab;");
aI("text=Residental Building;url=index.php?page=residentialBuilding;");
aI("text=TLC Patio;url=index.php?page=tlcPatio;");
aI("text=TLC Courtyard;url=index.php?page=tlcCourtyard;");
}

with(milonic=new menuname("Education")){
style=menuStyle;
overflow="scroll";
aI("text=Education Overview;url=index.php?page=educationOverview;");
aI("text=Internships;url=index.php?page=internships;");
aI("text=Family Education;url=index.php?page=familyEducation;");
aI("text=Site Tours;url=index.php?page=siteTours;");
aI("text=Continuing Education;showmenu=Continuing Education;");
aI("text=Educational Materials;url=index.php?page=educationalMaterials;");
}

with(milonic=new menuname("Continuing Education")){
style=menuStyle;
overflow="scroll";
aI("text=Seminar Information;url=index.php?page=seminarInformation;");
aI("text=Seminar Schedule;url=index.php?page=seminarSchedule;");
}

with(milonic=new menuname("Research")){
style=menuStyle;
overflow="scroll";
aI("text=Current Projects;url=index.php?page=currentProjects;");
aI("text=Outcome Research;showmenu=Outcome Research;");
aI("text=Virtual Reality;url=index.php?page=virtualReality;");
aI("text=Sleep;url=index.php?page=sleep;");
<!---aI("text=Endocrine;url=index.php?page=endocrine;"); -->
aI("text=Hypopituitary;url=index.php?page=researchHypopituitary;");
aI("text=Exercise;url=index.php?page=researchExercise;");
aI("text=Amino Acid;url=index.php?page=researchAminoAcid;");
aI("text=Presentations by Staff;url=index.php?page=presentationsTLCStaff;");
aI("text=Articles by Staff;url=index.php?page=articlesTLCStaff;");
aI("text=Books by Staff;url=index.php?page=booksTLCStaff;");
}

with(milonic=new menuname("Outcome Research")){
style=menuStyle;
overflow="scroll";
aI("text=Program Evaluation Information;url=index.php?page=programEvaluationData;");
aI("text=Client Admission and Discharge;url=index.php?page=placementData;");
aI("text=Customer Satisfaction;url=index.php?page=customerSatisfaction;");
aI("text=Injury Demographics;url=index.php?page=injuryDemographics;");
aI("text=Functional Treatment Outcomes;url=index.php?page=followUp;");
}

with(milonic=new menuname("Resources")){
style=menuStyle;
overflow="scroll";
aI("text=External Web Resources;url=index.php?page=onlineResources;");
aI("text=Multimedia;url=index.php?page=multiMedia;");
aI("text=Articles;url=index.php?page=articles;");
aI("text=Books;url=index.php?page=books;");
aI("text=Health Observances;url=index.php?page=onlineCalendar;");
aI("text=Online Chat;url=index.php?page=onlineChat;");
aI("text=Request Resources;url=index.php?page=requestItem&requestType=materials;");
}

with(milonic=new menuname("Staff")){
style=menuStyle;
overflow="scroll";
aI("text=Staff Credentials;url=index.php?page=aboutStaff;");
aI("text=Key Staff Listing;url=index.php?page=staffListing;");
aI("text=Work at TLC/Tideway;showmenu=Jobs;");
}

with(milonic=new menuname("Jobs")){
style=menuStyle;
overflow="scroll";
aI("text=Career Opportunities;url=index.php?page=jobOpenings;");
aI("text=Internships;url=index.php?page=internships;");
aI("text=Employee Benefits;url=index.php?page=benefits;");
aI("text=Employee Application;url=index.php?page=jobApplication;");
}


drawMenus();

