fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=1;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
bordercolor="#eeeeee";
borderstyle="solid";
borderwidth=0;
fontfamily="tahoma";
fontsize="14px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#666666";
offbgcolor="#CCCC99";
offcolor="#000000";
onbgcolor="#D9D9B3";
oncolor="#000000";
padding=5;
pagebgcolor="#CCCC99";
pagecolor="black";
separatorcolor="#E1E1C4";
separatorsize=1;
subimagepadding=3;
}

with(milonic=new menuname("supporting")){
overflow="scroll";
style=menuStyle;
aI("text=Acknowledgments;url=supporting_acknowledgments.htm;")
aI("text=Scholarships;url=supporting_scholarships.htm;")
}

with(milonic=new menuname("opportunities")){
overflow="scroll";
style=menuStyle;
aI("text=Study Recruitment;url=opportunities_study_recruitment.html;")
aI("text=Education;url=opportunities_Courses.html;")
aI("text=Employment;url=opportunities_employment.htm;")
aI("text=External Funding Opportunities;url=opportunities_ExternalGrants.htm;")
aI("text=Student Funding;url=opportunities_student_funding.htm;")
aI("text=Volunteer;url=opportunities_volunteer.htm;")
}

with(milonic=new menuname("People")){
style=menuStyle;
aI("text=UVic Campus +;showmenu=uvic_campus;url=people_uvic_campus.htm;");
aI("text=Ladner Office;url=people_ladner.htm;");
aI("text=Research Affiliates +;showmenu=affiliates;url=people_research_affiliates.htm;");
aI("text=Advisory Board;url=people_advisory_board.htm;");
}

with(milonic=new menuname("uvic_campus")){
style=menuStyle;
aI("text=Faculty Housed at the Centre on Aging;url=people_faculty_housed_at_coag.htm;");
aI("text=Staff;url=people_staff.htm;");
aI("text=Students;url=people_students.htm;");
aI("text=Alphabetical List of Faculty and Staff at Sedgwick A Wing;url=people_uvic_alphabetical.htm;");
}

with(milonic=new menuname("affiliates")){
style=menuStyle;
aI("text=UVic Research Affiliates;url=people_uvic_research_affiliates.htm;");
aI("text=External Research Affiliates;url=people_external_research_affiliates.htm;");
}

with(milonic=new menuname("resources")){
style=menuStyle;
aI("text=Centre on Aging Report;url=resources_coag_report.htm;");
aI("text=Newsletter;url=resources_newsletter.htm;");
aI("text=Assessment Instruments;url=resources_AssessmentInstruments.html;");
aI("text=Datasets;url=resources_databases.htm;");
aI("text=Presentations;url=resources_presentations.htm;");
aI("text=Publications + ;showmenu=publications;url=resources_publications.htm");
aI("text=Senior Friendly Consent Forms + ;showmenu=consent_form;url=resources_consent_forms.htm");
aI("text=Student Portal;url=http://www.coag.uvic.ca/students;");
aI("text=Survey Reseach Centre;url=resources_src.htm;");
aI("text=Research Areas;url=resources_research_areas.htm;");
aI("text=Research Projects;url=resources_research_projects.htm;");
aI("text=Videos;url=resources_videos.htm;");
}

with(milonic=new menuname("consent_form")){
style=menuStyle;
aI("text=Senior-friendly Ethics Consent Letter (PDF);url=resources/consent_forms/UVicConsentTemplateSept17_2010.pdf;");
aI("text=Senior-friendly Ethics Consent Letter for Joint UVic/VIHA applications (PDF);url=resources/consent_forms/Joint_UVic_ VIHA_consent_template_Sept17_2010.pdf");
}


with(milonic=new menuname("publications")){
style=menuStyle;
aI("text=Centre on Aging Review;url=resources_coag_review.htm;");
aI("text=Program on Aging;url=resources_program_on_aging.htm;");
aI("text=Research Reports;url=resources_research_reports.htm;");
aI("text=Research Projects;url=resources_research_projects.htm;");
}

with(milonic=new menuname("comm_partners")){
overflow="scroll";
style=menuStyle;
aI("text=Business Award;url=community_business_award.htm;")
aI("text=CDSMP;showmenu=cdsmp;")
aI("text=VIPAC-COACH;url=/vipac-coach/index.htm;")
aI("text=Friends;url=community_friends.htm;")
aI("text=UVRA;showmenu=uvra;")
aI("text=VERA;showmenu=vera;")
}

with(milonic=new menuname("vera")){
overflow="scroll";
style=menuStyle;
aI("text=Valued Elder Recognition Award;url=community_vera.htm;")
}

with(milonic=new menuname("cdsmp")){
overflow="scroll";
style=menuStyle;
aI("text=Chronic Disease Self-Management Program;url=http://web.uvic.ca/~pmcgowan/research/cdsmp;")
}

with(milonic=new menuname("uvra")){
overflow="scroll";
style=menuStyle;
aI("text=University of Victoria Retirees Association;url=http://web.uvic.ca/retirees;")
}

with(milonic=new menuname("bcnar")){
overflow="scroll";
style=menuStyle;
aI("text=BC Network for Aging Research;url=community_bcnar.htm;")
}

with(milonic=new menuname("coach")){
overflow="scroll";
style=menuStyle;
aI("text=Centre on Aging - Continuing Health Services Collaborative Research Unit;url=community_coach.htm;")
}

drawMenus();


