//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", "First-Select");

addOption("First-Select", "Then select a level...", "", 1); //HEADER OPTION
addList("First-Select", "College Level and Higher", "", "College");
addList("First-Select", "High School", "", "HS");
addList("First-Select", "Intermediate", "", "Intermediate");
addList("First-Select", "Grades K - 6", "", "K6");
addList("First-Select", "Test Preparation", "", "TestPrep");

addOption("College", "Now select a course...", "", 1); //HEADER OPTION
addList("College", "Accounting", "1", "1");
addList("College", "Agriculture", "2", "2");
addList("College", "Algebra", "3", "3"); 
addList("College", "Algebra 2", "4", "4");
addList("College", "American Studies", "5", "5");
addList("College", "Anatomy", "6", "6");
addList("College", "Anthropology", "7", "7");
addList("College", "Archaeology", "8", "8");
addList("College", "Architecture", "9", "9");
addList("College", "Art and History", "10", "10");
addList("College", "Asian Studies", "11", "11");
addList("College", "Astronomy", "12", "12");
addList("College", "Biochemistry", "13", "13");
addList("College", "Biology", "14", "14");
addList("College", "Biology (cell)", "15", "15");
addList("College", "Biology (molecular)", "16", "16");
addList("College", "Biophysics", "17", "17");
addList("College", "Biotechnology", "18", "18");
addList("College", "Botany", "19", "19");
addList("College", "Business Admin.", "20", "20");
addList("College", "Business Mgmt.", "21", "21");
addList("College", "C programming", "22", "22");
addList("College", "C++ programming", "23", "23");
addList("College", "Calculus", "24", "24");
addList("College", "Chemical Engineering", "25", "25");
addList("College", "Chemistry (General)", "26", "26");
addList("College", "Chemistry (Organic)", "27", "27");
addList("College", "Chemistry (Physical)", "28", "28");
addList("College", "Chemistry (Analytical)", "29", "29");
addList("College", "Chinese", "30", "30");
addList("College", "Civil Engineering", "31", "31");
addList("College", "COBOL programming", "32", "32");
addList("College", "Communications", "33", "33");
addList("College", "Computer Engineering", "34", "34");
addList("College", "Computer Programming", "35", "35");
addList("College", "Computer Science", "36", "36");
addList("College", "Construction Tech.", "37", "37");
addList("College", "Counseling", "38", "38");
addList("College", "Creative Writing", "39", "39");
addList("College", "Culinary Arts", "40", "40");
addList("College", "Dental Assisting", "41", "41");
addList("College", "Differential Eqns.", "42", "42");
addList("College", "Drafting", "43", "43");
addList("College", "Economics", "44", "44");
addList("College", "Education", "45", "45");
addList("College", "Electrical Engineering", "46", "46");
addList("College", "English", "47", "47");
addList("College", "ESL", "48", "48");
addList("College", "EMT", "49", "49");
addList("College", "Essay", "50", "50");
addList("College", "Film", "51", "51");
addList("College", "Finance", "52", "52");
addList("College", "Fine Arts", "53", "53");
addList("College", "French", "54", "54");
addList("College", "Gender Studies", "55", "55");
addList("College", "Genetics", "56", "56");
addList("College", "Geography", "57", "57");
addList("College", "Geology", "58", "58");
addList("College", "Geometry", "59", "59");
addList("College", "Geophysics", "60", "60");
addList("College", "German", "61", "61");
addList("College", "Government/Civics", "62", "62");
addList("College", "History", "63", "63");
addList("College", "History (European)", "64", "64");
addList("College", "History (Roman Empire)", "65", "65");
addList("College", "History (U.S.)", "66", "66");
addList("College", "Human Development", "67", "67");
addList("College", "Humanities", "68", "68");
addList("College", "Immunology", "69", "69");
addList("College", "Industrial Engineering", "70", "70");
addList("College", "Information Systems", "71", "71");
addList("College", "Italian", "72", "72");
addList("College", "Japanese", "73", "73");
addList("College", "JAVA programming", "74", "74");
addList("College", "Javascript", "75", "75");
addList("College", "Journalism", "76", "76");
addList("College", "Latin", "77", "77");
addList("College", "Law", "78", "78");
addList("College", "Linear Algebra", "79", "79");
addList("College", "Literature", "80", "80");
addList("College", "Marketing", "81", "81");
addList("College", "Marine Biology", "82", "82");
addList("College", "Material Science", "83", "83");
addList("College", "Mathematics", "84", "84");
addList("College", "Mechanical Eng.", "85", "85");
addList("College", "Music and Music History", "86", "86");
addList("College", "Natural Science", "87", "87");
addList("College", "Oceanography", "88", "88");
addList("College", "Pharmacology", "89", "89");
addList("College", "Philosophy", "90", "90");
addList("College", "Photography", "91", "91");
addList("College", "Physics", "92", "92");
addList("College", "Physiology", "93", "93");
addList("College", "Political Science", "94", "94");
addList("College", "Pre-Calculus", "95", "95");
addList("College", "Psychology", "96", "96");
addList("College", "Religious Studies", "97", "97");
addList("College", "Sign Language", "98", "98");
addList("College", "Sociology", "99", "99");
addList("College", "Software Design", "100", "100");
addList("College", "Spanish", "101", "101");
addList("College", "Speech", "102", "102");
addList("College", "Statistics", "103", "103");
addList("College", "Thermodynamics", "104", "104");
addList("College", "Trigonometry", "105", "105");
addList("College", "Typing", "106", "106");
addList("College", "Vector Calculus", "107", "107");
addList("College", "Women's Studies", "108", "108");
addList("College", "Zoology", "109", "109"); //END OF THIS NODE

addOption("HS", "Now select a course...", "", 1); //HEADER OPTION
addList("HS", "Algebra", "110", "110");
addList("HS", "Algebra2", "111", "111");
addList("HS", "Astronomy", "112", "112");
addList("HS", "Biology", "113", "113");
addList("HS", "Biology (AP)", "114", "114");
addList("HS", "Calculus", "115", "115");
addList("HS", "Calculus (AP)", "116", "116");
addList("HS", "Chemistry", "117", "117");
addList("HS", "Chemistry (AP)", "118", "118");
addList("HS", "Chinese", "119", "119");
addList("HS", "Civics/Government (AP)", "120", "120");
addList("HS", "Computers", "121", "121");
addList("HS", "Creative Writing", "122", "122");
addList("HS", "English", "123", "123");
addList("HS", "English Lang./Comp", "124", "124");
addList("HS", "English Lit./Comp.", "125", "125");
addList("HS", "Envir. Science (AP)", "126", "126");
addList("HS", "Environmental Science", "127", "127");
addList("HS", "Economics", "128", "128");
addList("HS", "ESL", "129", "129");
addList("HS", "Essay", "130", "130");
addList("HS", "French", "131", "131");
addList("HS", "French (AP)", "132", "132");
addList("HS", "Geometry", "133", "133");
addList("HS", "German", "134", "134");
addList("HS", "Grammar", "135", "135");
addList("HS", "History", "136", "136");
addList("HS", "History (AP European)", "137", "137");
addList("HS", "History (European)", "138", "138");
addList("HS", "History (World)", "139", "139");
addList("HS", "Home Schooling", "140", "140");
addList("HS", "Latin", "141", "141");
addList("HS", "Latin (AP)", "142", "142");
addList("HS", "Literature", "143", "143");
addList("HS", "Marine Science", "144", "144");
addList("HS", "Mathematics", "145", "145");
addList("HS", "Music", "146", "146");
addList("HS", "Physics", "147", "147");
addList("HS", "Physics (AP)", "148", "148");
addList("HS", "Pre-Algebra", "149", "149");
addList("HS", "Psychology", "150", "150");
addList("HS", "Psychology (AP)", "151", "151");
addList("HS", "Spanish", "152", "152");
addList("HS", "Spanish (AP)", "153", "153");
addList("HS", "Statistics", "154", "154");
addList("HS", "Trigonometry", "155", "155");
addList("HS", "Vocabulary", "156", "156");
addList("HS", "Writing", "157", "157");

addOption("Intermediate", "Now select a course", "", 1); //HEADER OPTION
addList("Intermediate", "Algebra", "158", "158");
addList("Intermediate", "Art and Music", "159", "159");
addList("Intermediate", "Band and Choir", "160", "160");
addList("Intermediate", "Biology", "161", "161");
addList("Intermediate", "Computers", "162", "162");
addList("Intermediate", "Drama", "163", "163");
addList("Intermediate", "English", "164", "164");
addList("Intermediate", "French", "165", "165");
addList("Intermediate", "G.A.T.E. program", "166", "166");
addList("Intermediate", "Geometry", "167", "167");
addList("Intermediate", "Grammar", "168", "168");
addList("Intermediate", "Life Science", "169", "169");
addList("Intermediate", "Life Skills for Teens", "170", "170");
addList("Intermediate", "Mathematics", "171", "171");
addList("Intermediate", "Pre-Algebra", "172", "172");
addList("Intermediate", "Reading", "173", "173");
addList("Intermediate", "Science", "174", "174");
addList("Intermediate", "Social Studies", "175", "175");
addList("Intermediate", "Spanish", "176", "176");
addList("Intermediate", "Speech Education", "177", "177");
addList("Intermediate", "Speech Therapy", "178", "178");
addList("Intermediate", "Spelling", "179", "179");
addList("Intermediate", "Vocabulary", "180", "180");
addList("Intermediate", "Writing", "181", "181");

addOption("K6", "Now select a course...", "", 1); //HEADER OPTION
addList("K6", "Accountability Coach", "182", "182");
addList("K6", "Alphabet Drills", "183", "183");
addList("K6", "Art", "184", "184");
addList("K6", "Basic Math", "185", "185");
addList("K6", "English", "186", "186");
addList("K6", "Grammar", "187", "187");
addList("K6", "History", "188", "188");
addList("K6", "Language Arts", "189", "189");
addList("K6", "Life Skills", "190", "190");
addList("K6", "Mathematics", "191", "191");
addList("K6", "Music", "192", "192");
addList("K6", "Penmanship", "193", "193");
addList("K6", "Physical Education", "194", "194");
addList("K6", "Reading", "195", "195");
addList("K6", "Science", "196", "196");
addList("K6", "Social Science", "197", "197");
addList("K6", "Social Studies", "198", "198");
addList("K6", "Speech", "199", "199");
addList("K6", "Special Education", "200", "200");
addList("K6", "Spelling", "201", "201");
addList("K6", "Test-Taking Skills", "202", "202");
addList("K6", "Writing", "203", "203");

addOption("TestPrep", "Now select a course...", "", 1); //HEADER OPTION
addList("TestPrep", "ACT", "204", "204");
addList("TestPrep", "CLEP", "205", "205");
addList("TestPrep", "DAT", "206", "206");
addList("TestPrep", "GED", "207", "207");
addList("TestPrep", "GMAT", "208", "208");
addList("TestPrep", "GRE", "209", "209");
addList("TestPrep", "ISEE", "210", "210");
addList("TestPrep", "LSAT", "211", "211");
addList("TestPrep", "MCAT", "212", "212");
addList("TestPrep", "PSAT", "213", "213");
addList("TestPrep", "SAT I", "214", "214");
addList("TestPrep", "SAT II Biology", "215", "215");
addList("TestPrep", "SAT II Chemistry", "216", "216");
addList("TestPrep", "SAT II French", "217", "217");
addList("TestPrep", "SAT II Literature", "218", "218");
addList("TestPrep", "SAT II Mathematics", "219", "219");
addList("TestPrep", "SAT II Spanish", "220", "220");
addList("TestPrep", "SAT II U.S. History", "221", "221");
addList("TestPrep", "SAT II World History", "222", "222");
addList("TestPrep", "SAT II Writing", "223", "223");
addList("TestPrep", "SSAT", "224", "224");
addList("TestPrep", "Test-Taking Skills", "225", "225");
addList("TestPrep", "TOEFL", "226", "226");