var hide_empty_list=true; //uncomment this line to hide empty selection lists
var disable_empty_list=true; //uncomment this line to disable empty selection lists

var onclickaction="goto" //set to "alert" or "goto". Former is for debugging purposes, to tell you the value of the final selected list that will be used as the destination URL. Set to "goto" when below configuration is all set up as desired. 

var newwindow=0 //Open links in new window or not? 1=yes, 0=no.

/////DEFINE YOUR MENU LISTS and ITEMS below/////////////////

addListGroup("chainedmenu", "First-Select");

addOption("First-Select", "Selecteer een merk", "", 1); //HEADER OPTION
addList("First-Select", "Claas", "", "Claas");
addList("First-Select", "John Deere", "", "JohnDeere");
addList("First-Select", "New Holland", "", "NewHolland");
addList("First-Select", "Case-IH", "", "CaseIH");
addList("First-Select", "Fendt", "", "Fendt");
addList("First-Select", "Challenger", "", "Challenger");
addList("First-Select", "Valtra", "", "Valtra");
addList("First-Select", "Deutz-Fahr", "", "Deutz");
addList("First-Select", "MF", "", "MF");
addList("First-Select", "Steyr", "", "Steyr");
addList("First-Select", "JCB", "", "JCB");
addList("First-Select", "Mc Cormick", "", "Mccormick");
addList("First-Select", "Landini", "", "Landini");

addOption("Claas", "Selecteer een type", "", 1); //HEADER OPTION
addList("Claas", "Ares", "", "Ares");
addList("Claas", "Arion", "", "Arion");
addList("Claas", "Atles", "", "Atles");
addList("Claas", "Axos", "", "Axos");
addList("Claas", "Axion", "", "Axion"); 

addOption("Ares", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("Ares", "616", "details.asp?id=1");
addList("Ares", "656", "details.asp?id=3");
addList("Ares", "696", "details.asp?id=4");
addList("Ares", "816", "details.asp?id=5");
addList("Ares", "826", "details.asp?id=6");
addList("Ares", "836", "details.asp?id=7");

addOption("Arion", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("Arion", "510", "details.asp?id=8");
addList("Arion", "520", "details.asp?id=9");
addList("Arion", "530", "details.asp?id=10");
addList("Arion", "540", "details.asp?id=11");
addList("Arion", "610", "details.asp?id=12");
addList("Arion", "610 C", "details.asp?id=13");
addList("Arion", "620", "details.asp?id=14");
addList("Arion", "620 C", "details.asp?id=15");
addList("Arion", "630", "details.asp?id=16");
addList("Arion", "630 C", "details.asp?id=17");
addList("Arion", "640", "details.asp?id=8");

addOption("Atles", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("Atles", "926", "details.asp?id=19");
addList("Atles", "936", "details.asp?id=20");

addOption("Axos", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("Axos", "340", "details.asp?id=21");
addList("Axos", "330", "details.asp?id=22");
addList("Axos", "320", "details.asp?id=23");
addList("Axos", "310", "details.asp?id=24");

addOption("Axion", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("Axion", "810", "details.asp?id=25");
addList("Axion", "810 C", "details.asp?id=26");
addList("Axion", "820", "details.asp?id=27");
addList("Axion", "820 C", "details.asp?id=28");
addList("Axion", "830", "details.asp?id=29");
addList("Axion", "840", "details.asp?id=30");
addList("Axion", "840 C", "details.asp?id=31");
addList("Axion", "850", "details.asp?id=32");

addOption("JohnDeere", "Selecteer een serie", "", 1); // HEADER OPTION
addList("JohnDeere", "5015 Serie", "", "5015"); 
addList("JohnDeere", "5015 Smalspoort serie", "", "5015ss"); 
addList("JohnDeere", "5r Serie", "", "5r"); 
addList("JohnDeere", "6030 Standaard serie", "", "6030stand"); 
addList("JohnDeere", "6030 Premium serie", "", "6030pr"); 
addList("JohnDeere", "7030 Serie", "", "7030"); 
addList("JohnDeere", "7030 Premium serie", "", "7030pr"); 
addList("JohnDeere", "8030 Serie", "", "8030"); 

addOption("5015", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("5015", "5215", "johndeere/johndeere5215.htm");
addList("5015", "5315", "johndeere/johndeere5315.htm");
addList("5015", "5415", "johndeere/johndeere5415.htm");
addList("5015", "5515", "johndeere/johndeere5515.htm");

addOption("5015ss", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("5015ss", "5215 F&V", "johndeere/johndeere5215fv.htm");
addList("5015ss", "5315 F&V", "johndeere/johndeere5315fv.htm");
addList("5015ss", "5515 F&V", "johndeere/johndeere5515fv.htm");
addList("5015ss", "5615 F&V", "johndeere/johndeere5615fv.htm");

addOption("5r", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("5r", "5080R", "johndeere/johndeere5080r.htm");
addList("5r", "5090R", "johndeere/johndeere5090r.htm");
addList("5r", "5100R", "johndeere/johndeere5100r.htm");

addOption("6030stand", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("6030stand", "6130", "johndeere/johndeere6130st.htm");
addList("6030stand", "6230", "johndeere/johndeere6230st.htm");
addList("6030stand", "6330", "johndeere/johndeere6330st.htm");
addList("6030stand", "6430", "johndeere/johndeere6430st.htm");
addList("6030stand", "6530", "johndeere/johndeere6530st.htm");
addList("6030stand", "6630", "johndeere/johndeere6630st.htm");
addList("6030stand", "6830", "johndeere/johndeere6830st.htm");
addList("6030stand", "6930", "johndeere/johndeere6930st.htm");

addOption("6030pr", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("6030pr", "6230", "johndeere/johndeere6230.htm");
addList("6030pr", "6330", "johndeere/johndeere6330.htm");
addList("6030pr", "6430", "johndeere/johndeere6430.htm");
addList("6030pr", "6530", "johndeere/johndeere6530.htm");
addList("6030pr", "6630", "johndeere/johndeere6630.htm");
addList("6030pr", "6830", "johndeere/johndeere6830.htm");
addList("6030pr", "6930", "johndeere/johndeere6930.htm");

addOption("7030", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("7030", "7730", "johndeere/johndeere7730w.htm");
addList("7030", "7830", "johndeere/johndeere7830w.htm");
addList("7030", "7930", "johndeere/johndeere7930w.htm");

addOption("7030pr", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("7030pr", "7430", "johndeere/johndeere7430.htm");
addList("7030pr", "7430 E", "johndeere/johndeere7430E.htm");
addList("7030pr", "7530", "johndeere/johndeere7530.htm");
addList("7030pr", "7530 E", "johndeere/johndeere7530E.htm");

addOption("8030", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("8030", "8130", "johndeere/johndeere8130.htm");
addList("8030", "8230", "johndeere/johndeere8230.htm");
addList("8030", "8330", "johndeere/johndeere8330.htm");
addList("8030", "8430", "johndeere/johndeere8430.htm");
addList("8030", "8530", "johndeere/johndeere8530.htm");

addOption("Fendt", "Selecteer een serie", "", 1); // HEADER OPTION
addList("Fendt", "200 V/F/P serie", "", "fendt200vfp");
addList("Fendt", "200 S serie", "", "fendt200s");
addList("Fendt", "300 Vario", "", "fendt300");
addList("Fendt", "400 Vario", "", "fendt400");
addList("Fendt", "700 Vario", "", "fendt700");
addList("Fendt", "800 Vario", "", "fendt800");
addList("Fendt", "900 Vario", "", "fendt900");

addOption("fendt200vfp", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("fendt200vfp", "207 V/F", "fendt/fendtvario207vf.htm");
addList("fendt200vfp", "208 V/F", "fendt/fendtvario208vf.htm");
addList("fendt200vfp", "209 V/F/P", "fendt/fendtvario209vfp.htm");
addList("fendt200vfp", "210 V/F/P", "fendt/fendtvario210vfp.htm");
addList("fendt200vfp", "211 V/F/P", "fendt/fendtvario211vfp.htm");

addOption("fendt200s", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("fendt200s", "206 S", "fendt/fendtvario206s.htm");
addList("fendt200s", "207 S", "fendt/fendtvario207s.htm");
addList("fendt200s", "208 S", "fendt/fendtvario208s.htm");
addList("fendt200s", "209 S", "fendt/fendtvario209s.htm");

addOption("fendt300", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("fendt300", "309", "fendt/fendtvario309.htm");
addList("fendt300", "310", "fendt/fendtvario310.htm");
addList("fendt300", "311", "fendt/fendtvario311.htm");
addList("fendt300", "312", "fendt/fendtvario312.htm");

addOption("fendt400", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("fendt400", "411", "fendt/fendtvario411.htm");
addList("fendt400", "412", "fendt/fendtvario412.htm");
addList("fendt400", "413", "fendt/fendtvario413.htm");
addList("fendt400", "414", "fendt/fendtvario414.htm");
addList("fendt400", "415", "fendt/fendtvario415.htm");

addOption("fendt700", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("fendt700", "712", "fendt/fendtvario712.htm");
addList("fendt700", "714", "fendt/fendtvario714.htm");
addList("fendt700", "716", "fendt/fendtvario716.htm");
addList("fendt700", "718", "fendt/fendtvario718.htm");

addOption("fendt800", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("fendt800", "818", "fendt/fendtvario818.htm");
addList("fendt800", "820", "fendt/fendtvario820.htm");

addOption("fendt900", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("fendt900", "922", "fendt/fendtvario922.htm");
addList("fendt900", "924", "fendt/fendtvario924.htm");
addList("fendt900", "927", "fendt/fendtvario927.htm");
addList("fendt900", "930", "fendt/fendtvario930.htm");
addList("fendt900", "933", "fendt/fendtvario933.htm");
addList("fendt900", "936", "fendt/fendtvario936.htm");

addOption("Mccormick", "Selecteer een type", "", 1); // HEADER OPTION
addList("Mccormick", "CX", "", "mcCX");
addList("Mccormick", "GF", "", "mcGF");
addList("Mccormick", "GM", "", "mcGM");
addList("Mccormick", "GT", "", "mcGT");
addList("Mccormick", "MC", "", "mcMC");
addList("Mccormick", "MTX", "", "mcMTX");
addList("Mccormick", "TTX", "", "mcTTX");
addList("Mccormick", "XTX", "", "mcXTX");

addOption("mcCX", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("mcCX", "100 CX", "mccormick/mccormickcx100cx.htm");
addList("mcCX", "100 Max", "mccormick/mccormickcx100max.htm");
addList("mcCX", "105 CX", "mccormick/mccormickcx105cx.htm");
addList("mcCX", "105 Max", "mccormick/mccormickcx100max.htm");
addList("mcCX", "110 CX", "mccormick/mccormickcx110cx.htm");
addList("mcCX", "601", "mccormick/mccormickcx601.htm");
addList("mcCX", "701", "mccormick/mccormickcx701.htm");
addList("mcCX", "75 Max", "mccormick/mccormickcx75max.htm");
addList("mcCX", "801", "mccormick/mccormickcx801.htm");
addList("mcCX", "80 Max", "mccormick/mccormickcx80max.htm");
addList("mcCX", "851", "mccormick/mccormickcx851.htm");
addList("mcCX", "90 CX", "mccormick/mccormickcx90cx.htm");
addList("mcCX", "90 Max", "mccormick/mccormickcx90max.htm");

addOption("mcGF", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("mcGF", "100", "mccormick/mccormickgf100.htm");
addList("mcGF", "105", "mccormick/mccormickgf105.htm");
addList("mcGF", "65", "mccormick/mccormickgf65.htm");
addList("mcGF", "75", "mccormick/mccormickgf75.htm");
addList("mcGF", "80", "mccormick/mccormickgf80.htm");
addList("mcGF", "90", "mccormick/mccormickgf80.htm");

addOption("mcGM", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("mcGM", "40", "mccormick/mccormickgm40.htm");
addList("mcGM", "45", "mccormick/mccormickgm45.htm");
addList("mcGM", "50", "mccormick/mccormickgm50.htm");
addList("mcGM", "55", "mccormick/mccormickgm55.htm");

addOption("mcGT", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("mcGT", "100", "mccormick/mccormickgT100.htm");
addList("mcGT", "105", "mccormick/mccormickgt105.htm");
addList("mcGT", "80", "mccormick/mccormickgT80.htm");
addList("mcGT", "90", "mccormick/mccormickgT90.htm");

addOption("mcMC", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("mcMC", "105", "mccormick/mccormickmc105.htm");
addList("mcMC", "115", "mccormick/mccormickmc115.htm");
addList("mcMC", "120", "mccormick/mccormickmc120.htm");
addList("mcMC", "130", "mccormick/mccormickmc130.htm");
addList("mcMC", "135", "mccormick/mccormickmc135.htm");

addOption("mcMTX", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("mcMTX", "120", "mccormick/mccormickmtx120.htm");
addList("mcMTX", "135", "mccormick/mccormickmtx135.htm");
addList("mcMTX", "150", "mccormick/mccormickmtx150.htm");
addList("mcMTX", "190", "mccormick/mccormickmtx190.htm");
addList("mcMTX", "210", "mccormick/mccormickmtx210.htm");
addList("mcMTX", "230", "mccormick/mccormickmtx230.htm");

addOption("mcTTX", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("mcTTX", "190", "mccormick/mccormickmttx190.htm");
addList("mcTTX", "210", "mccormick/mccormickmttx210.htm");
addList("mcTTX", "230", "mccormick/mccormickmttx230.htm");

addOption("mcXTX", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("mcXTX", "145", "mccormick/mccormickxtx145.htm");
addList("mcXTX", "165", "mccormick/mccormickxtx165.htm");

addOption("Deutz", "Selecteer een type", "", 1); // HEADER OPTION
addList("Deutz", "Agrokid", "", "dfAgrokid");
addList("Deutz", "Agroplus", "", "dfAgroplus");
addList("Deutz", "Agroplus S", "", "dfAgropluss");
addList("Deutz", "Agrotron", "", "dfAgrotron");
addList("Deutz", "Agrotron K", "", "dfAgrotronk");
addList("Deutz", "Agrotron TTV", "", "dfAgrotronttv");
addList("Deutz", "Agrotron X", "", "dfAgrotronx");

addOption("dfAgrokid", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("dfAgrokid", "210", "deutzfahr/dfagrokid210.htm");
addList("dfAgrokid", "220", "deutzfahr/dfagrokid220.htm");
addList("dfAgrokid", "230", "deutzfahr/dfagrokid230.htm");

addOption("dfAgroplus", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("dfAgroplus", "67", "deutzfahr/dfagroplus67.htm");
addList("dfAgroplus", "77", "deutzfahr/dfagroplus77.htm");
addList("dfAgroplus", "87", "deutzfahr/dfagroplus87.htm");

addOption("dfAgropluss", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("dfAgropluss", "70", "deutzfahr/dfagropluss70.htm");
addList("dfAgropluss", "75", "deutzfahr/dfagropluss75.htm");
addList("dfAgropluss", "90", "deutzfahr/dfagropluss90.htm");
addList("dfAgropluss", "100", "deutzfahr/dfagropluss100.htm");

addOption("dfAgrotron", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("dfAgrotron", "120", "deutzfahr/dfagrotron120.htm");
addList("dfAgrotron", "130", "deutzfahr/dfagrotron130.htm");
addList("dfAgrotron", "150", "deutzfahr/dfagrotron150.htm");
addList("dfAgrotron", "150.7", "deutzfahr/dfagrotron1507.htm");
addList("dfAgrotron", "165.7", "deutzfahr/dfagrotron1657.htm");
addList("dfAgrotron", "180.7", "deutzfahr/dfagrotron1807.htm");

addOption("dfAgrotronk", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("dfAgrotronk", "410", "deutzfahr/dfagrotronk410.htm");
addList("dfAgrotronk", "420", "deutzfahr/dfagrotronk420.htm");
addList("dfAgrotronk", "430", "deutzfahr/dfagrotronk430.htm");
addList("dfAgrotronk", "610", "deutzfahr/dfagrotronk610.htm");

addOption("dfAgrotronttv", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("dfAgrotronttv", "1145", "deutzfahr/dfagrotronttv1145.htm");
addList("dfAgrotronttv", "1160", "deutzfahr/dfagrotronttv1160.htm");

addOption("dfAgrotronx", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("dfAgrotronx", "710", "deutzfahr/dfagrotronx710.htm");
addList("dfAgrotronx", "720", "deutzfahr/dfagrotronx720.htm");

addOption("Landini", "Selecteer een type", "", 1); //HEADER OPTION
addList("Landini", "Mistral", "", "lamistral");
addList("Landini", "Rex", "", "larex");
addList("Landini", "Alpine", "", "laalpine");
addList("Landini", "Powerfarm", "", "lapowerfarm");
addList("Landini", "Vision", "", "lavision");
addList("Landini", "Powermondial", "", "lapowermondial");
addList("Landini", "Landpower", "", "lalandpower");
addList("Landini", "Powermax", "", "lapowermax");
addList("Landini", "Powermaster", "", "lapowermaster");

addOption("lamistral", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("lamistral", "40", "landini/landinimistral40.htm");
addList("lamistral", "45", "landini/landinimistral45.htm");
addList("lamistral", "50", "landini/landinimistral50.htm");
addList("lamistral", "55", "landini/landinimistral55.htm");

addOption("larex", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("larex", "65F", "landini/landinirex65f.htm");
addList("larex", "75F", "landini/landinirex75f.htm");
addList("larex", "80FGT", "landini/landinirex80fgt.htm");
addList("larex", "90FGT", "landini/landinirex90fgt.htm");
addList("larex", "100FGT", "landini/landinirex100fgt.htm");
addList("larex", "105FGT", "landini/landinirex105fgt.htm");

addOption("laalpine", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("laalpine", "60", "landini/landinialpine60.htm");
addList("laalpine", "70", "landini/landinialpine70.htm");
addList("laalpine", "80", "landini/landinialpine80.htm");
addList("laalpine", "85", "landini/landinialpine85.htm");

addOption("lapowerfarm", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("lapowerfarm", "75", "landini/landinipowerfarm75.htm");
addList("lapowerfarm", "80", "landini/landinipowerfarm80.htm");
addList("lapowerfarm", "90", "landini/landinipowerfarm90.htm");
addList("lapowerfarm", "100", "landini/landinipowerfarm100.htm");
addList("lapowerfarm", "105", "landini/landinipowerfarm105.htm");

addOption("lavision", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("lavision", "100", "landini/landinivision100.htm");
addList("lavision", "105", "landini/landinivision105.htm");

addOption("lapowermondial", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("lapowermondial", "100", "landini/landinipowermondial100.htm");
addList("lapowermondial", "110", "landini/landinipowermondial110.htm");
addList("lapowermondial", "115", "landini/landinipowermondial115.htm");

addOption("lalandpower", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("lalandpower", "125", "landini/landinilandpower125.htm");
addList("lalandpower", "135", "landini/landinilandpower135.htm");
addList("lalandpower", "145", "landini/landinilandpower145.htm");
addList("lalandpower", "165", "landini/landinilandpower165.htm");
addList("lalandpower", "180", "landini/landinilandpower180.htm");

addOption("lapowermax", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("lapowermax", "145", "landini/landinilandpowermax145.htm");
addList("lapowermax", "165", "landini/landinilandpowermax165.htm");

addOption("lapowermaster", "Selecteer type nummer", "", 1); // HEADER OPTION
addList("lapowermaster", "190", "landini/landinilandpowermax190.htm");
addList("lapowermaster", "210", "landini/landinilandpowermax210.htm");
addList("lapowermaster", "230", "landini/landinilandpowermax230.htm");
