﻿// Provides the content of the main menu.

function mmLoadMenus(rootPath) {
    if (window.mm_menu_home) return;
    
    window.mm_menu_home = new Menu("root",170,23,"Tahoma",11,"#FFFFFF","#FFFFFF","#339F41","#00520A","left","middle",3,1,300,-2,2,true,true,true,5,false,false);
    mm_menu_home.addMenuItem("Propri&eacute;taires&nbsp;priv&eacute;s","location='"+rootPath+"privateowners.aspx'");
    mm_menu_home.addMenuItem("Ing&eacute;nieurs&nbsp;et&nbsp;techniciens","location='"+rootPath+"technicians.aspx'");
    mm_menu_home.addMenuItem("Acheteurs&nbsp;de&nbsp;bois","location='"+rootPath+"woodbuyers.aspx'");
    mm_menu_home.addMenuItem("Camionneurs","location='"+rootPath+"transporters.aspx'");
    mm_menu_home.addMenuItem("Investisseurs","location='"+rootPath+"investors.aspx'");
    mm_menu_home.fontWeight="bold";
    mm_menu_home.hideOnMouseOut=true;
    mm_menu_home.bgColor='#1C6F1D';
    mm_menu_home.menuBorder=1;
    mm_menu_home.menuLiteBgColor='#5BB56B';
    mm_menu_home.menuBorderBgColor='#00520A';
    
    window.mm_menu_software = new Menu("root",150,23,"Tahoma",11,"#FFFFFF","#FFFFFF","#339F41","#00520A","left","middle",3,1,300,-2,2,true,true,true,5,false,false);
    mm_menu_software.addMenuItem("Comparaison&nbsp;des&nbsp;offres","location='"+rootPath+"software/offerscomparison.aspx'");
    mm_menu_software.addMenuItem("Gestion&nbsp;de&nbsp;la&nbsp;r&eacute;colte","location='"+rootPath+"software/harvestmanagement.aspx'");
    mm_menu_software.addMenuItem("Autres&nbsp;fonctions","location='"+rootPath+"software/otherfunctions.aspx'");
    mm_menu_software.fontWeight="bold";
    mm_menu_software.hideOnMouseOut=true;
    mm_menu_software.bgColor='#1C6F1D';
    mm_menu_software.menuBorder=1;
    mm_menu_software.menuLiteBgColor='#5BB56B';
    mm_menu_software.menuBorderBgColor='#00520A';

    window.mm_menu_forestry_species = new Menu("Essences [A-E]", 140, 23, "Tahoma", 11, "#FFFFFF", "#FFFFFF", "#339F41", "#00520A", "left", "middle", 3, 1, 300, -2, 2, true, true, true, 5, false, false);
    mm_menu_forestry_species.addMenuItem("Bouleau&nbsp;blanc", "location='" + rootPath + "forestry/whitebirch.aspx'");
    mm_menu_forestry_species.addMenuItem("Bouleau&nbsp;jaune", "location='" + rootPath + "forestry/yellowbirch.aspx'");
    mm_menu_forestry_species.addMenuItem("Caryer", "location='" + rootPath + "forestry/hickory.aspx'");
    mm_menu_forestry_species.addMenuItem("Cèdre&nbsp;blanc", "location='" + rootPath + "forestry/whitecedar.aspx'");
    mm_menu_forestry_species.addMenuItem("Cerisier", "location='" + rootPath + "forestry/cherrytree.aspx'");
    mm_menu_forestry_species.addMenuItem("Chêne&nbsp;blanc", "location='" + rootPath + "forestry/whiteoak.aspx'");
    mm_menu_forestry_species.addMenuItem("Chêne&nbsp;rouge", "location='" + rootPath + "forestry/redoak.aspx'");
    mm_menu_forestry_species.addMenuItem("Épinette&nbsp;blanche", "location='" + rootPath + "forestry/whitespruce.aspx'");
    mm_menu_forestry_species.addMenuItem("Épinette&nbsp;noire", "location='" + rootPath + "forestry/blackspruce.aspx'");
    mm_menu_forestry_species.addMenuItem("Épinette&nbsp;de&nbsp;Norvège", "location='" + rootPath + "forestry/birdnestspruce.aspx'");
    mm_menu_forestry_species.addMenuItem("Épinette&nbsp;rouge", "location='" + rootPath + "forestry/redspruce.aspx'");
    mm_menu_forestry_species.addMenuItem("Érables", "location='" + rootPath + "forestry/maples.aspx'");
    mm_menu_forestry_species.addMenuItem("Érable&nbsp;argenté", "location='" + rootPath + "forestry/silvermaple.aspx'");
    mm_menu_forestry_species.addMenuItem("Érable&nbsp;giguère", "location='" + rootPath + "forestry/manitobamaple.aspx'");
    mm_menu_forestry_species.addMenuItem("Érable&nbsp;à sucre", "location='" + rootPath + "forestry/sugarmaple.aspx'");
    mm_menu_forestry_species.addMenuItem("Érable&nbsp;noir", "location='" + rootPath + "forestry/blackmaple.aspx'");
    mm_menu_forestry_species.addMenuItem("Érable&nbsp;rouge", "location='" + rootPath + "forestry/redmaple.aspx'");
    mm_menu_forestry_species.fontWeight = "bold";
    mm_menu_forestry_species.hideOnMouseOut = true;
    mm_menu_forestry_species.bgColor = '#1C6F1D';
    mm_menu_forestry_species.menuBorder = 1;
    mm_menu_forestry_species.menuLiteBgColor = '#5BB56B';
    mm_menu_forestry_species.menuBorderBgColor = '#00520A';

    window.mm_menu_forestry_species2 = new Menu("Essences [F-Z]", 140, 23, "Tahoma", 11, "#FFFFFF", "#FFFFFF", "#339F41", "#00520A", "left", "middle", 3, 1, 300, -2, 2, true, true, true, 5, false, false);
    mm_menu_forestry_species2.addMenuItem("Frêne", "location='" + rootPath + "forestry/ash.aspx'");
    mm_menu_forestry_species2.addMenuItem("Hêtre", "location='" + rootPath + "forestry/beech.aspx'");
    mm_menu_forestry_species2.addMenuItem("Mélèze", "location='" + rootPath + "forestry/larch.aspx'");
    mm_menu_forestry_species2.addMenuItem("Noyer&nbsp;cendré", "location='" + rootPath + "forestry/butternut.aspx'");
    mm_menu_forestry_species2.addMenuItem("Noyer&nbsp;noir", "location='" + rootPath + "forestry/blackwalnut.aspx'");
    mm_menu_forestry_species2.addMenuItem("Orme", "location='" + rootPath + "forestry/elm.aspx'");
    mm_menu_forestry_species2.addMenuItem("Pin&nbsp;blanc", "location='" + rootPath + "forestry/whitepine.aspx'");
    mm_menu_forestry_species2.addMenuItem("Pin&nbsp;rouge", "location='" + rootPath + "forestry/redpine.aspx'");
    mm_menu_forestry_species2.addMenuItem("Pin&nbsp;gris", "location='" + rootPath + "forestry/greypine.aspx'");
    mm_menu_forestry_species2.addMenuItem("Pruche", "location='" + rootPath + "forestry/hemlock.aspx'");
    mm_menu_forestry_species2.addMenuItem("Robinier", "location='" + rootPath + "forestry/locust.aspx'");
    mm_menu_forestry_species2.addMenuItem("Sapin", "location='" + rootPath + "forestry/fir.aspx'");
    mm_menu_forestry_species2.addMenuItem("Saule", "location='" + rootPath + "forestry/willow.aspx'");
    mm_menu_forestry_species2.addMenuItem("Tilleul", "location='" + rootPath + "forestry/linden.aspx'");
    mm_menu_forestry_species2.addMenuItem("Tremble", "location='" + rootPath + "forestry/aspen.aspx'");
    mm_menu_forestry_species2.fontWeight = "bold";
    mm_menu_forestry_species2.hideOnMouseOut = true;
    mm_menu_forestry_species2.bgColor = '#1C6F1D';
    mm_menu_forestry_species2.menuBorder = 1;
    mm_menu_forestry_species2.menuLiteBgColor = '#5BB56B';
    mm_menu_forestry_species2.menuBorderBgColor = '#00520A';

    window.mm_menu_forestry_soils = new Menu("Sols", 140, 23, "Tahoma", 11, "#FFFFFF", "#FFFFFF", "#339F41", "#00520A", "left", "middle", 3, 1, 300, -2, 2, true, true, true, 5, false, false);
    mm_menu_forestry_soils.addMenuItem("Les&nbsp;sols", "location='" + rootPath + "forestry/soils.aspx'");
    mm_menu_forestry_soils.addMenuItem("Acidité", "location='" + rootPath + "forestry/soilacidity.aspx'");
    mm_menu_forestry_soils.addMenuItem("Azote", "location='" + rootPath + "forestry/soilnitrogen.aspx'");
    mm_menu_forestry_soils.addMenuItem("Champignons", "location='" + rootPath + "forestry/soilfungus.aspx'");
    mm_menu_forestry_soils.addMenuItem("Compost", "location='" + rootPath + "forestry/soilcompost.aspx'");
    mm_menu_forestry_soils.addMenuItem("Nutriments", "location='" + rootPath + "forestry/soilnutrients.aspx'");
    mm_menu_forestry_soils.fontWeight = "bold";
    mm_menu_forestry_soils.hideOnMouseOut = true;
    mm_menu_forestry_soils.bgColor = '#1C6F1D';
    mm_menu_forestry_soils.menuBorder = 1;
    mm_menu_forestry_soils.menuLiteBgColor = '#5BB56B';
    mm_menu_forestry_soils.menuBorderBgColor = '#00520A';

    window.mm_menu_forestry_climate = new Menu("Climat", 165, 23, "Tahoma", 11, "#FFFFFF", "#FFFFFF", "#339F41", "#00520A", "left", "middle", 3, 1, 300, -2, 2, true, true, true, 5, false, false);
    mm_menu_forestry_climate.addMenuItem("Désertification", "location='" + rootPath + "forestry/climatedesertification.aspx'");
    mm_menu_forestry_climate.addMenuItem("Gas&nbsp;carbonique", "location='" + rootPath + "forestry/climateco2.aspx'");
    mm_menu_forestry_climate.addMenuItem("Pollution", "location='" + rootPath + "forestry/climatepollution.aspx'");
    mm_menu_forestry_climate.addMenuItem("Réchauffement&nbsp;climatique", "location='" + rootPath + "forestry/climateglobalwarming.aspx'");
    mm_menu_forestry_climate.fontWeight = "bold";
    mm_menu_forestry_climate.hideOnMouseOut = true;
    mm_menu_forestry_climate.bgColor = '#1C6F1D';
    mm_menu_forestry_climate.menuBorder = 1;
    mm_menu_forestry_climate.menuLiteBgColor = '#5BB56B';
    mm_menu_forestry_climate.menuBorderBgColor = '#00520A';

    window.mm_menu_forestry_physiology = new Menu("Physiologie", 140, 23, "Tahoma", 11, "#FFFFFF", "#FFFFFF", "#339F41", "#00520A", "left", "middle", 3, 1, 300, -2, 2, true, true, true, 5, false, false);
    mm_menu_forestry_physiology.addMenuItem("Croissance", "location='" + rootPath + "forestry/physiologygrowth.aspx'");
    mm_menu_forestry_physiology.addMenuItem("Hormones", "location='" + rootPath + "forestry/physiologyhormones.aspx'");
    mm_menu_forestry_physiology.addMenuItem("Mouvements", "location='" + rootPath + "forestry/physiologymovements.aspx'");
    mm_menu_forestry_physiology.addMenuItem("Photosynthèse", "location='" + rootPath + "forestry/physiologyphotosynthesis.aspx'");
    mm_menu_forestry_physiology.addMenuItem("Autres&nbsp;fonctions", "location='" + rootPath + "forestry/physiologyothers.aspx'");
    mm_menu_forestry_physiology.fontWeight = "bold";
    mm_menu_forestry_physiology.hideOnMouseOut = true;
    mm_menu_forestry_physiology.bgColor = '#1C6F1D';
    mm_menu_forestry_physiology.menuBorder = 1;
    mm_menu_forestry_physiology.menuLiteBgColor = '#5BB56B';
    mm_menu_forestry_physiology.menuBorderBgColor = '#00520A';

    window.mm_menu_forestry_techniques = new Menu("Techniques de travail", 150, 23, "Tahoma", 11, "#FFFFFF", "#FFFFFF", "#339F41", "#00520A", "left", "middle", 3, 1, 300, -2, 2, true, true, true, 5, false, false);
    mm_menu_forestry_techniques.addMenuItem("Conseils&nbsp;pratiques", "location='" + rootPath + "forestry/practicaltips.aspx'");
    mm_menu_forestry_techniques.addMenuItem("Comment&nbsp;voir&nbsp;sa&nbsp;forêt", "location='" + rootPath + "forestry/howtoseeforest.aspx'");
    mm_menu_forestry_techniques.addMenuItem("Élagage", "location='" + rootPath + "forestry/pruning.aspx'");
    mm_menu_forestry_techniques.addMenuItem("Maximiser&nbsp;la&nbsp;croissance", "location='" + rootPath + "forestry/maximizegrowth.aspx'");
    mm_menu_forestry_techniques.addMenuItem("Facteurs&nbsp;de&nbsp;croissance", "location='" + rootPath + "forestry/growthfactors.aspx'");
    mm_menu_forestry_techniques.fontWeight = "bold";
    mm_menu_forestry_techniques.hideOnMouseOut = true;
    mm_menu_forestry_techniques.bgColor = '#1C6F1D';
    mm_menu_forestry_techniques.menuBorder = 1;
    mm_menu_forestry_techniques.menuLiteBgColor = '#5BB56B';
    mm_menu_forestry_techniques.menuBorderBgColor = '#00520A';
    
    window.mm_menu_forestry = new Menu("root", 150, 23, "Tahoma", 11, "#FFFFFF", "#FFFFFF", "#339F41", "#00520A", "left", "middle", 3, 1, 300, -2, 2, true, true, true, 5, false, false);
    mm_menu_forestry.addMenuItem("Inventaire&nbsp;BSA", "location='" + rootPath + "forestry/bsa_inventory.aspx'");
    mm_menu_forestry.addMenuItem(mm_menu_forestry_species, "location='" + rootPath + "forestry/default.aspx'");
    mm_menu_forestry.addMenuItem(mm_menu_forestry_species2, "location='" + rootPath + "forestry/default.aspx'");
    mm_menu_forestry.addMenuItem(mm_menu_forestry_soils, "location='" + rootPath + "forestry/default.aspx'");
    mm_menu_forestry.addMenuItem(mm_menu_forestry_climate, "location='" + rootPath + "forestry/default.aspx'");
    mm_menu_forestry.addMenuItem(mm_menu_forestry_physiology, "location='" + rootPath + "forestry/default.aspx'");
    mm_menu_forestry.addMenuItem(mm_menu_forestry_techniques, "location='" + rootPath + "forestry/default.aspx'");
    mm_menu_forestry.fontWeight = "bold";
    mm_menu_forestry.hideOnMouseOut=true;
    mm_menu_forestry.childMenuIcon = rootPath + "images/menu_arrow.gif";
    mm_menu_forestry.bgColor = '#1C6F1D';
    mm_menu_forestry.menuBorder=1;
    mm_menu_forestry.menuLiteBgColor='#5BB56B';
    mm_menu_forestry.menuBorderBgColor='#00520A';
    
    window.mm_menu_community_links = new Menu("Liens&nbsp;utiles",140,23,"Tahoma",11,"#FFFFFF","#FFFFFF","#339F41","#00520A","left","middle",3,1,300,-2,2,true,true,true,5,false,false);
    mm_menu_community_links.addMenuItem("Acheteurs&nbsp;de&nbsp;bois","location='"+rootPath+"community/linkswoodbuyers.aspx'");
    mm_menu_community_links.addMenuItem("Camionneurs","location='"+rootPath+"community/linkstransporters.aspx'");
    mm_menu_community_links.addMenuItem("Services&nbsp;connexes","location='"+rootPath+"community/linksservices.aspx'");
    mm_menu_community_links.addMenuItem("Organismes&nbsp;publiques","location='"+rootPath+"community/linksagencies.aspx'");
    mm_menu_community_links.fontWeight="bold";
    mm_menu_community_links.hideOnMouseOut=true;
    mm_menu_community_links.bgColor='#1C6F1D';
    mm_menu_community_links.menuBorder=1;
    mm_menu_community_links.menuLiteBgColor='#5BB56B';
    mm_menu_community_links.menuBorderBgColor='#00520A';
    
    window.mm_menu_community = new Menu("root",150,23,"Tahoma",11,"#FFFFFF","#FFFFFF","#339F41","#00520A","left","middle",3,1,300,-2,2,true,true,true,5,false,false);
    mm_menu_community.addMenuItem("Forum","location='"+rootPath+"community/forum.aspx'");
    mm_menu_community.addMenuItem("Newsletter","location='"+rootPath+"newsletter.aspx'");
    mm_menu_community.addMenuItem("&Eacute;v&eacute;nements&nbsp;Live","location='"+rootPath+"community/events.aspx'");
    mm_menu_community.addMenuItem(mm_menu_community_links,"location='"+rootPath+"community/links.aspx'");
    mm_menu_community.addMenuItem("Recommander&nbsp;&agrave;&nbsp;un&nbsp;ami","location='"+rootPath+"community/recommend.aspx'");
    mm_menu_community.fontWeight="bold";
    mm_menu_community.hideOnMouseOut=true;
    mm_menu_community.childMenuIcon=rootPath+"images/menu_arrow.gif";
    mm_menu_community.bgColor='#1C6F1D';
    mm_menu_community.menuBorder=1;
    mm_menu_community.menuLiteBgColor='#5BB56B';
    mm_menu_community.menuBorderBgColor='#00520A';
    
    window.mm_menu_company = new Menu("root",110,23,"Tahoma",11,"#FFFFFF","#FFFFFF","#339F41","#00520A","left","middle",3,1,300,-2,2,true,true,true,5,false,false);
    mm_menu_company.addMenuItem("Notre&nbsp;mission","location='"+rootPath+"company/mission.aspx'");
    mm_menu_company.addMenuItem("Nouveaut&eacute;s","location='"+rootPath+"company/news.aspx'");
    mm_menu_company.addMenuItem("T&eacute;moignages","location='"+rootPath+"company/testimonials.aspx'");
    mm_menu_company.addMenuItem("Nous&nbsp;contacter","location='"+rootPath+"company/contact_us.aspx'");
    mm_menu_company.fontWeight="bold";
    mm_menu_company.hideOnMouseOut=true;
    mm_menu_company.bgColor='#1C6F1D';
    mm_menu_company.menuBorder=1;
    mm_menu_company.menuLiteBgColor='#5BB56B';
    mm_menu_company.menuBorderBgColor='#00520A';
    
    window.mm_menu_buy = new Menu("root",125,23,"Tahoma",11,"#FFFFFF","#FFFFFF","#339F41","#00520A","left","middle",3,1,300,-2,2,true,true,true,5,false,false);
    mm_menu_buy.addMenuItem("Formana&nbsp;R&eacute;colte","location='/store/fr/10Expand.asp?ProductCode=HM-F'");
    mm_menu_buy.addMenuItem("Formana&nbsp;Inventaire","location='/store/fr/10Expand.asp?ProductCode=IM-F'");
    mm_menu_buy.fontWeight="bold";
    mm_menu_buy.hideOnMouseOut=true;
    mm_menu_buy.bgColor='#1C6F1D';
    mm_menu_buy.menuBorder=1;
    mm_menu_buy.menuLiteBgColor='#5BB56B';
    mm_menu_buy.menuBorderBgColor='#00520A';

    mm_menu_home.writeMenus();
}