// builds LS querystring function buildQueryString(){ var targetLocation="http:///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="http://"; 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="http://?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] = "PAC"; LS2configs[0] = "PAC"; branches[0] = "0"; branches[1]=",7120,2050,2100,4030,4050,4100,4300,4330,4320,4360,3820,4350,4390,4430,4420,4400,4450,4480,4520,4550,4600,4770,4560,4750,4800,4900,4920,2150,2230,2240,2250,2300,2320,2350,2380,2400,2510,2550,5400,2700,2800,2900,2940,2990,3230,3210,3240,3260,3280,3250,3300,3350,3400,3500,3600,3700,3850,4000,4010,250,30,450,470,460,520,480,490,600,980,4200,3470,1050,1090,1100,1200,1300,1400,1450,1470,1500,1600,1800,1820,1830,1850,1880,1920,2120,6900,430,2650,750,400,950,350,1350,4310,4370,"; configs[1]="es"; LS2configs[1]=""; branches[2]=",6420,6450,6470,6500,6530,6430,6350,6410,6740,6440,6760,6790,6720,6770,350,6800,6780,6900,400,750,5230,6560,6400,7120,5210,"; configs[2]="ms"; LS2configs[2]=""; branches[3]=",5210,7100,7350,7200,7250,7300,7320,7380,7400,7500,7550,7600,7700,7800,7850,5500,7900,5270,7820,5170,7120,5502,"; configs[3]="hs"; LS2configs[3]=""; branches[4]=",5440,5570,5530,5994,8510,5430,"; configs[4]="charter"; LS2configs[4]=""; 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]; }