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

addListGroup("calculator", "semester");

//First Dropdown Options
// addList(IDENDIFIER, DISPLAY TEXT, DISPLAY TEXT, NEXT IDENTIFIER)
addOption("semester", "Select a semester", "", ""); //Empty starter option
addList("semester", "Fall 2011", "201160", "Fall-2011");
addList("semester", "Spring 2012", "201210", "Spring-2012");

addOption("Fall-2011", "Select your classification", "", ""); //Empty starter option
addList("Fall-2011", "Undergraduate", "undergraduate", "undergraduate");
addList("Fall-2011", "Graduate", "graduate", "graduate");
addList("Fall-2011", "ESL", "esl", "esl");

addOption("Spring-2012", "Select your classification", "", ""); //Empty starter option
addList("Spring-2012", "Undergraduate", "undergraduate", "undergraduate");
addList("Spring-2012", "Graduate", "graduate", "graduate");
addList("Spring-2012", "ESL", "esl", "esl");

addOption("undergraduate", "Select a status", "", ""); //Empty starter option
addList("undergraduate", "In-state", "instate", "hours");
addList("undergraduate", "Out of state - New Student", "outstate-new", "hours");
addList("undergraduate", "Out of state - Existing Student", "outstate-existing", "hours");
addList("undergraduate", "International", "international", "hours");

addOption("graduate", "Select a status", "", ""); //Empty starter option
addList("graduate", "In-state", "instate", "hours");
addList("graduate", "Out of state - New Student", "outstate-new", "hours");
addList("graduate", "Out of state - Existing Student", "outstate-existing", "hours");
addList("graduate", "International", "international", "hours");

addOption("esl", "Select a status", "", ""); //Empty starter option
addList("esl", "International", "intl", "intl-hours");


addOption("hours", "Select hours", "", ""); //Empty starter option
addList("hours", "1", "1", "");
addList("hours", "2", "2", "");
addList("hours", "3", "3", "");
addList("hours", "4", "4", "");
addList("hours", "5", "5", "");
addList("hours", "6", "6", "");
addList("hours", "7", "7", "");
addList("hours", "8", "8", "");
addList("hours", "9", "9", "");
addList("hours", "10", "10", "");
addList("hours", "11", "11", "");
addList("hours", "12", "12", "");
addList("hours", "13", "13", "");
addList("hours", "14", "14", "");
addList("hours", "15", "15", "");
addList("hours", "16", "16", "");
addList("hours", "17", "17", "");
addList("hours", "18", "18", "");
addList("hours", "19", "19", "");
addList("hours", "20", "20", "");
addList("hours", "21", "21", "");
addList("hours", "22", "22", "");
addList("hours", "23", "23", "");
addList("hours", "24", "24", "");

addOption("intl-hours", "Select hours", "", ""); //Empty starter option
addList("intl-hours", "8 weeks", "6", "");       // the 8 week ESL cousre is 6 credit hours
addList("intl-hours", "16 weeks", "12", "");    // the 16 week ESL cousre is 12 credit hours
addList("intl-hours", "32 weeks", "18", "");    // the 32 week ESL cousre is 12 credit hours


