//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 Port Size", "", 1); //HEADER OPTION
addList("First-Select", "1/8`` FNPT", "", "size-1814"); 
addList("First-Select", "1/4`` FNPT", "", "size-1814"); 
addList("First-Select", "1/2`` FNPT", "", "size-12"); 


//=================12//MAO 500 Series  1.89-13.25 LPM (0.5-3.5 GPM)

addOption("size-12", "Select Output", "", 1); //HEADER OPTION
addList("size-12", "Voltage", "",  "size-12-output");
addList("size-12", "Pulse", "",  "size-12-output");

addOption("size-12-output", "Select Material", "", 1); //HEADER OPTION
addOption("size-12-output", "316 Stainless Steel","results/flow_meters_results.htm");
addOption("size-12-output", "Brass","results/flow_meters_results.htm");
addOption("size-12-output", "Teflon","results/flow_meters_results.htm");


//=================1814//MAO 125/250 Series 20-150 ML/M (0.32-2.38 GPH) 100-1800 ML/M (1.59-28.54 GPH)


addOption("size-1814", "Select Output", "", 1); //HEADER OPTION
addList("size-1814", "Pulse", "",  "size-1814-output");
addList("size-1814", "Voltage", "",  "size-1814-output");

addOption("size-1814-output", "Select Material", "", 1); //HEADER OPTION
addOption("size-1814-output", "316 Stainless Steel","results/flow_meters_results.htm");
addOption("size-1814-output", "Brass","results/flow_meters_results.htm");
addOption("size-1814-output", "Teflon","results/flow_meters_results.htm");



