function dummy() { return; } function swap(listIdPrefix,group) { collapsedList = document.getElementById(listIdPrefix + "_collapsed"); expandedList = document.getElementById(listIdPrefix + "_expanded"); if (collapsedList.style.display == "block") { collapsedList.style.display = "none"; expandedList.style.display = "block"; } else { collapsedList.style.display = "block"; expandedList.style.display = "none"; } if (group) { ensureExclusivity(listIdPrefix,group); } } function ensureExclusivity(listIdPrefix,group) { //alert("listIdPrefix is " + listIdPrefix + ", group is " + group); for (var i = 0 ; i < group.length-1 ; i++) { if (group[i] != listIdPrefix) { document.getElementById(group[i] + "_collapsed").style.display = "block"; document.getElementById(group[i] + "_expanded").style.display = "none"; } } } // mutually exclusive lists var groupA = new Array(); groupA[groupA.length] = "DegreeandCertificateAdmissions_excl"; groupA[groupA.length] = "CourseRegistration_excl"; groupA[groupA.length] = "CostsandFinancialAid_excl"; groupA[groupA.length] = "CoursesandGrades_excl"; groupA[groupA.length] = "MilitaryVeterans_excl"; groupA[groupA.length] = "LessonsandExams_excl"; groupA[groupA.length] = "TechnicalSupport_excl"; groupA[groupA.length] = "ConflictResolution_excl"; groupA[groupA.length] = "MarketingRequests_excl"; groupA[groupA.length] = "OtherAreas_excl"; groupA[groupA.length] = "OTHER_excl"; // these aren't used on this page var outerGroup = new Array(); outerGroup[outerGroup.length] = "list_1"; outerGroup[outerGroup.length] = "list_2"; // these aren't used on this page var innerGroup1 = new Array(); innerGroup1[innerGroup1.length] = "list_1_a"; innerGroup1[innerGroup1.length] = "list_1_b"; // these aren't used on this page var innerGroup2 = new Array(); innerGroup2[innerGroup2.length] = "list_2_a"; innerGroup2[innerGroup2.length] = "list_2_b";