temppopwidth=200;
dwdebug=0;
var isIE=(navigator.appName=='Microsoft Internet Explorer');
var isIE55=((navigator.appVersion.indexOf('MSIE 6'))>0)||((navigator.appVersion.indexOf('MSIE 5.5'))>0);
var iframeOK=isIE55;
var allmouseoverOK=isIE;
var lbln=0; 
var q="'"; 
var qc=','+q+q;
var qqc=",''";
var qqcc=",'',";
QUERY_STRING=(typeof(QUERY_STRING)=='undefined'?'':QUERY_STRING);
if (typeof(dogetparams)!='undefined') if (dogetparams!='') getparams(); 
dflt='';varslist='';initve='';
function getparam(param){
var urlin=document.location+'&'+QUERY_STRING;
var params=(urlin+'&').replace('?','&');
params=params.replace(param+'=','   ');
params=params.replace(/.*   /,'');
params=params.replace(/&.*/,'');
params=params.replace(/\+/g,' ').replace(/%20/g,' ');
dwd('params5',params);
dwd('urlin',urlin);
var indx=((('a '+urlin).indexOf(param+'=')));
dwd('indx',indx);
var reslt=(indx>0)?params:'';
dwd(param,reslt);
return (indx>0)?params:'';
}
function getparams(){
rmurl=getparam('rmurl');
furl=getparam('furl');
udwdebug=getparam('dwdebug');
if (udwdebug!='') dwdebug=udwdebug;
urestrictsearch=getparam('restrictsearch');
if (urestrictsearch!='') restrictsearch=urestrictsearch;
dwd('urestrictsearch',urestrictsearch);
ulat=getparam('Latitude')+getparam('latitude')+getparam('lat')+getparam('Lat');
dwd('ulat',ulat);
ulon=getparam('Longitude')+getparam('longitude')+getparam('Long')+getparam('long')+getparam('lon');
uwidth=getparam('width');
uheight=getparam('height');
usearchstring=getparam('searchstring');
if (usearchstring!='') searchstring=usearchstring;
ukountrycode=getparam('country')+getparam('kountrycode')
ustatecode=getparam('statecode');
if (ustatecode==''&&0<ukountrycode.indexOf('_')) statecode=ukountrycode.replace(/.*_/,'');
if (ustatecode!='') statecode=ustatecode;
uzipcode=getparam('zipcode');
if (uzipcode!='') zipcode=uzipcode;
ukountryname=getparam('kountryname');
if (ukountryname!='') kountryname=ukountryname;
ucityname=getparam('cityname');
if (ucityname!='') cityname=ucityname;
}
function minidispenser(){
getparams();
dw('<h2>Image & Data Dispenser</h2>');
dw('<table cellspacing=0 cellpadding=0 border=1 align=center>');
dw('<tr><td bgcolor="#D4E3F1" align= > <form action="http://dispense.cs.fiu.edu/tf001?" name=n1 method=GET target=_top>You can purchase aerial images, prints, and data: ');
if (ulat!='') dw('<li> at the current location <input name=lat value='+ulat+' size=8 type=hidden> <input name=long type=hidden value="'+ulon+'" size=9> width:&nbsp;<input name=width value="'+uwidth+'" size=6> height:&nbsp;<input name=height value="'+uheight+'" size=6> (at 1-meter resolution 1meter=1pixel) <input type=image src="/images/urlbb.gif" width=65 height=35 alt=Submit border=0 name=submit target=_blank></form> </td></tr>');
dw('<tr><td bgcolor="#D4E3F1" align= > <form action="http://dispense.cs.fiu.edu/tf001?" name=n2 method=GET target=_top><li><b>OR</b> adjust location: latitude:&nbsp;<input name=lat value="'+ulat+'" size=8> longitude:&nbsp;<input name=long value="'+ulon+'" size=9> width:&nbsp;<input name=width value="'+uwidth+'" size=6> height:&nbsp;<input name=height value="'+uheight+'" size=6><input type=image src="/images/urlbb.gif" width=65 height=35 alt=Submit border=0 name=submit target=_blank></form> </td></tr>');
dw('<tr><td bgcolor="#D4E3F1" align= > <form action="http://vn4.cs.fiu.edu/cgi-bin/tflaunch.cgi" name=n4 method=GET target=_top > <li><b>OR</b> change address: Street:&nbsp;<input name=Street value="" size=24> City:&nbsp;<input name=City value="" size=12> State:&nbsp;<input name=State value="" size=2> Zipcode:&nbsp;<input name=Zipcode value="" size=5> <input name="tfaction" type=hidden value=Downloader> <input type=image src="/images/urlbb.gif" width=65 height=35 alt=Submit border=0 name=submit target=_blank></form></td></tr>');
dw('</table>');
}
function dwd(label,expr){if (dwdebug) dw('<br><b>'+label+'=</b>'+expr+'.')}
function omnicr() {dw('<table width=100%><tr><td align=right><small>Omnisearch &#169; 2003, '); hrefm('http://recommend.org','Recommend.org');dw('</small></td></tr></table>');}
function dw(s){ document.write(typeof(s)=='undefined'?' ':s)}
function dwv(varname) {dw(' '+varname+'=:'+eval(varname)+' ')}
function initv(v,defaultval) {
dflt=(typeof(defaultval)=='undefined'?'':defaultval);
var parval='';if (typeof(parent)!='undefined') if (eval('typeof(parent.'+v+')!="undefined"')) parval=eval('parent.'+v);
initve=v+'=typeof('+v+')=="undefined"?"'+dflt+'":'+v+';';
eval(initve);
varslist+=v+'='+eval(v)+';';
}
tfpopup=(typeof(tfpopup)=='undefined')?0:tfpopup;
vid=(typeof(vid)=='undefined')?'':vid;
tfpopupvip=(vid==''?0:1);
sitetype=((typeof(sitetype)=='undefined')?'travel':sitetype);
sitetypek=(sitetype=='othersite'||sitetype=='omni')?'keywords':sitetype;
barpath=((typeof(barpath)=='undefined')?'.':barpath);
defaultsearch=((typeof(barcategory)=='undefined')?sitetypek:barcategory);
barcategory=((typeof(barcategory)=='undefined')?'':barcategory);
statecode=((typeof(statecode)=='undefined')?'':statecode);
USA=(typeof(statecode)=='undefined')?'false':(statecode!='');
kountryname=((typeof(kountryname)=='undefined')?defaultsearch:kountryname);
kountrycode=(typeof(kountrycode)=='undefined')?'':kountrycode;
kountrynameplus=(typeof(kountrynameplus)=='undefined')?'travel':kountrynameplus;
cityorkountryname=(typeof(cityname)=='undefined')?kountryname:cityname;
cityname=(typeof(cityname)=='undefined')?'':cityname;
citynameplus=(typeof(citynameplus)=='undefined')?(cityname.replace(/ /g,'+')):citynameplus;
citykountrypage=(typeof(citykountrypage)=='undefined')?('/'+kountrycode):citykountrypage;
cityorkountrynameplus=(cityname=='')?kountrynameplus:citynameplus;
zipcode=(typeof(zipcode)=='undefined'?'':zipcode);
searchstring=(typeof(searchstring)=='undefined')?cityorkountryname:searchstring;
searchstringplus=((typeof(searchstringplus)=='undefined')?(searchstring.replace(/ /g,'+')):searchstringplus);
latitude=(typeof(latitude)=='undefined'?'':latitude);
longitude=(typeof(longitude)=='undefined'?'':longitude);
params='zipcode='+zipcode+'&cityname='+citynameplus+'&country='+kountrycode+'&latitude='+latitude+'&longitude='+longitude+'&vid='+vid;
function popq(word,title){ 
if (navigator.appName=='Microsoft Internet Explorer') {
popbi(word+'&nbsp;<img src=/images/h_r.gif>',title)}
else popbi(word+'&nbsp;<img src=/images/h_r.gif border=0 alt="'+title+'">',title)

} 
if (USA) {
air='href=http://recommend.org/PriceLine_reverse_auction.htm target="_blank"><img src="/images/b_j.gif" alt="Air" width=19 height=21 border=0></A><img src="/images/line.gif" alt="" width=2 height=21 border=0><a '}
else air='href=http://recommend.org/Expedia.htm target="_blank"><img src="/images/b_j.gif" alt="Air" width=19 height=21 border=0></A><img src="/images/line.gif" alt="" width=2 height=21 border=0><a ';
function mframe(url,width,height,label){
dw('<br>');
if (navigator.appName=='Microsoft Internet Explorer') dw('<iframe src='+url+' width='+((typeof(width)=='undefined')?'100%':width)+' scrolling=auto framespacing=0 marginwidth=0 marginheight=0 height='+((typeof(height)=='undefined')?'100%':height)+'  border=0></iframe>');
else dw(' <a href='+url+'>'+(typeof(label)=='undefined'?'+':label)+'</a> ');
}
function mouseover(){ popq('Mouse-over','Hold Mouse over a link or button to see more info under the mouse (before clicking through).  Display of some information make time.')
} 
temppopwidth=200;
function onpop(title) {
var wid=temppopwidth;
temppopwidth=200;
if (wid>200) return ' ONMOUSEOVER="pop('+q+title+q+qqc+qqcc+wid+')"  ONMOUSEOUT="kill()" ';
else return ' ONMOUSEOVER="pop('+q+title+q+qqc+qqc+')"  ONMOUSEOUT="kill()" ';
}
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 4 || browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "1";
else if (browserName == "Netscape" && browserVer >= 3) version = "2";
else version = "3";
if (version == "2") 
{
 var toolkit = java.awt.Toolkit.getDefaultToolkit();
 var screen_size = toolkit.getScreenSize();
}
if (version == "3")
{
}
function URLEncode(OriginalStr)
{
        return escape(OriginalStr);
}
function stopErrors() {
return true;
}
function newDrpad(offsetuser,whereGo)
{
offset=offsetmy

                if (browserName == "Netscape")
                window.open(whereGo,'srch'+i);
                else
    Popwin = window.open(whereGo,'srch'+i,
        'dependent=1,scrollbars=1,toolbar=1,menubar=1,'+
        'top='+(offset*20)+',left='+(offset*20)+','+
        'left='+(offset*20)+',top='+(offset*20)+','+
        'resizable=1,width=600,height=500');
Popwin.focus();
offsetmy=offsetmy+2
}
function pophb(url,linktext,title,width) { 
if (width!='undefined') temppopwidth=width;
dw('<a href="'+url+'" '+onpop(title)+' target=_blank>'+linktext+'</a>');}
function poph(url,linktext,title) { dw('<a href="'+url+'" '+onpop(title)+' target=_top>'+linktext+'</a>');}
function popbi(text,title) {dw('<b>');popi(text,title);dw('</b>');}
function popi(text,title,label) {
lbln++;
var lbl=(typeof(label)=='undefined'?'L'+lbln:label);
if (allmouseoverOK) dw('<i ONMOUSEOVER="pop('+q+title+q+')"  ONMOUSEOUT="kill()">'+text+'</i>');
else dw('<a href="#'+lbl+'" border=0 name="'+lbl+'" ONMOUSEOVER="pop('+q+title+q+')"  ONMOUSEOUT="kill()"><i>'+text+'</i></a>');
}


function popframe(url,width,height){
if (iframeOK) {
var wid=((typeof(width)=='undefined')?800:width);
if (typeof(mousewidth)!='undefined') if (mousewidth>0&&wid+20>(windowwidth)) wid=windowwidth-20;
if (wid>temppopwidth) temppopwidth=wid;
return '<iframe src='+url+' width='+wid+' scrolling=no framespacing=0 marginwidth=0 marginheight=0 height='+((typeof(height)=='undefined')?800:height)+' border=0></iframe>';
}
else return '';

}

function autoframe(url,width,height,title){
tit=(typeof(title)=='undefined')?'':title;
var wid=((typeof(width)=='undefined')?800:width);
if (navigator.appName=='Microsoft Internet Explorer') {
dw('<table><tr><td>'+tit+'</td></tr><tr><td><iframe src='+url+' width='+wid+'  scrolling=auto framespacing=0 marginwidth=0 marginheight=0 height='+(typeof(height)=='undefined'?800:height)+'  border=0></iframe></td></tr></table>');}
else pophb(url,(tit==''?'more info ':tit),'click to pop more information');
}
function showurl(url,width,height){
dw('<p>');pophb(url,url,url+popframe(url));
if (navigator.appName=='Microsoft Internet Explorer') dw('<iframe src='+url+' width='+((typeof(width)=='undefined')?'100%':width)+' scrolling=auto framespacing=0 marginwidth=0 marginheight=0 height='+((typeof(height)=='undefined')?'100%':height)+'  border=0></iframe>');
}
function frameif(url,width,height){
if (navigator.appName=='Microsoft Internet Explorer') dw('<iframe src='+url+' width='+((typeof(width)=='undefined')?'100%':width)+' scrolling=auto framespacing=0 marginwidth=0 marginheight=0 height='+((typeof(height)=='undefined')?'100%':height)+'  border=0></iframe>');
else window.location=url;
}
if (typeof(citysize) == 'undefined') citysize=0;
function href0(url,text,title,status) {
var titl=(typeof(title)=='undefined')?'':title;
var statu=(typeof(status)=='undefined')?((typeof(title)=='undefined')?url:title):status;
dw(" <a href=\""+url+"\" target=_blank title=\""+titl+"\" ONMOUSEOVER=\"window.status='"+statu+"';return true;\" ONMOUSEOUT=\"window.status=''; return true;\">"+text+"</a>")
}
function href(url,text,title,status) {
var titl=(typeof(title)=='undefined')?'':title;
var statu=(typeof(status)=='undefined')?((typeof(title)=='undefined')?url:title):status;
dw(" <a href=\""+url+"\" target=_blank title=\""+titl+"\" ONMOUSEOVER=\"window.status='"+statu+"';return true;\" ONMOUSEOUT=\"window.status=''; return true;\">"+text+"</a>")
}

function yellowcat(category){
if (cityname!='') href0('http://service.bfast.com/bfast/click?siteid=35724832&bfpage=search1&bfmid=27359743&QueryType=1&ClearLevel=Cloud9&QueryString='+category+'&CityZipAC='+citynameplus+'&State='+statecode,category,category+' in '+cityname,'http://smartpages.com/search?Category='+category+'&city='+cityname+','+statecode)
}
function adframes(){
dw('<p><table><tr><td>');
autoframe('http://www.revquest.com/servlet/Search?i=50e0a503190&t='+escape(searchstring),800,600,searchstring+' links ');
dw('</td></tr></table>');
}
function cb(name,hrefprefix,alt){
var al=(typeof(alt)=='undefined'?name:alt);
chkbx(name,hrefprefix,'<img src="/images/more.gif" alt="'+(typeof(alt)=='undefined'?'':alt)+'" width=19 height=21 border=0>',al);
}
function nulljs(){var sdsds=0}
function chkbx(name,hrefprefix,img,title){
txtlbl=(sitetype=='omni');
imgl=txtlbl?name+img.replace(/[a-zA-Z0-9_-]*.gif/g,'h_r.gif').replace(/=[1-9][0-9]*/g,'=11'):img;
titl=(typeof(title)=='undefined')?name:title;
titlb='<i><b>'+titl+'</b></i>';
checkboxindex++;
checkboxvector[checkboxindex]=hrefprefix;
checkboxnames[checkboxindex]=name;
var href=q+'http://'+hrefprefix+q+'+cleanblank(escape(document.upform.SearchString.value))';
var onpp=' ONMOUSEOVER="pop('+q+'Click to open '+titlb+' search result page or checkmark to include in omni-search'+q+qc+qc+',800)" ONMOUSEOUT="kill()" ';
var onclick=' onclick="window.open('+href+')" '+ onpp;
var checkd=' ';
if (name=='More' || ((name=='E-Bay' ||name=='Overture')&&searchstring>'9a') ||name.indexOf('ocal')>0 ) checkd=' checked ';
adw('<td> <INPUT type="checkbox" name="'+name+'"'+checkd+onpop('CHECK to include '+titlb+' in multi-window OmniSearch or click on <a href='+name+'>'+name+'</a> to see only this search in one window')+'><a href="javascript:nulljs()" '+onclick+'>'+imgl+'</a> </td>');}
function adw(string){jh+=string}
function cleanblank(string){return string.replace(/^  */,'').replace(/%20/g,' ').replace(/ /g,'+').replace(/^\+\+*/,'').replace(/%2C/g,',')}
offsetmy=0;
function OmniSearch(page){
offsetmy=0;
        UrlEncodedStr=URLEncode(page.value);
i=1;
window.status='OmniSearch:';
while (i<=checkboxindex) {
  
      if (document.upform.elements[i].checked) {
window.status=window.status+' '+i+' '+checkboxnames[i];
urls=checkboxvector[i]+cleanblank(UrlEncodedStr);
lasp='http://recommend.org/l.asp?t='+escape(i+'. '+checkboxnames[i]+': '+page.value)+'&b=bar.htm&u='+(escape(urls));
if (urls.indexOf('d.asp')>0 || urls.indexOf('ferret')>0 || urls.indexOf('rFull')>0 ) lasp='http://'+urls;
                newDrpad(0,lasp);}
i++        }
}

var checkboxnames = new Array();
var checkboxvector = new Array();
var checkboxindex = 0;
var preamble='';
u1=getparam('u1');
l1=getparam('l1');
if (l1=='') l1=u1.replace('http://','');
if (u1!='') preamble=preamble+' '+'<a href='+u1+'>'+l1+'</a> ';
var jhform=preamble+'<ForM name="upform" ACTION="javascript:OmniSearch(document.upform.SearchString);" METHOD="GET" >';
var jh='';
var baralign=(typeof(isframedbar)=='undefined'?'center':'left');
if (sitetype=='omni') { adw('Enter keywords, checkmark relevant searches, press SEARCH. A separate window will open for each checkmarked search. Or click on any label to perform that one search only:');}
adw('<table align='+baralign+' bgcolor=d9D9F4 CELLSPACING=0 CELLPADDING=0  border=1><tr>');
if (tfpopupvip==0 && sitetype!='omni') {
adw('<td bgcolor=D9D9F4 valign=top width=48>');
adw('<TABLE width="44" align=center CELLSPACING=0 CELLPADDING=0 BORDER=0> <tr> <td>');
adw('<img src="/images/line.gif" alt="" width=2 height=24 border=0>');
if (typeof(rmurl)!='undefined') if (rmurl!='') adw('<a href = "'+rmurl+'" target="_top"><img src="/images/remove.gif" alt="remove bar frame" width=16 height=16 border=0></A><img src="/images/line.gif" alt="" width=2 height=21 border=0>');
adw('<a href = "http://www.books-maps.com/'+kountrycode+'" target="_top"><img src="/images/compass.gif" alt="'+kountryname+' travel, geography, culture reference" width=19 height=21 border=0></A><img src="/images/line.gif" alt="" width=2 height=21 border=0><a');
adw(' href="http://www.recommend.org" target="_top"><img src="/images/b_t.gif" alt="Subject Tree of the Web" width=19 height=21 border=0></A>');
adw('<img src="/images/line.gif" alt="" width=1 height=21 border=0>');
adw('</td> </tr> </table></td>');
}
adw('<td bgcolor=D9D9F4 valign=top > <TABLE  CELLSPACING=0 CELLPADDING=0 BORDER=0> <tr bgcolor=FCFCEA> <td align=center >');
adw('<a HREF="javascript:OmniSearch(document.upform.SearchString);"><img src="/images/srch_button.gif" alt="SEARCH simulataneously in all the checkmarked categories (opening a separate window for each category)" width=48 height=16 border=0></a><img src="/images/line.gif" alt="" width=1 height=24 border=0> </td> <td>');
adw('<INPUT TYPE="TEXT" '+onpop('Enter keyword(s) to SEARCH simultaneously in the categories checkmarked on the right (opeining a new <b>separate window</b> for each category)')+'NAME="SearchString" SIZE="19" MAXLENGTH="100" VALUE="'+searchstring+'"><a href="http://www.recommend.org/keywordhelp.htm" target="_blank"><img src="/images/line.gif" alt="" width=1 height=24 border=0><img src="/images/h_r.gif" alt="Click for keyword help. Click selectors on right for more help" width=11 height=11 border=0></a></td>');
function omnidivider(label){
adw('</tr><tr><td><hr></td></tr><tr><td><b>'+label+': </b></td> ')};
if (sitetype=='omni') { 
omnidivider('Web');
websearch="www.google.com/search?hl=en&ie=UTF8&oe=UTF&q="
cb('Google',websearch,'Search all the Web');
cb('Yahoo','search.yahoo.com/bin/search?p=','Search Yahoo.com');
bsr='www.metacrawler.com/info.metac/dog/webresults.htm?qcat=web&qk=30&method=0&top=1&dpcollation=1&rpe=30&format=text&eng3=Fast&eng4=FindWhat&eng5=LookSmart&eng6=OpenDirectory&eng9=MetaSearchPicks&eng10=MetaSearchSearchPartnerNetwork&eng12=Inktomi&eng13=SearchHippo&eng14=teoma&submit=Search&start=&ver=26238&qkw='
cb('Meta Crawler',bsr,'MetaCrawler: simultaneously search many seacrh engines');
restrictsearch=(typeof(restrictsearch)!='undefined'?(restrictsearch==''?zipcode:restrictsearch):zipcode);
if (restrictsearch!=''){
var r=restrictsearch.replace(/%20/g,'+').replace(/ /g,'+')+'+';
var rs=' (restricted to: '+restrictsearch+')';
omnidivider('Restrict search: '+restrictsearch);
cb('Google',websearch+r,'Search all the Web'+rs);
cb('Yahoo','search.yahoo.com/bin/search?p='+r,'Yahoo'+rs);
cb('Meta Crawler',bsr+r,'MetaCrawler: simultaneously search many seacrh engines'+rs);
cb('Overture','service.bfast.com/bfast/click?bfsiteid=35566246&bfpage=over001&bfmid=253985&&table&&tr&&tr&&td&Keywords='+r,'Overture Web Search'+rs);
}
omnidivider('Web (targeted)');
cb('Overture','service.bfast.com/bfast/click?bfsiteid=35566246&bfpage=over001&bfmid=253985&&table&&tr&&tr&&td&Keywords=','Overture Web Search');
cb('RevQuest','www.revquest.com/servlet/Search?i=50e0a503190&t=','Web Ad Search');
cb('About','budgettravel.about.com/sitesearch.htm?spk=1&IAM=vpn200026_2&SUName=budgettravel&TopNode=9999&terms=','About.com Web Search');
omnidivider('White pages (business name)');
if (zipcode!='') cb('Zipcode '+zipcode,'service.bfast.com/bfast/click?siteid=35724832&bfpage=search1&bfmid=27359743&QueryType=2&ClearLevel=Cloud9&CityZipAC='+zipcode+'&State='+statecode+'&QueryString=','Zipcode '+zipcode+' business white pages (phones, addresses, maps)');
if (cityname!=''&&USA) cb(cityname,'service.bfast.com/bfast/click?siteid=35724832&bfpage=search1&bfmid=27359743&QueryType=2&ClearLevel=Cloud9&CityZipAC='+citynameplus+'&State='+statecode+'&QueryString=',cityname+' business white pages (phones, addresses, maps)');
staten=(typeof(kountryname)=='undefined')?statecode:kountryname;
if (statecode!='') cb(statecode,'service.bfast.com/bfast/click?siteid=35724832&bfpage=search1&bfmid=27359743&QueryType=2&ClearLevel=Cloud9&CityZipAC=&State='+statecode+'&QueryString=',staten+' business white pages (phones, addresses, maps)');
cb('U.S.A.','service.bfast.com/bfast/click?siteid=35724832&bfpage=search1&bfmid=27359743&QueryType=2&ClearLevel=Cloud9&CityZipAC=&State=&QueryString=','business white pages (phones, addresses, maps)');
omnidivider('Yellow pages (business category)');
if (zipcode!='') cb('Zipcode '+zipcode,'service.bfast.com/bfast/click?siteid=35724832&bfpage=search1&bfmid=27359743&QueryType=1&ClearLevel=Cloud9&CityZipAC='+zipcode+'&State='+statecode+'&QueryString=','Zipcode '+zipcode+' yellow pages (phones, addresses, maps)');
if (cityname!=''&&USA) cb(cityname,'service.bfast.com/bfast/click?siteid=35724832&bfpage=search1&bfmid=27359743&QueryType=1&ClearLevel=Cloud9&CityZipAC='+citynameplus+'&State='+statecode+'&QueryString=',cityname+' yellow pages (phones, addresses, maps)');
if (statecode!='') cb(statecode,'service.bfast.com/bfast/click?siteid=35724832&bfpage=search1&bfmid=27359743&QueryType=1&ClearLevel=Cloud9&CityZipAC=&State='+statecode+'&QueryString=',staten+' yellow pages (phones, addresses, maps)');
cb('U.S.A.','service.bfast.com/bfast/click?siteid=35724832&bfpage=search1&bfmid=27359743&QueryType=1&ClearLevel=Cloud9&CityZipAC=&State=&QueryString=','yellow pages (phones, addresses, maps)');
omnidivider('Reference');
books='www.books-maps.com/barnpics.asp?';
cb('News','search.news.yahoo.com/search/news?p=','Search Yahoo News');
cb('Books',books,'Book Search&Price Comparison Engine');
cb('Ask Jeeves','web.ask.com/web?q=','Ask Jeeves');
cb('eLibrary','ask.elibrary.com/search.asp?srcmags=checked&srcnews=checked&srcbooks=checked&srctvrad=checked&srcpics=checked&refid=terrafly&query=','eLibrary -- search newspapers, magazines, transcripts, books');
cb('First Gov','firstgov.gov/fgsearch/index.jsp?db=www-fed-all&st=AS&ms0=should&mt0=all&rn=2&parsed=true&mw0=','FirstGov: search US federal and state government documents');
omnidivider('Maps & Data');
cb('Enter address','n3.cs.fiu.edu/cgi-bin/tflaunch.cgi?Street=','For any US address (1 Main St, Atlanta, GA) or city (Atlanta, GA) or zipcode (33175) get TerraFly aerial fly-overs, maps, demographics, local data');
omnidivider('Dictionaries');
cb('Multi Reference','education.yahoo.com/search/ref?p=','Yahoo Reference: dictionary, encyclopaedia, etc.');
cb('Translate','info.babylon.com/cgi-bin/info.cgi?ot=2&layout=combo.html&n=30&lang=&word=','Babylon translator from English into many languages');
cb('Multi dictionary','www.onelook.com/cgi-bin/cgiwrap/bware/dofind.cgi?word=','Search in many specialized dictionaries');
cb('xRefer (premium)','www.xreferplus.com/results.jsp?new_meta=1&term=','xRefer search in specialized encyclopaedias');
cb('Britannica (premium)','search.eb.com/search?query=','Encyclopaedia Britannica (requires a personal or institutional subscription -- many universities have it)');
omnidivider('Health');
bsr='www.drrecommend.com/DrFull.asp?Keywords_drrecommend=';
cb('MD Reviewed Resources',bsr,'Search medical resources reviewed by DrRecommend Staff MDs');
bsr='supported.org/searcher.asp?SearchCategory=/Health&HitsPerPage=60&PageNumber=0&HideDetails=on&SearchString=';
bsr='www.medferret.org/index.html?SearchString=';
cb('MedFerret Article Databases',bsr,'Simultaneously Search Many Medical Databases');
bsr='rxlist.com/cgi/rxlist.cgi?drug='
cb('Drug Reference',bsr,'RxList Drug Reference');
bsr='click.linksynergy.com/fs-bin/statform?id=BEyY3Qv/FJM&offerid=43440&bnid=283&subid=&subid=0&searchtype=1&search=';
cb('Drug Store',bsr,'DrugStore Health Products');
omnidivider('Images');
cb('Alta Vista','www.altavista.com/image/results?avkw=xytx&stype=simage&q=','Alta Vista Image Search');
bsr='www.metacrawler.com/info.metac/dog/imageresults.htm?qcat=images&top=1&fs=images&ver=9933&qkw=';
cb('Meta Crawler',bsr,'MetaCrawler: meta-search for images across many search engines');
cb('Google','images.google.com/images?ie=UTF-8&oe=UTF-8&hl=en&btnG=Google+Search&q=','Google Image Search');
cb('Corbis','www.qksrv.net/interactive?ct=2&pid=572495&url=http%3A%2F%2Fbizpresenter.corbis.com%2Fsearch%2Fproductsearch.asp&aid=10279960&Go.x=11&Go.y=10&ss=','Corbis Stock Database of Images');
omnidivider('Products (comparison shopping bots)');
cb('Catalog City','www.qksrv.net/interactive?ccsyn=22&main=ccn_search&sy=products&search_form=&pid=572495&aid=1642568&url=http://amos.catalogcity.com/cc.class/cc&st=','Search 600 major stores and catalogs');
cb('E-Bay','www.qksrv.net/interactive?MfcISAPICommand=GetResult&ht=1&SortProperty=MetaEndSort&pid=572495&url=http://adfarm.mediaplex.com/ad/ck/711-1751-2978-32&aid=3997568&query=','Search E-bay auctions and stores');
cb('Froogle','froogle.google.com/froogle?q=','Froogle Search of Web-buyable products');
cb('Yahoo','search.shopping.yahoo.com/search?p=','Yahoo Search of Web-buyable products');
cb('My Simon','mysimon.search.com.com/search?c=root&q=','MySimon comparison shopping engine');
omnidivider('Mega-stores');
cb('Amazon','www.amazon.com/exec/obidos/external-search?mode=blended&keyword=&tag=terrafly&keyword=','Amazon.com');
cb('Buy.com','click.linksynergy.com/fs-bin/statform?queryType=home2&id=BEyY3Qv/FJM&offerid=37803&bnid=277&subid=&searchLoc=retail&qu=','Buy.com');
omnidivider(statecode+' People Search');
cb('Address, Phone','phone.people.yahoo.com/py/psPhoneSearch.py?srch=bas&D=1&FirstName=&City=&State='+statecode+'&searchFor=Telephone&Search=Search&LastName=','Phone and address for a given last name');
cb('E-mail','email.people.yahoo.com/py/psSearch.py?srch=bas&D=1&FirstName=&City=&State='+statecode+'&searchFor=Email&Search=Search&LastName=','E-mail for a given last name');
cb('Public records ($)','click.linksynergy.com/fs-bin/statform?id=BEyY3Qv/FJM&offerid=47351&bnid=336&subid=&adID=2004033&searchFName=&searchCity=&searchState='+statecode+'&searchLName=','Get public records and detailed info about a given person');
omnidivider('Reverse phone');
cb('Phone area','decoder.americom.com/cgi-bin/decoder.cgi?handle=americom&searchField=','Find area codes of a city and vice-versa');
cb('Reverse phone','in-128.infospace.com/_1_213322349__info/kevdb-g2?KDB=res-us&OTMPL=%2Fres%2Fr1.html&QFM=P&QK=10&QP=','FInd person to whom a given 10-digit U.S. phone is registered');
cb('Reverse phone (business)','service.bfast.com/bfast/click?siteid=35724832&bfpage=search1&bfmid=27359743&QueryType=3&ClearLevel=Cloud9&CityZipAC=&State=&QueryString=','Find business for a given U.S. 10-digit phone number');
omnidivider('Stocks');
cb('Yahoo','finance.yahoo.com/q?d=c&t=5d&l=on&z=b&q=l&s=');
cb('MSN','moneycentral.msn.com/scripts/webquote.dll?ipage=qd&Symbol=');
cb('Hoover','www.hoovers.com/free/search/simple/index.xhtml?CoViewFree=us&page=1&HoovHome=premium.hoovers.com%2Fsubscribe%2F&which=company&x=34&y=14&SearchType=free&x=98&y=10&query_string=');
cb('CNN','quote.money.cnn.com/quote/quote?symbols=');
cb('CBS','www.marketwatch.com/tools/quotes/quotes.asp?symb=');
adw('</td></tr></table>');
}
else {
websearch="www.google.com/search?hl=en&ie=UTF8&oe=UTF&q="
chkbx('Web',websearch,'<img src="/images/the_web1.gif" alt="Search all the Web" width=22 height=20 border=0></a>');
if (sitetype=='health') {
bsr="www.drrecommend.com/DrFull.asp?Keywords_drrecommend=";
chkbx('MD Reviewed Resources',bsr,'<img src="/images/b_r_s.gif" alt="Search medical resources reviewed by our Staff MDs" width=44 height=20 border=0>');
bsr="supported.org/searcher.asp?SearchCategory=/Health&HitsPerPage=60&PageNumber=0&HideDetails=on&SearchString=";
bsr="www.medferret.org/index.html?SearchString=";
chkbx('MedFerret',bsr,'<img src="/images/b_j_a.gif" alt="Simultaneously Search Many Medical Databases" width=36 height=20 border=0>');
chkbx("News",'search.news.yahoo.com/search/news?p=','<img src="/images/news.gif" alt="Search Yahoo News" width=27 height=10 border=0>');
books="www.books-maps.com/barnpics.asp?";
chkbx("Yellow Pages","service.bfast.com/bfast/click?siteid=35724832&bfpage=search1&bfmid=27359743&QueryType=2&ClearLevel=Cloud9&QueryString=",'<img src="/images/yellow_pages_h20_w42.gif" alt="yellow and white pages (phones, addresses, maps)" target="_blank" width=42 height=20 border=0>');
if (0==tfpopupvip) {chkbx("Books",books,'<img src="/images/b_b.gif" alt="Book Search&Price Comparison Engine" width=30 height=10 border=0>');
chkbx("DrugStore",'click.linksynergy.com/fs-bin/statform?id=BEyY3Qv/FJM&offerid=43440&bnid=283&subid=&subid=0&searchtype=1&search=','<img src="/images/b_p.gif" alt="Search auctions" width=25 height=20 border=0>');}
}
else {
chkbx("News",'search.news.yahoo.com/search/news?p=','<img src="/images/news.gif" alt="Search Yahoo News" width=27 height=10 border=0>');
if (tfpopupvip==0) {
chkbx('Travel',"supported.org/searcher.asp?SearchCategory=/Recreation/Travel&HitsPerPage=60&PageNumber=0&HideDetails=on&SearchString=",'<img src="/images/travel2.gif" alt="Travel Reference Database" width=20 height=20 border=0>');
books="www.books-maps.com/barnpics.asp?";
chkbx("Books",books,'<img src="/images/b_b.gif" alt="Book Search&Price Comparison Engine" width=30 height=10 border=0>');}
chkbx("Yellow Pages","service.bfast.com/bfast/click?siteid=35724832&bfpage=search1&bfmid=27359743&QueryType=2&ClearLevel=Cloud9&CityZipAC="+(statecode!=''?citynameplus:'')+"&State="+statecode+"&QueryString=",'<img src="/images/yellow_pages_h20_w42.gif" alt="yellow and white pages (phones, addresses, maps)" target="_blank" width=42 height=20 border=0>');
if (tfpopupvip==0) {
chkbx("E-Bay","www.qksrv.net/interactive?MfcISAPICommand=GetResult&ht=1&SortProperty=MetaEndSort&pid=572495&url=http://adfarm.mediaplex.com/ad/ck/711-1751-2978-32&aid=3997568&query=",'<img src="/images/b_p.gif" alt="Product; auctions" width=25 height=20 border=0>');
}
}
chkbx('More','recommend.org/omnisearch.htm#sitetype='+sitetype+'&'+params+'&searchstring=','<img src="/images/more.gif" alt="Menu of many more search sources to include in omni-search" width=19 height=21 border=0>');
adw(' </td> </tr> </table>');
adw('</td> <td align=left >');
if (sitetype=='health'){
adw('<img src="/images/line.gif" alt="" width=2 height=24 border=0>');
adw('<a href="'+barpath+'" target="_top"><img src="/images/b_r.gif" alt="Listing for '+barcategory+'" width=19 height=21 border=0></A>');
adw('<img src="/images/line.gif" alt="" width=2 height=24 border=0>');
adw('<a href = "/"><img src="/images/b_h.gif" alt="The Medical Portal DrRecommend" width=19 height=21 border=0></A>');
}
else {
if (0==tfpopupvip){
adw('<img src="/images/line.gif" alt="" width=2 height=24 border=0>');
adw('<a ');
adw(' href = "http://www.hotels-shopper.com/'+kountrycode+'" target="_top"><img src="/images/hotel.gif" alt="'+kountryname+' Hotel Comaprison Shopper" width=19 height=21 border=0></A><img src="/images/line.gif" alt="" width=2 height=21 border=0><a ');
adw(air);
adw(' href="http://recommend.org/SABRE_TN.htm" target="_blank"><img src="/images/car.gif" alt="Car Rent Comparison Engine" width=19 height=21 border=0></A><a ');
if (0==tfpopup) adw(' href="http://allmeasures.com/cruise.html" target="_blank"><img src="/images/ship.gif" alt="All cruises" width=19 height=21 border=0></A><a ');
adw(' href="http://www.recommend.org/selected-travel.html" target="_top"><img src="/images/more.gif" alt="Portal to most major travel reservations systems, vacations, cruises, services, and travel supplies" width=19 height=21 border=0></A> ');
adw('</td> ');
adw('<td> ');
}
}
if (0==tfpopup) {
adw('<img src="/images/line.gif" alt="" width=2 height=21 border=0><a ');
adw(' href="http://www.drrecommend.com/" target="_top"><img src="/images/medical.gif" alt="The Medical Portal DrRecommend" width=19 height=21 border=0></A><img src="/images/line.gif" alt="" width=2 height=21 border=0><a ');
adw(' href="http://www.recommend.org/selected-health-stores.html" target="_top"><img src="/images/b_h_m.gif" alt="Health Mall" width=16 height=21 border=0></A><img src="/images/line.gif" alt="" width=2 height=21 border=0><a ');
adw(' href="http://www.recommend.org/selected-comparison-shopping.html" target="_top"><img src="/images/b_c_e.gif" alt="Comparison shopping engines, malls" width=16 height=21 border=0></A><img src="/images/line.gif" alt="" width=2 height=21 border=0><a ');
adw(' href="http://recommend.org/American_Express.htm" target="_blank"><img src="/images/b_c.gif" alt="Credit" width=19 height=21 border=0></A><img src="/images/line.gif" alt="" width=2 height=21 border=0><a ');
adw(' href="http://recommend.org/Floristcom.htm" target="_blank"><img src="/images/b_ff.gif" alt="Flowers Worldwide delivered by local florists" width=14 height=21 border=0></A>');
}
}
adw('</td> ');
adw('</tr> ');
adw('</table> ');

jh=jh.replace(/src=".images/g,'src="http://hotels-shopper.com/images');
function sprinkslite(){adframes()}
function doel(label){var a='@a';var m='ndr';m+=a+'cm.org';dw('<a href="mai'+'lto:'+m+'">'+(typeof(label)!='undefined'?label:m)+'</a>')}
function doelf(label){var a='@cs.fi';var m='rishe';m+=a+'u.edu';dw('<a href="mai'+'lto:'+m+'">'+(typeof(label)!='undefined'?label:m)+'</a>')}
function K(nbr){
return (nbr<10000?(nbr>30?Math.round(nbr):Math.round(nbr*100)/100):(nbr>1000000?Math.round(nbr/10000)/100+'M':Math.round(nbr/1000)+'K'))}
function percent(nbr) {
var p=(nbr>0.0999?Math.round(nbr*100):Math.round(nbr*1000)/10)
return (p<=100?p+'%':'')
}

function displaybar(){

dw(jhform); dw(jh);dw('</form>');
}
function selectnbrs(nbr){var str='';for (i=1;i<=nbr;i++) str+=('<option value="'+i+'">'+i); return str}
function selectstrngs(str){return (';'+str).replace(/;/g,'<option value="').replace(/,/g,'">')}
function selectmonths(){return selectstrngs('Jan,Jan;Feb,Feb;Mar,Mar;Apr,Apr;May,May;Jun,Jun;Jul,Jul;Aug,Aug;Sep,Sep;Oct,Oct;Nov,Nov;Dec,Dec')} 
aadnbr=0;
othericon='<img src=http://hotels-shopper.com/images/other.gif width=16 height=16 border=0>&nbsp;';
function aad(linkm,label,site) {
aadnbr++
var title=(cityname==''?searchstring:cityname);
if (aadnbr == 1) dw('<p><b>'+title+' offers: </b><font color=red>');
hrefm(linkm.replace(/ /g,'+'),othericon+label,site);
if (aadnbr == 1) dw('</font>');
}
function hrefm(link,text,shortlink){dw(' <a href='+link+' target=_blank>'+text+'</a> ')}
function hrefdate(link,text){
var stamp=new Date();
stamp=stamp.getTime();
dw(' <a href='+link+'&tstamp='+stamp+' target="_blank">'+text+'</a>');}
function anchorref(label,poptext){
var dloc=document.location+'';
var dlocr=dloc.replace(/#.*/,'');
poph(dlocr+'#'+label,'<img src="/images/scrolldown.gif" border=0 width=9 height=11>&nbsp;'+label,poptext);dw();}
function logingif(){
var stamp=new Date();
stamp=stamp.getTime();
dw('<a href="http://terrafly.fiu.edu/subscription/?tflog='+document.location+'qAsloggedin"><img border=0 width=128 height=30 src="http://terrafly.cs.fiu.edu/checksubscription.asp?v='+stamp+'"></a>');}
