<!-- begin hide from older browsers

var MAX_ENGINES = 30;
var EHGO_STRING = "quik+go";
function MakeArray(n) {
for (var i = 1; i <= n; i++) {
this[i] = 0;
}

this.maxlen = n;
this.len = 0;
return this;
}

var engs = new MakeArray(MAX_ENGINES);
function find_substring(stuff, things) {
var i, stuffn = stuff.length, haylen = things.length;
for (i=0; i<=haylen-stuffn; i++) {
if (stuff == things.substring(i,i+stuffn))
return i;
}

return false;
}

function Engine(name, opts, home, search) {
var ehgo = find_substring(EHGO_STRING, search);
this.name = name;
this.opts = opts;
this.home = home;
this.pre_ehgo = search.substring(0,ehgo);
this.post_ehgo= search.substring(ehgo+EHGO_STRING.length, search.length);
}

function Add(name, opts, home, search) {
engs.len++;
if (engs.len <= engs.maxlen) {
engs[engs.len] = new Engine(name, opts, home, search)
}

else {
alert("Increase MAX_ENGINES: " + engs.len + ">" + engs.maxlen)
}

}

function DisplayForm() {

document.writeln('<FORM Name=EhuGoform OnSubmit="HandleForm(this); return false">');
document.writeln('<table border=0 cellspacing="0" cellpadding="0">');

document.writeln('<tr><td bgcolor="#5C6277"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><strong>Search:</strong></font>&nbsp;</td><td bgcolor="#5C6277"><select name="service">');
for (i=1; i <= engs.len; i++) {
document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name);
}

document.writeln('</SELECT></td><td bgcolor="#5C6277" align="center"><INPUT size=18 name="query"></td><td bgcolor="#5C6277"><INPUT ALT="SEARCH" TYPE="IMAGE" BORDER="0" valign="bottom" SRC="graphics/front/search_button.gif">');
document.writeln('</font></td></FORM></tr></table>');
query = self.location.search;
if (query != null && query !='') {
if (query.length > 1) {
query = query.substring(1, query.length);
document.EhuGoform.query.value=query
}

}

document.EhuGoform.query.focus()
}

function HandleForm(form) {
//  form.submit();
var i, newq="", oldq=form.query.value;
for (i=0; i<oldq.length; i++) {  // compress [ ]+ into \+
var thischar = oldq.charAt(i);
if (thischar != ' ')
newq += thischar;
else if (lastchar != ' ')
newq += '+';
lastchar = thischar;
}

var eng = engs[1+form.service.selectedIndex];
parent.parent.location.href = newq ? eng.pre_ehgo + newq + eng.post_ehgo : eng.home;
document.EhuGoform.query.focus()

}

Add("- Select -", "selected", "http://www.cei.net/", "http://search.yahoo.com/bin/search?p=quik+go" );
Add("altavista", "", "http://www.altavista.com/cgi-bin/query?text&pg=aq", "http://www.altavista.com/cgi-bin/query?q=quik+go&text=yes" );
Add("infoseek", "", "http://www.infoseek.com/find?pg=advanced_www.html", "http://www.infoseek.com/Titles?qt=quik+go" );
Add("excite", "", "http://www.excite.com/search/options.html?a-opt-t", "http://search.excite.com/search.gw?search=quik+go" );
Add("look smart", "", "http://www.looksmart.com/", "http://www.looksmart.com/r_search?key=quik+go" );
Add("deja news", "", "http://www.dejanews.com/home_ps.shtml", "http://www.dejanews.com/dnquery.xp?QRY=quik+go" );
Add("web crawler", "", "http://www.webcrawler.com/", "http://www.webcrawler.com/cgi-bin/WebQuery?searchText=quik+go" );
Add("no. lights", "", "http://www.northernlight.com/power.html", "http://www.northernlight.com/nlquery.fcg?qr=quik+go" );
Add("mamma","", "http://www.mamma.com", "http://www.mamma.com/Mamma?lang=1&timeout=4&qtype=0&query=quik+go" );
Add("news index", "", "http://www.newsindex.com/", "http://www.newsindex.com/cgi-bin/process.cgi?query=quik+go" );
Add("crawler", "", "http://www.metacrawler.com/", "http://www.metacrawler.com/crawler?general=quik+go&format=1" );
Add("jeeves", "", "http://www.ask.com/", "http://www.ask.com/main/askjeeves.asp?ask=quik+go&&metasearch=yes&spellcheck=on" );
Add("dog pile", "", "http://www.dogpile.com/", "http://search.dogpile.com/texis/search?q=quik+go" );
Add("yahoo!", "", "http://www.yahoo.com/", "http://search.yahoo.com/bin/search?p=quik+go" );

// end hide -->
