<!-- hide this script from non-JavaScript browsers
var MAX_ENGINES = 30;
var SNARK_STRING = "hunting+the+snark";

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(needle, haystack) {
   var i, needlen = needle.length, haylen = haystack.length;
   for (i=0; i<=haylen-needlen; i++) {
      if (needle == haystack.substring(i,i+needlen))
        return i;
   }
   return false;
}

function Engine(name, opts, home, search) {
  var snark = find_substring(SNARK_STRING, search);
  this.name = name;
  this.opts = opts;
  this.home = home;
  this.pre_snark = search.substring(0,snark);
  this.post_snark= search.substring(snark+SNARK_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("Better increase MAX_ENGINES: " + engs.len + ">" + engs.maxlen)
  }
}

Add("Mbolo", "",
   "http://www.mbolo.com",
   "http://www.mbolo.com/resultat.asp?recherche=hunting+the+snark" );

Add("Woyaa", "",
   "http://www.woyaa.com/links/index.html",
   "http://www.woyaa.com/cgi-bin/linkssqlfr/search.cgi?query=hunting+the+snark" );

Add("Afrik", "",
   "http://www.afrik.com",
   "http://www.google.fr/custom?domains=www.afrik.com&q=hunting+the+snark&sitesearch=www.afrik.com&client=pub-0641452443985725&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%23009999%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A009999%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A333399%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BLH%3A36%3BLW%3A100%3BL%3Ahttp%3A%2F%2Fwww.afrik.com%2FNAVPICS%2Flogo-afrik-135.gif%3BS%3Ahttp%3A%2F%2F%3BLP%3A1%3BFORID%3A1%3B&hl=fr" );

Add("--------------", "",
   "http://www.megafrica.com",
   "http://www.megafrica.com" );

Add("Marweb (Maroc)", "",
   "http://www.marweb.com",
   "http://www.marweb.com/cgi-bin/marweb/search.cgi?query=hunting+the+snark&submit=Recherche" );

Add("Bab-el-web (Tunisie)", "",
   "http://www.bab-el-web.com",
   "http://www.bab-el-web.com/search.asp?s=hunting+the+snark&page=0&Submit23=Laouej" );

Add("Ilicome (Togo)", "",
   "http://www.icilome.com/annuaire",
   "http://www.icilome.com/recherche/search.asp?search=hunting+the+snark" );


function HandleForm(form) {
  form.submit();  // This fixes a mysterious Netscape bug.  Without this line,
                  // you can't use <enter> to start the search the first time.
  var i, oldq=form.query.value, newq="";
  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];
  location.href = newq ? eng.pre_snark + newq + eng.post_snark : eng.home;
}

function DisplayForm() {
  document.writeln('<FORM OnSubmit="HandleForm(this); return false"></td>');
  document.writeln('<td><INPUT size=30 name="query"></td><td width="14"></td><td width="4"></td><td width="167"><SELECT name="service">');
  for (i=1; i <= engs.len; i++) {
    document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name);
  }
  document.writeln('</SELECT></td><td width="80">');
  document.writeln(' <input type="submit" name="Submit" value=" Recherche "></td></FORM>');
}

DisplayForm();

// done hiding from old browsers -->