//http://www.dynamicdrive.com/dynamicindex1/chainedmenu/index.htm
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 Media", "", 1); //HEADER OPTION
addList("First-Select", "Liquids", "", "liquids"); 
addList("First-Select", "Gas", "", "gas"); 



addOption("liquids", "Select Type", "", 1); //HEADER OPTION
addList("liquids", "Adjustable", "results/adjustable_monitors_results.htm", "liquids-adjustable"); 
addList("liquids", "Fixed", "results/non_adjustable_monitors_results.htm", "liquids-fixed");

addOption("gas", "Select Type", "", 1); //HEADER OPTION
//addList("gas", "Adjustable", "", "gas-adjustable"); 
addList("gas", "Adjustable", "results/adjustable_monitors_results.htm", "gas-adjustable"); 
addList("gas", "Fixed", "results/non_adjustable_monitors_results.htm", "gas-fixed"); 



//----------------lca series

addOption("liquids-adjustable", "Select Flow Range", "", 1); //HEADER OPTION
addList("liquids-adjustable", "0.10 - 7.5 GPM", "", "liquids-adjustable-10"); 

addOption("liquids-adjustable-10", "Select Port Size", "", 1); //HEADER OPTION
addList("liquids-adjustable-10", "1/4  FNPT", "", "liquids-adj-10-34"); 
addList("liquids-adjustable-10", "3/8  FNPT", "", "liquids-adj-10-34"); 
addList("liquids-adjustable-10", "1/2  FNPT", "", "liquids-adj-10-34"); 
addList("liquids-adjustable-10", "3/4  FNPT", "", "liquids-adj-10-34"); 
//1/4", 3/8", 1/2" ¾" FNPT   ?¾?

addOption("liquids-adj-10-34", "Select Pressure Rating", "", 1); //HEADER OPTION
addList("liquids-adj-10-34", "100 PSIG", "", "liquids-adj-10-34-100"); 
addList("liquids-adj-10-34", "1500 PSIG", "", "liquids-adj-10-34-100");
addList("liquids-adj-10-34", "3000 PSIG", "", "liquids-adj-10-34-100");
//100, 1500==3000 PSIG

addOption("liquids-adj-10-34-100", "Select Material", "", 1); //HEADER OPTION
addOption("liquids-adj-10-34-100", "Acrylic", "results/adjustable_monitors_results.htm");
addOption("liquids-adj-10-34-100", "Brass", "results/adjustable_monitors_results.htm");
addOption("liquids-adj-10-34-100", "PVC", "results/adjustable_monitors_results.htm"); 
addOption("liquids-adj-10-34-100", "316 Stainless Steel", "results/adjustable_monitors_results.htm");
//PVC, Acrylic Brass, 316ss



//-----125 Series 125 Bypass CCM Series gas
addOption("gas-adjustable", "Select Flow Range", "", 1); //HEADER OPTION
addList("gas-adjustable", "10 - 16,000 SCC/M", "", "gas-adjustable-1016"); 
addList("gas-adjustable", "30 - 16,000 SCC/M", "", "gas-adjustable-1016"); 
addList("gas-adjustable", "100 - 60,000 SCC/M", "", "gas-adjustable-1016"); 
//10 - 16,000 SCC/M 30 - 16,000 SCC/M 100 - 60,000 SCC/M

addOption("gas-adjustable-1016", "Select Port Size", "", 1); //HEADER OPTION
addList("gas-adjustable-1016", "1/8  FNPT", "", "gas-adjustable-1016-18"); 
addList("gas-adjustable-1016", "1/8  Inlet, 1/4 Outlet", "", "gas-adjustable-1016-18"); 
//1/8"FPNT  1/8" inlet,1/4" outlet

addOption("gas-adjustable-1016-18", "Select Pressure Rating", "", 1); //HEADER OPTION
addList("gas-adjustable-1016-18", "80 PSIG", "", "gas-adjustable-1016-18-80"); 
addList("gas-adjustable-1016-18", "100 PSIG", "", "gas-adjustable-1016-18-80"); 
addList("gas-adjustable-1016-18", "1500 PSIG", "", "gas-adjustable-1016-18-80");
addList("gas-adjustable-1016-18", "3000 PSIG", "", "gas-adjustable-1016-18-80");
//80, 100, 1500,  3000 PSIG

addOption("gas-adjustable-1016-18-80", "Select Material", "", 1); //HEADER OPTION
addOption("gas-adjustable-1016-18-80", "Teflon", "results/adjustable_monitors_results.htm");
addOption("gas-adjustable-1016-18-80", "Brass", "results/adjustable_monitors_results.htm");
addOption("gas-adjustable-1016-18-80", "PVC CCM Only", "results/adjustable_monitors_results.htm"); 
addOption("gas-adjustable-1016-18-80", "316 Stainless Steel", "results/adjustable_monitors_results.htm");
//Teflon, Brass, 316ss PVC (CCM only)


//-----125 Series 125 Bypass CCM Series     liquid
//flow range
addList("liquids-adjustable", "3 - 950 SCCM", "", "liquids-adjustable-15"); 
addList("liquids-adjustable", "1 - 500 SCCM", "", "liquids-adjustable-15"); 
///1 - 500 SCCM  3 - 950 SCCM

addOption("liquids-adjustable-15", "Select Port Size", "", 1); //HEADER OPTION
addList("liquids-adjustable-15", "1/8  FNPT", "", "liquids-adjustable-15-18"); 
addList("liquids-adjustable-15", "1/8  Inlet, 1/4 Outlet CCM Only", "", "liquids-adjustable-15-18"); 
//1/8"FPNT  1/8" inlet,1/4" outlet  (CCM)only

addOption("liquids-adjustable-15-18", "Select Pressure Rating", "", 1); //HEADER OPTION
addList("liquids-adjustable-15-18", "80 PSIG CCM Only", "", "liquids-adjustable-15-18-80"); 
addList("liquids-adjustable-15-18", "100 PSIG", "", "liquids-adjustable-15-18-80"); 
addList("liquids-adjustable-15-18", "1500 PSIG", "", "liquids-adjustable-15-18-80");
addList("liquids-adjustable-15-18", "3000 PSIG", "", "liquids-adjustable-15-18-80");
//80 (CCM)  100, 1500, 3000 PSIG


addOption("liquids-adjustable-15-18-80", "Select Material", "", 1); //HEADER OPTION
addOption("liquids-adjustable-15-18-80", "Teflon", "results/adjustable_monitors_results.htm");
addOption("liquids-adjustable-15-18-80", "Brass", "results/adjustable_monitors_results.htm");
addOption("liquids-adjustable-15-18-80", "PVC", "results/adjustable_monitors_results.htm"); 
addOption("liquids-adjustable-15-18-80", "316 Stainless Steel", "results/adjustable_monitors_results.htm");
//Teflon, Brass, 316ss PVC

//------------------------fs series


addOption("liquids-fixed", "Select Flow Range", "", 1); //HEADER OPTION
addList("liquids-fixed", "0.015 - 8.50 GPM", "", "liquids-fixed-01"); 
//0.015 - 8.50 GPM

addOption("liquids-fixed-01", "Select Port Size", "", 1); //HEADER OPTION
addList("liquids-fixed-01", "1/2  FNPT (MNPT)", "", "liquids-fixed-01-12"); 
addList("liquids-fixed-01", "3/4  FNPT (MNPT)", "", "liquids-fixed-01-12"); 
addList("liquids-fixed-01", "1`` FNPT (MNPT)", "", "liquids-fixed-01-12"); 
//1/2", 3/4", 1" FPNT (MNPT)

addOption("liquids-fixed-01-12", "Select Pressure Rating", "", 1); //HEADER OPTION
addList("liquids-fixed-01-12", "100 PSIG", "", "liquids-fixed-01-12-10"); 
addList("liquids-fixed-01-12", "250 PSIG", "", "liquids-fixed-01-12-10"); 
addList("liquids-fixed-01-12", "500 PSIG", "", "liquids-fixed-01-12-10"); 
//100, 250 500 PSIG

addOption("liquids-fixed-01-12-10", "Select Material", "", 1); //HEADER OPTION
addOption("liquids-fixed-01-12-10", "PVC", "results/non_adjustable_monitors_results.htm");
addOption("liquids-fixed-01-12-10", "Brass", "results/non_adjustable_monitors_results.htm");
addOption("liquids-fixed-01-12-10", "316 Stainless Steel", "results/non_adjustable_monitors_results.htm");
//PVC, Brass 316 ss

//---------------------500 Bypass  500BPHP gas

//flow range
addList("gas-adjustable", "0.20 - 35 SCFM", "", "gas-adjustable-02");
addList("gas-adjustable", "0.20 - 75 SCFM", "", "gas-adjustable-02");
//0.20 - 35 SCFM, 0.20 - 75 SCFM

addOption("gas-adjustable-02", "Select Port Size", "", 1); //HEADER OPTION
addList("gas-adjustable-02", "1/2  FNPT", "", "gas-adjustable-02-12"); 
//1/2" FNPT

addOption("gas-adjustable-02-12", "Select Pressure Rating", "", 1); //HEADER OPTION
addList("gas-adjustable-02-12", "80 PSIG", "", "gas-adjustable-02-12-80"); 
addList("gas-adjustable-02-12", "1500 PSIG", "", "gas-adjustable-02-12-80");
addList("gas-adjustable-02-12", "3000 PSIG", "", "gas-adjustable-02-12-80");
addList("gas-adjustable-02-12", "6000 PSIG", "", "gas-adjustable-02-12-80");
//80, 1500, 3000 6000 PSIG

addOption("gas-adjustable-02-12-80", "Select Material", "", 1); //HEADER OPTION
addOption("gas-adjustable-02-12-80", "Teflon", "results/adjustable_monitors_results.htm");
addOption("gas-adjustable-02-12-80", "Brass", "results/adjustable_monitors_results.htm");
addOption("gas-adjustable-02-12-80", "316 Stainless Steel", "results/adjustable_monitors_results.htm");
//Teflon, Brass, 316ss

//---------------------500 Bypass  500BPHP liquid

//liquid adjustable
addList("liquids-adjustable", "0.03 - 10 GPM", "", "liquids-adjustable-03");
addList("liquids-adjustable", "0.03 - 4 GPM", "", "liquids-adjustable-03");
//0.03 - 10 GPM  0.03 - 4 GPM


addOption("liquids-adjustable-03", "Select Port Size", "", 1); //HEADER OPTION
addList("liquids-adjustable-03", "1/2  FNPT", "", "liquids-adjustable-03-12"); 
//1/2" FNPT

addOption("liquids-adjustable-03-12", "Select Pressure Rating", "", 1); //HEADER OPTION
addList("liquids-adjustable-03-12", "80 PSIG", "", "liquids-adjustable-03-12-80"); 
addList("liquids-adjustable-03-12", "1500 PSIG", "", "liquids-adjustable-03-12-80");
addList("liquids-adjustable-03-12", "3000 PSIG", "", "liquids-adjustable-03-12-80");
addList("liquids-adjustable-03-12", "6000 PSIG", "", "liquids-adjustable-03-12-80");
//80, 1500, 3000 6000 PSIG

addOption("liquids-adjustable-03-12-80", "Select Material", "", 1); //HEADER OPTION
addOption("liquids-adjustable-03-12-80", "Teflon", "results/adjustable_monitors_results.htm");
addOption("liquids-adjustable-03-12-80", "Brass", "results/adjustable_monitors_results.htm");
addOption("liquids-adjustable-03-12-80", "316 Stainless Steel", "results/adjustable_monitors_results.htm");
//Teflon, Brass, 316ss


//--------------------------lph series\\  gas
addOption("gas-fixed", "Select Flow Range", "", 1); //HEADER OPTION
addList("gas-fixed", "50 - 45,300 SCC/M", "", "gas-fixed-50");
// flow range 

addOption("gas-fixed-50", "Select Port Size", "", 1); //HEADER OPTION
addList("gas-fixed-50", "1/8  FNPT", "", "gas-fixed-50-18"); 
addList("gas-fixed-50", "1/4  FNPT", "", "gas-fixed-50-18");
//1/8", 1/4" FPNT

addOption("gas-fixed-50-18", "Select Pressure Rating", "", 1); //HEADER OPTION
addList("gas-fixed-50-18", "80 PSIG", "", "gas-fixed-50-18-80"); 
addList("gas-fixed-50-18", "100 PSIG", "", "gas-fixed-50-18-80");
addList("gas-fixed-50-18", "1500 PSIG", "", "gas-fixed-50-18-80"); 
addList("gas-fixed-50-18", "3000 PSIG", "", "gas-fixed-50-18-80"); 
//80, 100, 1500  3000

addOption("gas-fixed-50-18-80", "Select Material", "", 1); //HEADER OPTION
addOption("gas-fixed-50-18-80", "Teflon", "results/non_adjustable_monitors_results.htm");
addOption("gas-fixed-50-18-80", "Acrylic", "results/non_adjustable_monitors_results.htm");
addOption("gas-fixed-50-18-80", "Brass", "results/non_adjustable_monitors_results.htm");
addOption("gas-fixed-50-18-80", "316 Stainless Steel", "results/non_adjustable_monitors_results.htm");

//Acrylic, Brass, 316ss Teflon®

//--------------------------lph series\\  liquid
addList("liquids-fixed", "1 - 2200 SCCM", "", "liquids-fixed-12"); 
// flow range 1 - 2200 SCCM


addOption("liquids-fixed-12", "Select Port Size", "", 1); //HEADER OPTION
addList("liquids-fixed-12", "1/8  FNPT", "", "liquids-fixed-12-18"); 
addList("liquids-fixed-12", "1/4  FNPT", "", "liquids-fixed-12-18");
//1/8", 1/4" FPNT

addOption("liquids-fixed-12-18", "Select Pressure Rating", "", 1); //HEADER OPTION
addList("liquids-fixed-12-18", "100 PSIG", "", "liquids-fixed-12-18-80");
addList("liquids-fixed-12-18", "1500 PSIG", "", "liquids-fixed-12-18-80"); 
addList("liquids-fixed-12-18", "3000 PSIG", "", "liquids-fixed-12-18-80"); 
//100, 1500  3000 PSIG


addOption("liquids-fixed-12-18-80", "Select Material", "0", 1); //HEADER OPTION
addOption("liquids-fixed-12-18-80", "Acrylic", "results/non_adjustable_monitors_results.htm");
addOption("liquids-fixed-12-18-80", "Brass", "results/non_adjustable_monitors_results.htm");
addOption("liquids-fixed-12-18-80", "316 Stainless Steel", "results/non_adjustable_monitors_results.htm");
//Acrylic, Brass 316ss
//non_adjustable_monitors_results.htm
//adjustable_monitors_results.htm