//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.

addListGroup("menu", "First-Select");

addOption("First-Select", "Select Account Type", "", 1);
addList("First-Select", "Institutional", "", "Institutional");
addList("First-Select", "Professional", "", "Professional");
addList("First-Select", "Partnership", "", "Partnership");
addList("First-Select", "Other", "", "Other");

addOption("Institutional", "Select Platform", "", 1);
addList("Institutional", "X_Trader", "", "Institutional-X_Trader");

addOption("Institutional-X_Trader", "Select FCM", "", 1);
addList("Institutional-X_Trader", "FCStone", "", "Institutional-FCStone");
addList("Institutional-X_Trader", "Man Financial", "", "Institutional-Man Financial");

addOption("Institutional-FCStone", "Select Account Type", "", 1);
addList("Institutional-FCStone", "Domestic Account", "fcstone/domestic.asp"); 
addList("Institutional-FCStone", "Foreign Account", "fcstone/foreign.asp");

addOption("Institutional-Man Financial", "Select Account Type", "", 1);
addList("Institutional-Man Financial", "Domestic Account", "man-financial/domestic.asp");
addList("Institutional-Man Financial", "Foreign Account", "man-financial/foreign.asp");

addOption("Professional", "Select Platform", "", 1);
addList("Professional", "Ninja Trader-TT", "", "Professional-Ninja Trader-TT");
addList("Professional", "Ninja Trader-PATS", "", "Professional-Ninja Trader-PATS");

addList("Professional", "Strategy Runner", "", "Professional-Strategy Runner");
addList("Professional", "CQG Trader", "", "Professional-CQG Trader");
addList("Professional", "J-Trader", "", "Professional-J-Trader");

addOption("Professional-Ninja Trader-PATS", "Select FCM", "", 1);
addList("Professional-Ninja Trader-PATS", "FCStone", "","Professional-FCStone");
addList("Professional-Ninja Trader-PATS", "Man Financial", "","Professional-Man Financial");

addOption("Professional-Ninja Trader-TT", "Select FCM", "", 1);
addList("Professional-Ninja Trader-TT", "FCStone", "","Professional-FCStone");

addOption("Professional-Strategy Runner", "Select FCM", "", 1);
addList("Professional-Strategy Runner", "FCStone", "","Professional-FCStone");

addOption("Professional-CQG Trader", "Select FCM", "", 1);
addList("Professional-CQG Trader", "FCStone", "","Professional-FCStone");

addOption("Professional-J-Trader", "Select FCM", "", 1);
addList("Professional-J-Trader", "FCStone", "","Professional-FCStone");
addList("Professional-J-Trader", "Man Financial", "","Professional-Man Financial");

addOption("Professional-FCStone", "Select Account Type", "", 1);
addList("Professional-FCStone", "Domestic Account", "fcstone/domestic.asp"); 
addList("Professional-FCStone", "Foreign Account", "fcstone/foreign.asp");

addOption("Professional-Man Financial", "Select Account Type", "", 1);
addList("Professional-Man Financial", "Domestic Account", "man-financial/domestic.asp");
addList("Professional-Man Financial", "Foreign Account", "man-financial/foreign.asp");

addOption("Other", "Select Platform", "", 1);
addList("Other", "N/A", "", "Other-N/A");

addOption("Other-N/A", "Select FCM", "", 1);
addList("Other-N/A", "FCStone", "", "Other-FCStone");
addList("Other-N/A", "Man Financial", "", "Other-Man Financial");

addOption("Other-FCStone", "Select Account Type", "", 1);
addList("Other-FCStone", "Domestic Account", "fcstone/domestic.asp"); 
addList("Other-FCStone", "Foreign Account", "fcstone/foreign.asp");

addOption("Other-Man Financial", "Select Account Type", "", 1);
addList("Other-Man Financial", "Domestic Account", "man-financial/domestic.asp");
addList("Other-Man Financial", "Foreign Account", "man-financial/foreign.asp");

