//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", "Select an item", "", 1); //HEADER OPTION
addList("First-Select", "Small Animals", "", "Mypets");
addList("First-Select", "Swine", "", "Swine");
addList("First-Select", "Livestock", "", "Livestock");

//////BELOW ARE THE MYPETS OPTIONS////////////

addOption("Mypets", "Select an item", "", 1); //HEADER OPTION
addList("Mypets", "Anti-Parasitics", "", "Mypets-AntiParasitics");
addList("Mypets", "Anti-Biotics", "", "Mypets-AntiBiotics");
addList("Mypets", "Skin Care", "", "Mypets-SkinCare");
addList("Mypets", "Bone & Joint Care", "", "Mypets-BoneJoint");
addList("Mypets", "Liver & Senior Care", "", "Mypets-LiverSenior");
addList("Mypets", "Eye & Ear Care", "", "Mypets-EyeEar");
addList("Mypets", "Health", "", "Mypets-Health");

addOption("Mypets-AntiParasitics", "Select an item", "", 1); //HEADER OPTION
addOption("Mypets-AntiParasitics", "PRAZIVET", "prazivet.html");
addOption("Mypets-AntiParasitics", "MICROZOLE 1%", "microzole_pets.html");
addOption("Mypets-AntiParasitics", "COREGUARD HEARTZ", "coreguard_heartz.html");

addOption("Mypets-AntiBiotics", "Select an item", "", 1); //HEADER OPTION
addOption("Mypets-AntiBiotics", "METHOZINE Suspension", "methozine_pets.html");
addOption("Mypets-AntiBiotics", "LIDROX Antibacterial", "lidrox.html");

addOption("Mypets-SkinCare", "Select an item", "", 1); //HEADER OPTION
addOption("Mypets-SkinCare", "AXXIT Shampoo", "axxit.html");
addOption("Mypets-SkinCare", "MYCOCIDE Shampoo", "mycocide.html");

addOption("Mypets-BoneJoint", "Select an item", "", 1); //HEADER OPTION
addOption("Mypets-BoneJoint", "INFLACAM", "inflacam.html");
addOption("Mypets-BoneJoint", "ARTHROX", "arthrox.html");

addOption("Mypets-LiverSenior", "Select an item", "", 1); //HEADER OPTION
addOption("Mypets-LiverSenior", "TEFROSOL", "tefrosol.html");
addOption("Mypets-LiverSenior", "NATRAKELP", "natrakelp.html");

addOption("Mypets-EyeEar", "Select an item", "", 1); //HEADER OPTION
addOption("Mypets-EyeEar", "DESOMIN", "desomin.html");
addOption("Mypets-EyeEar", "KLINEAR", "klinear.html");
addOption("Mypets-EyeEar", "OPTICIN", "opticin.html");

addOption("Mypets-Health", "Select an item", "", 1); //HEADER OPTION
addOption("Mypets-Health", "MONDEX", "mondex.html");
addOption("Mypets-Health", "SEPTAPLEX GEL", "septaplex.html");

//////MYPETS ENDS HERE////////////

//////BELOW ARE THE SWINE OPTIONS////////////

addOption("Swine", "Select an item", "", 1); //HEADER OPTION
addList("Swine", "PINKPig Blends", "", "Swine-Blends");
addList("Swine", "PINKPig Health", "", "Swine-Health");
addList("Swine", "PINKPig Genetics", "", "Swine-Genetics");

addOption("Swine-Blends", "Select an item", "", 1); //HEADER OPTION
addOption("Swine-Blends", "MICROVIT", "microvit.html");
addOption("Swine-Blends", "PRIMEAT", "primeat.html");
addOption("Swine-Blends", "MINERAL PREMIX", "mineral_premix.html");
addOption("Swine-Blends", "TIAMULIN", "tiamulin.html");

addOption("Swine-Health", "Select an item", "", 1); //HEADER OPTION
addOption("Swine-Health", "TOLCOX", "tolcox.html");
addOption("Swine-Health", "TIOCIN", "tiocin.html");
addOption("Swine-Health", "IVOCIP INJECTION", "ivocip_injection.html");
addOption("Swine-Health", "METHOZINE SUSPENSION", "methozine_suspension_swine.html");
addOption("Swine-Health", "FLUGESIC", "flugesic.html");
addOption("Swine-Health", "B-PLEX", "b-plex.html");
addOption("Swine-Health", "TRANDEX", "trandex.html");
addOption("Swine-Health", "H+ LACTOWINE", "hLactowine.html");
addOption("Swine-Health", "G-DEX 25", "gdex.html");

addOption("Swine-Genetics", "Select an item", "", 1); //HEADER OPTION
addOption("Swine-Genetics", "PINKPIG GENETICS", "pinkpig site here");

//////MYPETS ENDS HERE////////////

//////BELOW ARE THE SWINE OPTIONS////////////

addOption("Livestock", "Select an item", "", 1); //HEADER OPTION
addList("Livestock", "Health", "", "Livestock-Health");

addOption("Livestock-Health", "Select an item", "", 1); //HEADER OPTION
addOption("Livestock-Health", "", "");
addOption("Livestock-Health", "", "");
addOption("Livestock-Health", "", "");
addOption("Livestock-Health", "", "");

addOption("Cars-Sports", "Select an item", "", 1); //HEADER OPTION
addOption("Cars-Sports", "Porsche", "http://www.www.porsche.com");
addOption("Cars-Sports", "Aston Martin", "http://www.astonmartin.com");
