if (document.image) { var aquabrowser = new Image(); aquabrowser.src = "aquabrowser.gif"; var aquabrowsersp = new Image(); aquabrowsersp.src = "aquabrowsersp.gif"; var arrow_innernav = new Image(); arrow_innernav.src = "arrow_innernav.gif"; var banner = new Image(); banner.src = "banner.jpg"; var calendar = new Image(); calendar.src = "calendar.gif"; var clear = new Image(); clear.src = "clear.gif"; var creambg = new Image(); creambg.src = "creambg.jpg"; var diamond = new Image(); diamond.src = "diamond.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 endtree = new Image(); endtree.src = "endtree.gif"; var go = new Image(); go.src = "go.gif"; var go2 = new Image(); go2.src = "go2.gif"; var go3 = new Image(); go3.src = "go3.gif"; var goabl = new Image(); goabl.src = "goabl.gif"; var goclassic = new Image(); goclassic.src = "goclassic.gif"; var gospan = new Image(); gospan.src = "gospan.gif"; var gpix = new Image(); gpix.src = "gpix.gif"; var gpllibrary = new Image(); gpllibrary.src = "gpllibrary.jpg"; var greenbg = new Image(); greenbg.src = "greenbg.jpg"; var kidscatoff = new Image(); kidscatoff.src = "kidscatoff.gif"; var kidscaton = new Image(); kidscaton.src = "kidscaton.gif"; var lcorner = new Image(); lcorner.src = "lcorner.gif"; var libhomeoff = new Image(); libhomeoff.src = "libhomeoff.gif"; var libhomeon = new Image(); libhomeon.src = "libhomeon.gif"; var libhoursbg = new Image(); libhoursbg.src = "libhoursbg.jpg"; var logo = new Image(); logo.src = "logo.gif"; var logo_25wht = new Image(); logo_25wht.src = "logo_25wht.gif"; var ltbluepix = new Image(); ltbluepix.src = "ltbluepix.gif"; var mail = new Image(); mail.src = "mail.gif"; var map = new Image(); map.src = "map.gif"; var mission = new Image(); mission.src = "mission.gif"; var mwlogo = new Image(); mwlogo.src = "mwlogo.gif"; var navdiv = new Image(); navdiv.src = "navdiv.gif"; var nobook = new Image(); nobook.src = "nobook.gif"; var onlinecatalog = new Image(); onlinecatalog.src = "onlinecatalog.gif"; var onlinecatalog2 = new Image(); onlinecatalog2.src = "onlinecatalog2.gif"; var powerby = new Image(); powerby.src = "powerby.gif"; var powerby2 = new Image(); powerby2.src = "powerby2.gif"; var rcorner = new Image(); rcorner.src = "rcorner.gif"; var rcorner2 = new Image(); rcorner2.src = "rcorner2.gif"; var redpix = new Image(); redpix.src = "redpix.gif"; var rssicon = new Image(); rssicon.src = "rssicon.jpg"; 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"; var topbar = new Image(); topbar.src = "topbar.gif"; var topofbot = new Image(); topofbot.src = "topofbot.gif"; var topofpageoff = new Image(); topofpageoff.src = "topofpageoff.gif"; var topofpageon = new Image(); topofpageon.src = "topofpageon.gif"; var wpix = new Image(); wpix.src = "wpix.gif"; var yellowpix = new Image(); yellowpix.src = "yellowpix.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); }