/*JavaScript File for Left Column Menu - Dynamically Generated*/
//Menu definition for Small Claims
window.mnuSmallClaims = CreateMenu('root',180);
mnuSmallClaims.addMenuItem('Información general',"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('Requisitos y cuotas',"location='Content.aspx?page=small_claims_filing_and_fees'");
mnuSmallClaims.addMenuItem('Notificación judicial',"location='Content.aspx?page=small_claims_service_information'");
mnuSmallClaims.addMenuItem('Consejos/Consejero',"location='Content.aspx?page=small_claims_advice_advisor'");

//Menu definition for Civil
window.mnuCivil = CreateMenu('root',180);
mnuCivil.addMenuItem('Departamento de lo Civil',"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('Requisitos y cuotas',"location='Content.aspx?page=civil_filing_fees'");
mnuCivil.addMenuItem('Presentación por fax',"location='Content.aspx?page=civil_fax_and_filing'");
mnuCivil.addMenuItem('Información sobre R.A.D.',"location='Content.aspx?page=civil_adr_information'");
mnuCivil.addMenuItem('Ventanilla para investigación',"location='Content.aspx?page=civil_research_window'");

//Menu definition for Criminal
window.mnuCriminal = CreateMenu('root',180);
mnuCriminal.addMenuItem('Servicios, de lo Penal',"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('Apelaciones, de lo Penal',"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('Tribunal de Tránsito',"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('Juicio en el Tribunal de Tránsito',"location='Content.aspx?page=traffic_trial'");
mnuTraffic.addMenuItem('Pago de la infracción',"location='Content.aspx?page=traffic_pay_citation'");
mnuTraffic.addMenuItem('Inscripción a la escuela de tránsito',"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('Derecho Familiar',"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('Ordenes de Prohibición',"location='Content.aspx?page=family_law_restraining_orders'");
mnuFamilyLaw.addMenuItem('Terminología Jurídica',"location='Content.aspx?page=family_law_definitions'");
mnuFamilyLaw.addMenuItem('Facilitador de Derecho Familiar',"location='Content.aspx?page=family_law_facilitator'");
mnuFamilyLaw.addMenuItem('Manutención infantil',"location='Content.aspx?page=family_law_child_support'");
mnuFamilyLaw.addMenuItem('Mediación',"location='Content.aspx?page=family_law_mediation'");
mnuFamilyLaw.addMenuItem('Clases de Paternidad',"location='Content.aspx?page=family_law_parenting'");

//Menu definition for Juvenile
window.mnuJuvenile = CreateMenu('root',180);
mnuJuvenile.addMenuItem('Tribunal de Menores',"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('Intérpretes',"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('Derecho Testamentario',"location='Content.aspx?page=probate_overview_of_services'");
mnuProbate.addMenuItem('Forms',"location='Forms.aspx?id=6'");
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('Calculator Tools',"location='Content.aspx?page=calculator_tools'");

//Menu definition for Appeals
window.mnuAppeals = CreateMenu('root',180);
mnuAppeals.addMenuItem('Apelaciones, repaso',"location='Content.aspx?page=appeals_overview'");
mnuAppeals.addMenuItem('Forms',"location='Forms.aspx?id=7'");
mnuAppeals.addMenuItem('Appeals FAQ\'s',"location='Faqs.aspx?id=8'");

//Menu definition for Self Help
window.mnuSelfHelp = CreateMenu('root',180);
mnuSelfHelp.addMenuItem('Facilitador de Derecho Familiar, Repaso',"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('Centro de Auto Ayuda, Repaso',"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('Talleres',"location='Content.aspx?page=self_help_workshops'");
mnuSelfHelp.addMenuItem('Terminología y Glosario de Derecho Familiar',"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('Gran Jurado',"location='Content.aspx?page=grand_jury_overview'");
mnuGrandJury.addMenuItem('Informes Finales',"location='Content.aspx?page=grand_jury_final_reports'");
mnuGrandJury.addMenuItem('Gran Jurado de lo Civil',"location='Content.aspx?page=civil_grand_jury'");
mnuGrandJury.addMenuItem('Gran Jurado de lo Penal',"location='Content.aspx?page=criminal_grand_jury'");
mnuGrandJury.addMenuItem('Gran Jurado y miembros alternos',"location='Content.aspx?page=grand_jury_members'");
mnuGrandJury.addMenuItem('Formularios para quejas',"location='Content.aspx?page=grand_jury_complaint_form'");
mnuGrandJury.addMenuItem('Proceso de Insaculación',"location='Content.aspx?page=selection_process'");

//Menu definition for Rules of Court
window.mnuRulesOfCourt = CreateMenu('root',180);
mnuRulesOfCourt.addMenuItem('Reglamentos del Tribunal',"location='Content.aspx?page=court_rules_overview'");
mnuRulesOfCourt.addMenuItem('Resumen de Cambios',"location='Content.aspx?page=rules_summary_of_changes'");
mnuRulesOfCourt.addMenuItem('Reglamentos',"location='Content.aspx?page=court_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('Domicilio en Modesto',"location='Content.aspx?page=contact_locations_modesto_juzgado'");
mnuContact.addMenuItem('Causas IV-D y Derecho Familiar',"location='Content.aspx?page=contact_locations_iv_d'");
mnuContact.addMenuItem('Sucursal del Tribunal en Turlock',"location='Content.aspx?page=contact_locations_turlock_division'");
mnuContact.addMenuItem('Tribunal de Tránsito',"location='Content.aspx?page=contact_locations_traffic'");
mnuContact.addMenuItem('Tribunal de Menores',"location='Content.aspx?page=contact_locations_juvenile_court'");
mnuContact.addMenuItem('Sucursal del Tribunal en Ceres',"location='Content.aspx?page=contact_locations_ceres'");
mnuContact.addMenuItem('City Towers, Asuntos de lo Civil',"location='Content.aspx?page=city_towers'");
mnuContact.addMenuItem('Family_Law_Guard_Conserv_Adopt_Juv_Dep',"location='Content.aspx?page=domestic_custody'");

//Menu definition for General Information
window.mnuGeneralInfo = CreateMenu('root',180);
mnuGeneralInfo.addMenuItem('Información general',"location='Content.aspx?page=general_info_overview'");
mnuGeneralInfo.addMenuItem('Administración',"location='Content.aspx?page=general_info_administration'");
mnuGeneralInfo.addMenuItem('Judicatura',"location='Content.aspx?page=general_info_judicial_bench'");
mnuGeneralInfo.addMenuItem('Números telefónicos',"location='Content.aspx?page=general_info_telephone_numbers'");
mnuGeneralInfo.addMenuItem('Instrucciones de documentación',"location='Content.aspx?page=general_info_document_guidelines'");
mnuGeneralInfo.addMenuItem('Court Transcripts Request',"location='CourtTranscriptsRequest.aspx'");
mnuGeneralInfo.addMenuItem('Minutas',"location='Content.aspx?page=meeting_minutes'");
mnuGeneralInfo.addMenuItem('Servicios especiales para el público',"location='Content.aspx?page=special_public_services'");
mnuGeneralInfo.addMenuItem('Murales',"location='Content.aspx?page=murals'");
mnuGeneralInfo.addMenuItem('Public Access',"location='JudicialAdministrativeRecordsAccess.aspx'");
mnuGeneralInfo.addMenuItem('El Día de Información Legal',"location='Content.aspx?page=law_day'");

//Menu definition for ADR Information
window.mnuADRInfo = CreateMenu('root',180);
mnuADRInfo.addMenuItem('Repaso de R.A.D.',"location='Content.aspx?page=adr_info_overview_of_adr'");
mnuADRInfo.addMenuItem('Mediación Voluntaria',"location='Content.aspx?page=adr_info_voluntary_mediation'");
mnuADRInfo.addMenuItem('Evaluación Neutral',"location='Content.aspx?page=adr_info_neutral_evaluation'");
mnuADRInfo.addMenuItem('Arbitraje Judicial',"location='Content.aspx?page=adr_info_judicial_arbitration'");
mnuADRInfo.addMenuItem('Lista de mediadores',"location='Content.aspx?page=adr_info_mediation_panel'");
mnuADRInfo.addMenuItem('Mediadores',"location='Content.aspx?page=mediators'");
mnuADRInfo.addMenuItem('Formularios locales',"location='Content.aspx?page=local_forms'");

//Menu definition for Public Information
window.mnuPublicInformation = CreateMenu('root',180);
mnuPublicInformation.addMenuItem('Judicial Administrative Records',"location='Content.aspx?page=judicial_administrative_records'");

//Now Write the dhtml menus
writeMenus();
