// builds LS querystring function buildQueryString(){ var targetLocation="https:///tlcScripts/interpac.dll?Search&Config=&LimitsId=0&StartIndex=0&ItemsPerPage=10&SearchType=1&Branch=0&SearchField="; var toFind=document.AquaForm.q.value; if (toFind <= "What are you searching for?"){ toFind = toFind.replace("What are you searching for?","") } toFind = escape(toFind); targetLocation+="&SearchData="; targetLocation+=toFind; if (toFind>"") return window.location=targetLocation; } // AquaBrowser Build Querystring function buildAquaQueryString(){ var AquatargetLocation="https://"; var toFind=document.AquaForm.q.value; if (toFind == "What are you searching for?"){ toFind = toFind.replace("What are you searching for?","") } toFind = toFind.replace("&",""); toFind = toFind.replace(" "," ") toFind = escape(toFind); if (toFind == ""){ return false; }else{ AquatargetLocation+="/?q="; AquatargetLocation+=toFind; alert(AquatargetLocation); return document.AquaForm.action=AquatargetLocation; } } function buildEspanolQueryString() { var EspanolTarget="https://?uilang=es"; var toFind=document.AquaForm.q.value toFind = toFind.replace("¿Para qué usted está buscando?",""); toFind = toFind.replace("&",""); toFind = toFind.replace(" "," "); toFind = escape(toFind); if (toFind <=""){ EspanolTarget=EspanolTarget; }else{ EspanolTarget+="&q=" EspanolTarget+=toFind; } window.location=(EspanolTarget); } function updateSchoolInfo() { sID = document.getElementById("schoolselect").value SchoolType = document.getElementById("schooltypselect").value window.location="school.asp?SchoolType="+SchoolType+"&sID="+sID+"" } function updateSchoolOptions(ID2Get, ajax, SchoolID) { load("school.asp?getType="+ID2Get+"&ajax="+ajax+"&SchoolID="+SchoolID, "schooloptions"); var branches= new Array(); var configs= new Array(); var LS2configs= new Array(); configs[0] = "ysm"; LS2configs[0] = "ysm"; branches[0] = "0"; branches[1]=",2731,2755,2779,2719,2725,2715,2709,2707,2737,2773,2743,2749,2740,"; configs[1]="sec"; LS2configs[1]="sec"; branches[2]=",1132,1164,1343,1366,1170,1106,1484,1365,1188,1118,1124,1360,1130,1136,1140,1142,1148,1540,1168,1172,1184,1319,1196,1202,1208,1214,1226,1250,1268,1253,1127,1135,1291,1280,1167,1116,1298,1304,1310,1356,1394,1334,1316,1322,1328,1340,1220,1346,1350,1342,1370,1451,1376,1400,1383,1358,1450,1412,1426,1424,1430,1276,1228,1354,1468,1478,1496,1508,1526,1532,1550,1562,1232,1568,1574,1582,1586,1153,1235,1598,1388,1604,1147,1113,1178,1616,1150,1544,"; configs[2]="1136"; LS2configs[2]="1136"; branches[5]="0"; configs[5]=""; LS2configs[5]=""; branches[6]="0"; configs[6]=""; LS2configs[6]=""; if (document.getElementById("branchInput")) document.getElementById("branchInput").value = branches[ID2Get]; if (document.getElementById("configInput")) document.getElementById("configInput").value = configs[ID2Get]; if (document.getElementById("LS2configInput")) document.getElementById("LS2configInput").value = LS2configs[ID2Get]; }