//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="alert" //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", "category");

addOption("category", "Select an item", "", 1); //HEADER OPTION
addList("category", "University", "0", "University");
addList("category", "Professor", "1", "Professor");
addList("category", "Student", "2", "Student");
addList("category", "Consultant", "3", "Consultant");
addList("category", "Conference/Exhibation/Fair", "4", "Conference/Exhibation/Fair");

addOption("University", "Select an item", "", 1); //HEADER OPTION
addOption("University", "Articulation agreement", "u1");
addOption("University", "Credit Transfer", "u2");
addOption("University", "Joint Research", "u3");
addOption("University", "Library Resources", "u4");
addOption("University", "Program Linkage", "u5");


addOption("Professor", "Select an item", "", 1); //HEADER OPTION
addOption("Professor", "Lecture", "p1");
addOption("Professor", "Research", "p2");
addOption("Professor", "Training", "p3");
addOption("Professor", "Visiting Scholar", "p4");

addOption("Student", "Select an item", "", 1); //HEADER OPTION
addOption("Student", "Undergraduate", "s1");
addOption("Student", "Graduate", "s2");
addOption("Student", "Post-Graduate", "s3");
addOption("Student", "Summer Course", "s4");
addOption("Student", "Language Program", "s5");

addOption("Consultant", "Select an item", "", 1); //HEADER OPTION
addOption("Consultant", "Collaboration", "c1"); //HEADER OPTION
addOption("Consultant", "Fair", "c2"); //HEADER OPTION

addOption("Conference/Exhibation/Fair", "Select an item", "", 1);
addOption("Conference/Exhibation/Fair", "Abstract", "f1");
addOption("Conference/Exhibation/Fair", "Professionals", "f2");
addOption("Conference/Exhibation/Fair", "Education Fair", "f3");
