// builds LS querystring function buildQueryString(){ var targetLocation="http:///tlcScripts/interpac.dll?Search&Config=&LimitsId=0&StartIndex=0&ItemsPerPage=10&SearchType=1&Branch=0&SearchField=7"; 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] = "ysm"; LS2configs[0] = "ysm"; branches[0] = "58"; branches[1]=",132,1,2,23,30,6,7,8,32,358,27,5,4,24,12,13,14,15,25,3,16,17,18,41,34,21,22,29,9,35,19,28,381,85,380,88,"; configs[1]="hs"; LS2configs[1]="hs"; branches[2]=",64,62,43,44,45,46,47,48,50,52,63,53,54,68,55,69,58,59,60,72,42,49,51,73,65,74,61,83,076,77,29,35,217,134,212,353,352,100,354,381,71,"; configs[2]="ms"; LS2configs[2]="ms"; branches[3]=",101,233,241,235,103,104,105,108,274,109,110,111,112,258,114,246,115,117,116,118,119,120,121,122,125,126,127,236,129,130,276,135,260,136,137,266,142,143,144,145,280,146,147,148,149,150,156,152,269,153,157,158,159,160,161,162,163,164,133,275,166,167,168,169,170,171,174,175,177,178,180,181,182,183,242,270,255,264,283,184,185,186,272,187,188,189,256,190,191,192,193,273,194,195,197,198,199,202,203,204,232,237,205,271,207,206,208,249,209,263,210,211,213,215,216,277,218,219,220,222,141,224,225,226,227,228,229,230,250,131,106,124,281,139,140,268,128,265,196,200,201,214,134,212,217,173,284,286,288,176,287,289,279,155,234,239,240,172,278,154,301,304,305,107,244,247,202,303,,"; configs[3]="es"; LS2configs[3]="es"; branches[4]=",36,999,828,905,905,33,0,,"; configs[4]="pro"; LS2configs[4]="pro"; 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]; }