/*if (document.image) { var banner = new Image(); banner.src = "banner.gif"; var bigclock = new Image(); bigclock.src = "bigclock.gif"; var blueb = new Image(); blueb.src = "blueb.gif"; var books = new Image(); books.src = "books.gif"; var calendar = new Image(); calendar.src = "calendar.gif"; var clear = new Image(); clear.src = "clear.gif"; var clearenvelope = new Image(); clearenvelope.src = "clearenvelope.gif"; var clock = new Image(); clock.src = "clock.gif"; var corner0 = new Image(); corner0.src = "corner0.gif"; var dict2 = new Image(); dict2.src = "dict2.gif"; var dotgreen = new Image(); dotgreen.src = "dotgreen.gif"; var dotred = new Image(); dotred.src = "dotred.gif"; var dotyellow = new Image(); dotyellow.src = "dotyellow.gif"; var envelope = new Image(); envelope.src = "envelope.gif"; var footerbg = new Image(); footerbg.src = "footerbg.gif"; var geninfo = new Image(); geninfo.src = "geninfo.gif"; var go = new Image(); go.src = "go.gif"; var go3 = new Image(); go3.src = "go3.gif"; var gospan = new Image(); gospan.src = "gospan.gif"; var ls2powerby = new Image(); ls2powerby.src = "ls2powerby.gif"; var mail = new Image(); mail.src = "mail.gif"; var mwlogo = new Image(); mwlogo.src = "mwlogo.gif"; var nobook = new Image(); nobook.src = "nobook.gif"; var pacli = new Image(); pacli.src = "pacli.gif"; var phone = new Image(); phone.src = "phone.gif"; var powerby = new Image(); powerby.src = "powerby.gif"; var rss = new Image(); rss.src = "rss.gif"; var searchboxbg = new Image(); searchboxbg.src = "searchboxbg.gif"; var searchboxleft = new Image(); searchboxleft.src = "searchboxleft.gif"; var searchbutton = new Image(); searchbutton.src = "searchbutton.gif"; var staff = new Image(); staff.src = "staff.gif"; var starblue = new Image(); starblue.src = "starblue.gif"; var stargray = new Image(); stargray.src = "stargray.gif"; var stargreen = new Image(); stargreen.src = "stargreen.gif"; var starred = new Image(); starred.src = "starred.gif"; var thes2 = new Image(); thes2.src = "thes2.gif"; var tlccarllogosm = new Image(); tlccarllogosm.src = "tlccarllogosm.gif"; var toolbar = new Image(); toolbar.src = "toolbar.gif"; search_left = new Image(); search_left.src = "search_left.gif"; search_right = new Image(); search_right.src = "search_right.gif"; taboffbg = new Image(); taboffbg.src = "taboffbg.gif"; taboffleft = new Image(); taboffleft.src = "taboffleft.gif"; taboffright = new Image(); taboffright.src = "taboffright.gif"; tabonbg = new Image(); tabonbg.src = "tabonbg.gif"; tabonleft = new Image(); tabonleft.src = "tabonleft.gif"; tabonright = new Image(); tabonright.src = "tabonright.gif"; toolbar = new Image(); toolbar.src = "toolbar.gif"; }*/ // 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] = "10ysm"; LS2configs[0] = "10ysm"; branches[0] = "10"; branches[1]=",1201,1202,"; configs[1]="ms"; LS2configs[1]="ms"; branches[2]=",1109,1101,1104,1102,1103,1106,1110,"; configs[2]="es"; LS2configs[2]="es"; branches[3]=",1401,1491,1301,"; configs[3]="hs"; LS2configs[3]="hs"; branches[4]="0"; configs[4]="es"; LS2configs[4]="ms"; 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]; }