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 banner2 = new Image(); banner2.src = "banner2.gif"; var banner3 = new Image(); banner3.src = "banner3.gif"; var banner4 = new Image(); banner4.src = "banner4.gif"; var banner5 = new Image(); banner5.src = "banner5.gif"; var bookclublogo = new Image(); bookclublogo.src = "bookclublogo.gif"; var browseoff = new Image(); browseoff.src = "browseoff.gif"; var browseon = new Image(); browseon.src = "browseon.gif"; var catonlyoff = new Image(); catonlyoff.src = "catonlyoff.gif"; var catonlyon = new Image(); catonlyon.src = "catonlyon.gif"; var clear = new Image(); clear.src = "clear.gif"; var comboff = new Image(); comboff.src = "comboff.gif"; var combon = new Image(); combon.src = "combon.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 footer = new Image(); footer.src = "footer.gif"; var footer2 = new Image(); footer2.src = "footer2.gif"; var footer2a = new Image(); footer2a.src = "footer2a.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 helpoff = new Image(); helpoff.src = "helpoff.gif"; var helpon = new Image(); helpon.src = "helpon.gif"; 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 lfooter = new Image(); lfooter.src = "lfooter.gif"; var libhomeoff = new Image(); libhomeoff.src = "libhomeoff.gif"; var libhomeon = new Image(); libhomeon.src = "libhomeon.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 mwlogo = new Image(); mwlogo.src = "mwlogo.gif"; var nobook = new Image(); nobook.src = "nobook.gif"; var overdrive = new Image(); overdrive.src = "overdrive.jpg"; var popularmusic = new Image(); popularmusic.src = "popularmusic.jpg"; var powerby = new Image(); powerby.src = "powerby.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 searchoff = new Image(); searchoff.src = "searchoff.gif"; var searchon = new Image(); searchon.src = "searchon.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 subbanner = new Image(); subbanner.src = "subbanner.gif"; var subbannerold = new Image(); subbannerold.src = "subbannerold.gif"; var teenscene = new Image(); teenscene.src = "teenscene.jpg"; 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 topofbot = new Image(); topofbot.src = "topofbot.gif"; var topofpageoff = new Image(); topofpageoff.src = "topofpageoff.gif"; var topofpageon = new Image(); topofpageon.src = "topofpageon.gif"; var tumblebooks = new Image(); tumblebooks.src = "tumblebooks.gif"; var wpix = new Image(); wpix.src = "wpix.gif"; var yellowpix = new Image(); yellowpix.src = "yellowpix.gif"; taboffbg = new Image(); taboffbg.src = "taboffbg.gif"; taboffbgold = new Image(); taboffbgold.src = "taboffbgold.gif"; taboffleft = new Image(); taboffleft.src = "taboffleft.gif"; taboffleftold = new Image(); taboffleftold.src = "taboffleftold.gif"; taboffright = new Image(); taboffright.src = "taboffright.gif"; taboffrightold = new Image(); taboffrightold.src = "taboffrightold.gif"; tabonbg = new Image(); tabonbg.src = "tabonbg.gif"; tabonleft = new Image(); tabonleft.src = "tabonleft.gif"; tabonright = new Image(); tabonright.src = "tabonright.gif"; } // builds LS querystring function buildQueryString(){ var targetLocation="http:///tlcScripts/interpac.dll?Search&Config=ysm&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); }