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 a brand", "", 1); //HEADER OPTION
addList("First-Select", "Bendix King", "", "bk");
addList("First-Select", "HYT", "", "HYT");
addList("First-Select", "Icom", "", "Icom");
addList("First-Select", "Kenwood", "", "Kenwood");
addList("First-Select", "Motorola", "", "Motorola");
addList("First-Select", "Relm", "", "Relm");


addOption("bk", "Select type", "", 1); //HEADER OPTION
addList("bk", "Portable", "", "bk_Portable");
addList("bk", "Mobile", "", "bk_Mobile");

addOption("bk_Portable", "Select a model", "", 1); //HEADER OPTION
addOption("bk_Portable", "DPHX", "http://www.pwservice.com/other_products/radio_programmer/dph.htm");
addOption("bk_Portable", "DPH-CMD", "http://www.pwservice.com/other_products/radio_programmer/dph.htm");
addOption("bk_Portable", "GPH", "http://www.pwservice.com/other_products/radio_programmer/gph.htm");
addOption("bk_Portable", "GPHXP", "http://www.pwservice.com/other_products/radio_programmer/gph.htm");
addOption("bk_Portable", "GPH-CMD", "http://www.pwservice.com/other_products/radio_programmer/gph.htm");

addOption("bk_Mobile", "Select a model", "", 1); //HEADER OPTION
addOption("bk_Mobile", "GMH", "http://www.pwservice.com/other_products/radio_programmer/gmh.htm");
addOption("bk_Mobile", "DMH", "http://www.pwservice.com/other_products/radio_programmer/dmh.htm");
addOption("bk_Mobile", "V-Series", "http://www.pwservice.com/other_products/radio_programmer/v_series.htm");


addOption("HYT", "Select type", "", 1); //HEADER OPTION
addList("HYT", "Portable", "", "HYT_Portable");
addList("HYT", "Mobile", "", "HYT_Mobile");

addOption("HYT_Portable", "Select a model", "", 1); //HEADER OPTION
addOption("HYT_Portable", "TC-265, TC-268, TC-268S", "http://www.pwservice.com/other_products/radio_programmer/hyt_tc.htm");
addOption("HYT_Portable", "TC-270, TC-270S", "http://www.pwservice.com/other_products/radio_programmer/hyt_tc.htm");
addOption("HYT_Portable", "TC-365, TC-368, TC-368S/G", "http://www.pwservice.com/other_products/radio_programmer/hyt_tc.htm");
addOption("HYT_Portable", "TC-370, TC-370S", "http://www.pwservice.com/other_products/radio_programmer/hyt_tc.htm");
addOption("HYT_Portable", "TC-380", "http://www.pwservice.com/other_products/radio_programmer/hyt_tc.htm");
addOption("HYT_Portable", "TC-668", "http://www.pwservice.com/other_products/radio_programmer/hyt_tc.htm");
addOption("HYT_Portable", "TC-3000, TC-3600", "http://www.pwservice.com/other_products/radio_programmer/hyt_tc3.htm");

addOption("HYT_Mobile", "None available", "", 1); //HEADER OPTION



addOption("Icom", "Select type", "", 1); //HEADER OPTION
addList("Icom", "Portable", "", "Icom_Portable");
addList("Icom", "Mobile", "", "Icom_Mobile");

addOption("Icom_Portable", "None available", "", 1); //HEADER OPTION

addOption("Icom_Mobile", "Mobile radios", "http://www.pwservice.com/other_products/radio_programmer/icom_mobile.htm");



addOption("Kenwood", "Select type", "", 1); //HEADER OPTION
addList("Kenwood", "Portable", "", "Kenwood_Portable");
addList("Kenwood", "Mobile", "", "Kenwood_Mobile");

addOption("Kenwood_Portable", "TK Portables", "http://www.pwservice.com/other_products/radio_programmer/kenwood_tk.htm");

addOption("Kenwood_Mobile", "None available", "", 1); //HEADER OPTION




addOption("Motorola", "Select type", "", 1); //HEADER OPTION
addList("Motorola", "Portable", "", "Portable");
addList("Motorola", "Mobile", "", "Mobile");

addOption("Portable", "Select a model", "", 1); //HEADER OPTION
addOption("Portable", "Astro Saber & Saber SI", "http://www.pwservice.com/other_products/radio_programmer/rkn4046a.htm");
addOption("Portable", "BPR40", "http://www.pwservice.com/other_products/radio_programmer/PMDN4043CR.htm");
addOption("Portable", "CP125", "http://www.pwservice.com/other_products/radio_programmer/AAPMKN4004A.htm");
addOption("Portable", "CP150", "http://www.pwservice.com/other_products/radio_programmer/AAPMKN4004A.htm");
addOption("Portable", "CP200", "http://www.pwservice.com/other_products/radio_programmer/AAPMKN4004A.htm");
addOption("Portable", "CT150", "http://www.pwservice.com/other_products/radio_programmer/AAPMKN4004A.htm");
addOption("Portable", "CT250", "http://www.pwservice.com/other_products/radio_programmer/AAPMKN4004A.htm");
addOption("Portable", "CT450 & CT450LS", "http://www.pwservice.com/other_products/radio_programmer/AAPMKN4004A.htm");
addOption("Portable", "EP450", "http://www.pwservice.com/other_products/radio_programmer/AAPMKN4004A.htm");
addOption("Portable", "EX500", "http://www.pwservice.com/other_products/radio_programmer/AAJMKN4123A.htm");
addOption("Portable", "EX600 & EX600XLS", "http://www.pwservice.com/other_products/radio_programmer/AAJMKN4123A.htm");
addOption("Portable", "GP88", "http://www.pwservice.com/other_products/radio_programmer/HKN9857A.htm");
addOption("Portable", "GP300", "http://www.pwservice.com/other_products/radio_programmer/HKN9857A.htm");
addOption("Portable", "GP318", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "GP320", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "GP238", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "GP328", "http://www.pwservice.com/other_products/radio_programmer/AAJMKN4123A.htm");
addOption("Portable", "GP338", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "GP340", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "GP350", "http://www.pwservice.com/other_products/radio_programmer/REX1143B.htm");
addOption("Portable", "GP360", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "GP380", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "GP640", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "GP680", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "GP688", "http://www.pwservice.com/other_products/radio_programmer/AAJMKN4123A.htm");
addOption("Portable", "GP900", "http://www.pwservice.com/other_products/radio_programmer/RKN4035D.htm");
addOption("Portable", "GP1200", "http://www.pwservice.com/other_products/radio_programmer/RKN4035D.htm");
addOption("Portable", "GP1280", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "GTX", "http://www.pwservice.com/other_products/radio_programmer/HKN9857A.htm");
addOption("Portable", "HT600 & HT600E", "http://www.pwservice.com/other_products/radio_programmer/RTK4205C.htm");
addOption("Portable", "HT750", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "HT1000", "http://www.pwservice.com/other_products/radio_programmer/RKN4035D.htm");
addOption("Portable", "HT1250 & HT1250LS", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "HT1550 & HT1550LS", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "JT1000", "http://www.pwservice.com/other_products/radio_programmer/RKN4035D.htm");
addOption("Portable", "MT1000", "http://www.pwservice.com/other_products/radio_programmer/RTK4205C.htm");
addOption("Portable", "MT2000", "http://www.pwservice.com/other_products/radio_programmer/RKN4035D.htm");
addOption("Portable", "MT2100", "http://www.pwservice.com/other_products/radio_programmer/RKN4035D.htm");
addOption("Portable", "MTS2000", "http://www.pwservice.com/other_products/radio_programmer/RKN4035D.htm");
addOption("Portable", "MTX800", "http://www.pwservice.com/other_products/radio_programmer/RTK4205C.htm");
addOption("Portable", "MTX810", "http://www.pwservice.com/other_products/radio_programmer/RTK4205C.htm");
addOption("Portable", "MTX820", "http://www.pwservice.com/other_products/radio_programmer/RTK4205C.htm");
addOption("Portable", "MTX850 & MTX850LS", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "MTX888", "http://www.pwservice.com/other_products/radio_programmer/RTK4205C.htm");
addOption("Portable", "MTX900", "http://www.pwservice.com/other_products/radio_programmer/RTK4205C.htm");
addOption("Portable", "MTX950", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "MTX8000", "http://www.pwservice.com/other_products/radio_programmer/RKN4035D.htm");
addOption("Portable", "MTX8250", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "MTX9000", "http://www.pwservice.com/other_products/radio_programmer/RKN4035D.htm");
addOption("Portable", "MTX9250", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "MX1000", "http://www.pwservice.com/other_products/radio_programmer/RTK4203C.htm");
addOption("Portable", "MX2000", "http://www.pwservice.com/other_products/radio_programmer/RTK4203C.htm");
addOption("Portable", "MX3000", "http://www.pwservice.com/other_products/radio_programmer/RTK4203C.htm");
addOption("Portable", "P110", "http://www.pwservice.com/other_products/radio_programmer/HKN9857A.htm");
addOption("Portable", "P200", "http://www.pwservice.com/other_products/radio_programmer/RTK4205C.htm");
addOption("Portable", "P210", "http://www.pwservice.com/other_products/radio_programmer/RTK4205C.htm");
addOption("Portable", "P500", "http://www.pwservice.com/other_products/radio_programmer/RTK4205C.htm");
addOption("Portable", "P1225", "http://www.pwservice.com/other_products/radio_programmer/HKN9857A.htm");
addOption("Portable", "PR400", "http://www.pwservice.com/other_products/radio_programmer/AAPMKN4004A.htm");
addOption("Portable", "PR860", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "PRO2150", "http://www.pwservice.com/other_products/radio_programmer/AAPMKN4004A.htm");
addOption("Portable", "PRO2150", "http://www.pwservice.com/other_products/radio_programmer/DSK001C706A.htm");
addOption("Portable", "PRO3150", "http://www.pwservice.com/other_products/radio_programmer/AAPMKN4004A.htm");
addOption("Portable", "PRO5150", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "PRO5450", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "PRO5550", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "PRO5750", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "PRO5350", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "PRO7150", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "PRO7350", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "PRO7450", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "PRO7550", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "PRO7750", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "PRO9150", "http://www.pwservice.com/other_products/radio_programmer/RKN4075A.htm");
addOption("Portable", "PTX1200", "http://www.pwservice.com/other_products/radio_programmer/RKN4035D.htm");
addOption("Portable", "Saber (I, II & R)", "http://www.pwservice.com/other_products/radio_programmer/RTK4203C.htm");
addOption("Portable", "SP50 & SP50+", "http://www.pwservice.com/other_products/radio_programmer/HLN9102A.htm");
addOption("Portable", "Visar", "http://www.pwservice.com/other_products/radio_programmer/3080371E46.htm");
addOption("Portable", "VL130", "http://www.pwservice.com/other_products/radio_programmer/DSK001C706A.htm");
addOption("Portable", "XTS2500", "http://www.pwservice.com/other_products/radio_programmer/RKN4105A.htm");
addOption("Portable", "XTS3000", "http://www.pwservice.com/other_products/radio_programmer/RKN4035D.htm");
addOption("Portable", "XTS3500", "http://www.pwservice.com/other_products/radio_programmer/RKN4035D.htm");
addOption("Portable", "XTS5000", "http://www.pwservice.com/other_products/radio_programmer/RKN4105A.htm");//END OF THIS NODE

addOption("Mobile", "Select a model", "", 1); //HEADER OPTION
addOption("Mobile", "Astro Digital Spectra", "http://www.pwservice.com/other_products/radio_programmer/0180300B10.htm");
addOption("Mobile", "ASTRO Spectra Plus", "http://www.pwservice.com/other_products/radio_programmer/HKN6155A.htm");
addOption("Mobile", "CDM750", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "CDM1250", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "CDM1550LS & LS+", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "CM140", "http://www.pwservice.com/other_products/radio_programmer/FKN8096A.htm");
addOption("Mobile", "CM160", "http://www.pwservice.com/other_products/radio_programmer/FKN8096A.htm");
addOption("Mobile", "CM200", "http://www.pwservice.com/other_products/radio_programmer/FKN8096A.htm");
addOption("Mobile", "CM300", "http://www.pwservice.com/other_products/radio_programmer/FKN8096A.htm");
addOption("Mobile", "CM340", "http://www.pwservice.com/other_products/radio_programmer/FKN8096A.htm");
addOption("Mobile", "CM360", "http://www.pwservice.com/other_products/radio_programmer/FKN8096A.htm");
addOption("Mobile", "EM200", "http://www.pwservice.com/other_products/radio_programmer/FKN8096A.htm");
addOption("Mobile", "EM400", "http://www.pwservice.com/other_products/radio_programmer/FKN8096A.htm");
addOption("Mobile", "GM140", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "GM160", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "GM300", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "GM338", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "GM340", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "GM340", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "GM360", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "GM380", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "GM640", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "GM660", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "GM1280", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "GM3188", "http://www.pwservice.com/other_products/radio_programmer/FKN8096A.htm");
addOption("Mobile", "GM3688", "http://www.pwservice.com/other_products/radio_programmer/FKN8096A.htm");
addOption("Mobile", "GR300", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "GR400", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "GR500", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "GTX", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "LCS2000", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "M1225 & M1225LS", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "M10", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "M100", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "M120", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "M130", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "M200", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "M208", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "M216", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "M400", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "MCX760", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "MCX780", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "MCX1000", "http://www.pwservice.com/other_products/radio_programmer/3000056M01.htm");
addOption("Mobile", "MCS2000", "http://www.pwservice.com/other_products/radio_programmer/RKN4063A.htm");
addOption("Mobile", "PM400", "http://www.pwservice.com/other_products/radio_programmer/FKN8096A.htm");
addOption("Mobile", "PRO3100", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "PRO5100", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "PRO7100", "http://www.pwservice.com/other_products/radio_programmer/AARKN4081B.htm");
addOption("Mobile", "R1225", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "SM50", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "SM120", "http://www.pwservice.com/other_products/radio_programmer/3080070N01.htm");
addOption("Mobile", "Syntor 9000E", "http://www.pwservice.com/other_products/radio_programmer/0180353A75.htm");
addOption("Mobile", "XTL1500", "http://www.pwservice.com/other_products/radio_programmer/HKN6183A.htm");
addOption("Mobile", "XTL2500", "http://www.pwservice.com/other_products/radio_programmer/HKN6183A.htm");
addOption("Mobile", "XTL5000", "http://www.pwservice.com/other_products/radio_programmer/HKN6155A.htm");


addOption("Relm", "Select type", "", 1); //HEADER OPTION
addList("Relm", "Portable", "", "Relm_Portable");
addList("Relm", "Mobile", "", "Relm_Mobile");

addOption("Relm_Portable", "Select a model", "", 1); //HEADER OPTION
addOption("Relm_Portable", "RPV516, RPU416", "http://www.pwservice.com/other_products/radio_programmer/relm_rp.htm");
addOption("Relm_Portable", "RPV599, RPU499", "http://www.pwservice.com/other_products/radio_programmer/relm_rp.htm");
addOption("Relm_Portable", "RPV3000, RPU3000", "http://www.pwservice.com/other_products/radio_programmer/relm_rp3.htm");
addOption("Relm_Portable", "RPV3600, RPU3600", "http://www.pwservice.com/other_products/radio_programmer/relm_rp3.htm");

addOption("Relm_Mobile", "Select a model", "", 1); //HEADER OPTION
addOption("Relm_Mobile", "RM25/45/50", "http://www.pwservice.com/other_products/radio_programmer/relm_rm.htm");
addOption("Relm_Mobile", "RMV800A, RMU800A", "http://www.pwservice.com/other_products/radio_programmer/relm_rm8.htm");
addOption("Relm_Mobile", "RM800 base station", "http://www.pwservice.com/other_products/radio_programmer/relm_rm_base.htm");


