//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", "region");

addOption("region", "Select a region", "", 1); //HEADER OPTION
addList("region", "Colorado", "", "CO");
addList("region", "Georgia", "", "GA");
//addList("region", "Hawaii", "", "HI");
addList("region", "Mid-Atlantic States", "", "MAS");
addList("region", "Northern California", "", "NCAL");
addList("region", "Northwest", "", "NW");
addList("region", "Ohio", "", "OH");
addList("region", "Southern California", "", "SCAL");

// union sub-list for Colorado
addOption("CO", "Select a union", "", 1); 
addOption("CO", "SEIU", "co_seiu/home/index.html");
addOption("CO", "UFCW", "co_ufcw/home/index.html"); 

// union sub-list for Georgia, defaults to UFCW since that is the only union, remove 1 after union url to remove this default choice
addOption("GA", "Select a union", ""); 
addOption("GA", "UFCW", "ga_ufcw/home/index.html", 1);

// union sub-list for Hawaii, defaults to UFCW since that is the only union, remove 1 after union url to remove this default choice
//addOption("HI", "Select a union", ""); 
//addOption("HI", "UNION1", "hi_union1/home/index.html");
//addOption("HI", "UNION2", "hi_union2/home/index.html");
//addOption("HI", "UNION3", "hi_union3/home/index.html");

// union sub-list for Mid-Atlantic States
addOption("MAS", "Select a union", ""); 
addOption("MAS", "OPEIU", "mas_opeiu/home/index.html");
addOption("MAS", "UFCW", "mas_ufcw/home/index.html");

// union sub-list for Northern California
addOption("NCAL", "Select a union", ""); 
addOption("NCAL", "ESC/IFPTE", "ncal_ifpte/home/index.html");
addOption("NCAL", "OPEIU", "ncal_opeiu/home/index.html");
addOption("NCAL", "SEIU UHW-West", "ncal_seiu_uhw/home/index.html");

// union sub-list for Northwest
addOption("NW", "Select a union", "");
addOption("NW", "ILWU", "nw_ilwu/home/index.html");
addOption("NW", "OFNHP", "nw_ofnhp/home/index.html");
addOption("NW", "ONA", "nw_ona/home/index.html");
addOption("NW", "SEIU", "nw_seiu/home/index.html");
addOption("NW", "UFCW", "nw_ufcw/home/index.html");

// union sub-list for Ohio
addOption("OH", "Select a union", "");
addOption("OH", "ONA", "oh_ona/home/index.html");
addOption("OH", "OPEIU", "oh_opeiu/home/index.html");

// union sub-list for Southern California
addOption("SCAL", "Select a union", "");
addOption("SCAL", "KPNAA", "scal_kpnaa/home/index.html");
addOption("SCAL", "OPEIU", "scal_opeiu/home/index.html");
addOption("SCAL", "SEIU UHW-West", "scal_seiu_uhw/home/index.html");
addOption("SCAL", "Teamsters", "scal_teamsters/home/index.html");
addOption("SCAL", "UFCW", "scal_ufcw/home/index.html");
addOption("SCAL", "UNAC/UHCP", "scal_unac/home/index.html");
addOption("SCAL", "USW", "scal_steelworkers/home/index.html");
