// Call this function from document body to create generic dropdown menu function generateMenu(formObjname, onChangeStr, firstMenuLine) {
if (window.profiles) {
//generate array based on searchIndex.js var menuArray = buildArrayfromIndex();
//Add first line to menuArray array MenuOptionsArray1 = new Array(firstMenuLine+"|0") MenuOptionsArray2 = MenuOptionsArray1.concat(menuArray) optStr = "";
for (i=0; i
return "";
} else { return ""; } }
//Build dropdown menu options based on searchIndex.js function buildArrayfromIndex() {
tmpArray = new Array();
// add pages you do NOT want included in your dropdown menu // to the "filterList" array. These pages should be listed exactly // as they appear in searchIndex.js filterList = new Array();
for (x=0; x < profiles.length; x++) {
divide = profiles[x].split("|");
//Filter out pages that are in filterList array
filteredPg = false;
for (y=0; y
//This routine is called via dropdown menu's "onChange" function goPage(menuNm) { if (menuNm.options[menuNm.selectedIndex].value != "0") { location.href = menuNm.options[menuNm.selectedIndex].value; } }
SEARCH PROCEEDINGS
|