/*JavaScript File for Left Column Menu - Dynamically Generated*/
//Menu definition for Small Claims
window.mnuSmallClaims = CreateMenu('root',180);
mnuSmallClaims.addMenuItem('Overview of Small Claims',"location='Content.aspx?page=small_claims_overview'");
mnuSmallClaims.addMenuItem('Forms',"location='Forms.aspx?id=9'");
mnuSmallClaims.addMenuItem('FAQ\'s',"location='Faqs.aspx?id=10'");
mnuSmallClaims.addMenuItem('Filing Requirements/Fees',"location='Content.aspx?page=small_claims_filing_and_fees'");
mnuSmallClaims.addMenuItem('Mediation',"location='Content.aspx?page=mediation'");
mnuSmallClaims.addMenuItem('Service Information',"location='Content.aspx?page=small_claims_service_information'");
mnuSmallClaims.addMenuItem('Advice/Advisor',"location='Content.aspx?page=small_claims_advice_advisor'");

//Menu definition for Civil
window.mnuCivil = CreateMenu('root',180);
mnuCivil.addMenuItem('Overview of Civil Services',"location='Content.aspx?page=civil_overview_of_services'");
mnuCivil.addMenuItem('Civil Forms',"location='Forms.aspx?id=1'");
mnuCivil.addMenuItem('FAQ\'s',"location='Faqs.aspx?id=1'");
mnuCivil.addMenuItem('Filing Requirements/Fees',"location='Content.aspx?page=civil_filing_fees'");
mnuCivil.addMenuItem('Fax Filings',"location='Content.aspx?page=civil_fax_and_filing'");
mnuCivil.addMenuItem('ADR Information',"location='Content.aspx?page=civil_adr_information'");
mnuCivil.addMenuItem('Research Window',"location='Content.aspx?page=civil_research_window'");

//Menu definition for Criminal
window.mnuCriminal = CreateMenu('root',180);
mnuCriminal.addMenuItem('Overview of Services - Criminal',"location='Content.aspx?page=criminal_overview_of_services'");
mnuCriminal.addMenuItem('Forms',"location='Forms.aspx?id=2'");
mnuCriminal.addMenuItem('FAQ\'s',"location='Faqs.aspx?id=2'");
mnuCriminal.addMenuItem('Bail Schedule',"location='Content.aspx?page=bail_schedule'");
mnuCriminal.addMenuItem('Appeals',"location='Content.aspx?page=criminal_appeals'");
mnuCriminal.addMenuItem('Criminal Glossary',"location='Content.aspx?page=criminal_glossary'");

//Menu definition for Traffic
window.mnuTraffic = CreateMenu('root',180);
mnuTraffic.addMenuItem('Overview of Traffic Services',"location='Content.aspx?page=traffic_overview_of_services'");
mnuTraffic.addMenuItem('Forms',"location='Forms.aspx?id=10'");
mnuTraffic.addMenuItem('FAQ\'s',"location='Faqs.aspx?id=3'");
mnuTraffic.addMenuItem('Trial',"location='Content.aspx?page=traffic_trial'");
mnuTraffic.addMenuItem('Sign Up for Traffic School',"location='Content.aspx?page=sign_up_for_traffic_school'");
mnuTraffic.addMenuItem('Pay Traffic Citation Online',"location='Locate_Fines.aspx'");

//Menu definition for Family Law
window.mnuFamilyLaw = CreateMenu('root',180);
mnuFamilyLaw.addMenuItem('Overview of Services',"location='Content.aspx?page=family_law_overview_of_services'");
mnuFamilyLaw.addMenuItem('Forms',"location='Forms.aspx?id=3'");
mnuFamilyLaw.addMenuItem('FAQ\'s',"location='Faqs.aspx?id=5'");
mnuFamilyLaw.addMenuItem('Restraining Orders',"location='Content.aspx?page=family_law_restraining_orders'");
mnuFamilyLaw.addMenuItem('Definitions',"location='Content.aspx?page=family_law_definitions'");
mnuFamilyLaw.addMenuItem('Facilitator',"location='Content.aspx?page=family_law_facilitator'");
mnuFamilyLaw.addMenuItem('Child Support',"location='Content.aspx?page=family_law_child_support'");
mnuFamilyLaw.addMenuItem('Mediation',"location='Content.aspx?page=family_law_mediation'");
mnuFamilyLaw.addMenuItem('Parenting Classes',"location='Content.aspx?page=family_law_parenting'");

//Menu definition for Juvenile
window.mnuJuvenile = CreateMenu('root',180);
mnuJuvenile.addMenuItem('Overview of Services',"location='Content.aspx?page=juvenile_overview_of_services'");
mnuJuvenile.addMenuItem('Forms',"location='Forms.aspx?id=5'");
mnuJuvenile.addMenuItem('FAQ\'s',"location='Faqs.aspx?id=6'");

//Menu definition for Court Interpreters
window.mnuCourtInterpreters = CreateMenu('root',180);
mnuCourtInterpreters.addMenuItem('Overview of Services',"location='Content.aspx?page=court_interpreters_overview_of_services'");
mnuCourtInterpreters.addMenuItem('Forms',"location='Forms.aspx?id=8'");
mnuCourtInterpreters.addMenuItem('FAQ\'s',"location='Faqs.aspx?id=9'");

//Menu definition for Probate
window.mnuProbate = CreateMenu('root',180);
mnuProbate.addMenuItem('Overview of Services',"location='Content.aspx?page=probate_overview_of_services'");
mnuProbate.addMenuItem('Forms',"location='Forms.aspx?id=6'");
mnuProbate.addMenuItem('Calculator Tools',"location='Content.aspx?page=calculator_tools'");
mnuProbate.addMenuItem('Probate Notes',"location='Content.aspx?page=probate_notes'");
mnuProbate.addMenuItem('Probate FAQ\'s',"location='Faqs.aspx?id=7'");
mnuProbate.addMenuItem('Adoption FAQ\'s',"location='faqs.aspx?id=15'");
mnuProbate.addMenuItem('Conservatorship\'s FAQ\'s',"location='faqs.aspx?id=16'");
mnuProbate.addMenuItem('Emancipation FAQ\'s',"location='faqs.aspx?id=17'");
mnuProbate.addMenuItem('Guardianship FAQ\'s',"location='faqs.aspx?id=18'");
mnuProbate.addMenuItem('Probate Glossary',"location='Content.aspx?page=probate_glossary'");

//Menu definition for Appeals
window.mnuAppeals = CreateMenu('root',180);
mnuAppeals.addMenuItem('Overview of Appeals',"location='Content.aspx?page=appeals_overview'");
mnuAppeals.addMenuItem('Forms',"location='Forms.aspx?id=7'");
mnuAppeals.addMenuItem('FAQ\'s',"location='Faqs.aspx?id=8'");

//Menu definition for Self Help
window.mnuSelfHelp = CreateMenu('root',180);
mnuSelfHelp.addMenuItem('Family Law Facilitator Overview',"location='Content.aspx?page=self_help_family_law_facilitator'");
mnuSelfHelp.addMenuItem('>> Family Law Forms',"location='Forms.aspx?id=12'");
mnuSelfHelp.addMenuItem('>> Family Law FAQ\'s',"location='Faqs.aspx?id=12'");
mnuSelfHelp.addMenuItem('Self Help Center Overview',"location='Content.aspx?page=self_help_center'");
mnuSelfHelp.addMenuItem('>> Self Help Forms',"location='Forms.aspx?id=13'");
mnuSelfHelp.addMenuItem('>> Self Help FAQ\'s',"location='Faqs.aspx?id=13'");
mnuSelfHelp.addMenuItem('>> Workshops and Clinics',"location='Content.aspx?page=self_help_workshops'");
mnuSelfHelp.addMenuItem('>> Self Help Definitions',"location='Content.aspx?page=self_help_definitions'");

/*JavaScript File for Left Column Menu - Dynamically Generated*/
//Menu definition for Grand Jury
window.mnuGrandJury = CreateMenu('root',180);
mnuGrandJury.addMenuItem('Overview',"location='Content.aspx?page=grand_jury_overview'");
mnuGrandJury.addMenuItem('Final Reports',"location='Content.aspx?page=grand_jury_final_reports'");
mnuGrandJury.addMenuItem('Civil Grand Jury',"location='Content.aspx?page=civil_grand_jury'");
mnuGrandJury.addMenuItem('Criminal Grand Jury',"location='Content.aspx?page=criminal_grand_jury'");
mnuGrandJury.addMenuItem('Civil Grand Jury Members',"location='Content.aspx?page=grand_jury_members'");
mnuGrandJury.addMenuItem('Complaint Form',"location='Content.aspx?page=grand_jury_complaint_form'");
mnuGrandJury.addMenuItem('Selection/Application Process',"location='Content.aspx?page=selection_process'");

//Menu definition for Rules of Court
window.mnuRulesOfCourt = CreateMenu('root',180);
mnuRulesOfCourt.addMenuItem('Rules Overview',"location='Content.aspx?page=court_rules_overview'");
mnuRulesOfCourt.addMenuItem('Summary of Changes',"location='Content.aspx?page=rules_summary_of_changes'");
mnuRulesOfCourt.addMenuItem('Local Rules',"location='Content.aspx?page=local_rules'");

//Menu definition for Employment
window.mnuEmployment = CreateMenu('root',180);
mnuEmployment.addMenuItem('Opportunities',"location='Employment.aspx'");
mnuEmployment.addMenuItem('Employment FAQ\'s',"location='faqs.aspx?id=14'");

//Menu definition for Contact/Locations
window.mnuContact = CreateMenu('root',180);
mnuContact.addMenuItem('Modesto',"location='Content.aspx?page=contact_locations_modesto_juzgado'");
mnuContact.addMenuItem('City Towers - Civil',"location='Content.aspx?page=city_towers_civil'");
mnuContact.addMenuItem('IV-D',"location='Content.aspx?page=contact_locations_iv_d'");
mnuContact.addMenuItem('Turlock/Division',"location='Content.aspx?page=contact_locations_turlock_division'");
mnuContact.addMenuItem('Traffic',"location='Content.aspx?page=contact_locations_traffic'");
mnuContact.addMenuItem('Juvenile Court',"location='Content.aspx?page=contact_locations_juvenile_court'");
mnuContact.addMenuItem('Ceres',"location='Content.aspx?page=contact_locations_ceres'");
mnuContact.addMenuItem('City Towers - Small Claims',"location='Content.aspx?page=city_towers_small_claims'");
mnuContact.addMenuItem('City Towers - Probate',"location='Content.aspx?page=city_towers_probate'");
mnuContact.addMenuItem('Guardianships',"location='Content.aspx?page=contact_locations_guardianships'");
mnuContact.addMenuItem('Conservatorships',"location='Content.aspx?page=contact_locations_conservatorships'");
mnuContact.addMenuItem('Adoptions',"location='Content.aspx?page=contact_locations_adoptions'");
mnuContact.addMenuItem('Family Law',"location='Content.aspx?page=contact_locations_family_law'");
mnuContact.addMenuItem('Juvenile Dependency',"location='Content.aspx?page=contact_locations_juvenile_dependency'");

//Menu definition for General Information
window.mnuGeneralInfo = CreateMenu('root',180);
mnuGeneralInfo.addMenuItem('General Information Overview',"location='Content.aspx?page=general_info_overview'");
mnuGeneralInfo.addMenuItem('Administration',"location='Content.aspx?page=general_info_administration'");
mnuGeneralInfo.addMenuItem('Judicial Bench',"location='Content.aspx?page=general_info_judicial_bench'");
mnuGeneralInfo.addMenuItem('Telephone Numbers',"location='Content.aspx?page=general_info_telephone_numbers'");
mnuGeneralInfo.addMenuItem('Document Guidelines',"location='Content.aspx?page=general_info_document_guidelines'");
mnuGeneralInfo.addMenuItem('Court Transcripts Request',"location='CourtTranscriptsRequest.aspx'");
mnuGeneralInfo.addMenuItem('Meeting Minutes',"location='Content.aspx?page=meeting_minutes'");
mnuGeneralInfo.addMenuItem('Special Public Services',"location='Content.aspx?page=special_public_services'");
mnuGeneralInfo.addMenuItem('Murals',"location='Content.aspx?page=murals'");
mnuGeneralInfo.addMenuItem('Legislative Update',"location='Content.aspx?page=legislative_update'");
mnuGeneralInfo.addMenuItem('Disposal Notice',"location='Content.aspx?page=disposal_notice'");
mnuGeneralInfo.addMenuItem('Law Day',"location='Content.aspx?page=law_day'");

//Menu definition for ADR Information
window.mnuADRInfo = CreateMenu('root',180);
mnuADRInfo.addMenuItem('Overview of ADR',"location='Content.aspx?page=adr_info_overview_of_adr'");
mnuADRInfo.addMenuItem('Voluntary Mediation',"location='Content.aspx?page=adr_info_voluntary_mediation'");
mnuADRInfo.addMenuItem('Neutral Evaluation',"location='Content.aspx?page=adr_info_neutral_evaluation'");
mnuADRInfo.addMenuItem('Judicial Arbitration',"location='Content.aspx?page=adr_info_judicial_arbitration'");
mnuADRInfo.addMenuItem('Mediation Panel',"location='Content.aspx?page=adr_info_mediation_panel'");
mnuADRInfo.addMenuItem('Mediators',"location='Content.aspx?page=mediators'");
mnuADRInfo.addMenuItem('Local Forms',"location='Content.aspx?page=local_forms'");

//Menu definition for Media
window.mnuBtnMedia = CreateMenu('root',180);
mnuBtnMedia.addMenuItem('Media Overview',"location='Content.aspx?page=media'");
mnuBtnMedia.addMenuItem('High Profile Case Information',"location='Content.aspx?page=high_profile_case_info'");
mnuBtnMedia.addMenuItem('Media Glossary',"location='Content.aspx?page=media_glossary'");

//Menu definition for Public Information
window.mnuPublicInformation = CreateMenu('root',180);
mnuPublicInformation.addMenuItem('Judicial Administrative Records',"location='Content.aspx?page=judicial_administrative_records'");
mnuPublicInformation.addMenuItem('JAR Request Form',"location='Content.aspx?page=jar_request_form'");

//Menu definition for Public Information
window.mnuPublicInformation = CreateMenu('root',180);
mnuPublicInformation.addMenuItem('Judicial Administrative Records',"location='Content.aspx?page=judicial_administrative_records'");
mnuPublicInformation.addMenuItem('JAR Request Form',"location='Content.aspx?page=jar_request_form'");

//Now Write the dhtml menus
writeMenus();
