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.jpg";
var banner3 = new Image();
banner3.src = "banner3.jpg";
var bg = new Image();
bg.src = "bg.jpg";
var bg2 = new Image();
bg2.src = "bg2.jpg";
var bigclock = new Image();
bigclock.src = "bigclock.gif";
var blueb = new Image();
blueb.src = "blueb.gif";
var box-tl = new Image();
box-tl.src = "box-tl.gif";
var browse = new Image();
browse.src = "browse.gif";
var browseon = new Image();
browseon.src = "browseon.gif";
var bullet-list = new Image();
bullet-list.src = "bullet-list.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 combin = new Image();
combin.src = "combin.gif";
var combinon = new Image();
combinon.src = "combinon.gif";
var containerwrap-bg = new Image();
containerwrap-bg.src = "containerwrap-bg.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 envelope = new Image();
envelope.src = "envelope.gif";
var footer-bg = new Image();
footer-bg.src = "footer-bg.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 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 help = new Image();
help.src = "help.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 leftnavbg = new Image();
leftnavbg.src = "leftnavbg.gif";
var leftnavbg_off = new Image();
leftnavbg_off.src = "leftnavbg_off.gif";
var leftnavbottombg = new Image();
leftnavbottombg.src = "leftnavbottombg.gif";
var leftnav_footer = new Image();
leftnav_footer.src = "leftnav_footer.jpg";
var libhomeoff = new Image();
libhomeoff.src = "libhomeoff.gif";
var libhomeon = new Image();
libhomeon.src = "libhomeon.gif";
var library2 = new Image();
library2.src = "library2.jpg";
var logo-red = new Image();
logo-red.src = "logo-red.jpg";
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 pagbg = new Image();
pagbg.src = "pagbg.jpg";
var page_left = new Image();
page_left.src = "page_left.gif";
var page_right = new Image();
page_right.src = "page_right.gif";
var phone = new Image();
phone.src = "phone.gif";
var powerby = new Image();
powerby.src = "powerby.gif";
var powerby_small = new Image();
powerby_small.src = "powerby_small.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 rss = new Image();
rss.src = "rss.gif";
var search = new Image();
search.src = "search.gif";
var searchbox = new Image();
searchbox.src = "searchbox.jpg";
var searchon = new Image();
searchon.src = "searchon.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";
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";
arrow_down = new Image();
arrow_down.src = "arrow_down.gif";
footer_tabbg = new Image();
footer_tabbg.src = "footer_tabbg.gif";
footer_tableft = new Image();
footer_tableft.src = "footer_tableft.gif";
footer_tabrt = new Image();
footer_tabrt.src = "footer_tabrt.gif";
menubarbgimage = new Image();
menubarbgimage.src = "menubarbgimage.jpg";
menu_footer = new Image();
menu_footer.src = "menu_footer.gif";
menu_top = new Image();
menu_top.src = "menu_top.gif";
navbg1 = new Image();
navbg1.src = "navbg1.gif";
spacer = new Image();
spacer.src = "spacer.jpg";
tabhoverbg = new Image();
tabhoverbg.src = "tabhoverbg.gif";
tabhoverleft = new Image();
tabhoverleft.src = "tabhoverleft.gif";
tabhoverright = new Image();
tabhoverright.src = "tabhoverright.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";
tabs_bg = new Image();
tabs_bg.src = "tabs_bg.jpg";
tabs_bg1 = new Image();
tabs_bg1.src = "tabs_bg1.jpg";
}
// builds LS querystring
function buildQueryString(){
var targetLocation="https:///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);
}