   var word = null;

   var words = new Array(
          "ab ovo", "abstemious", "abulia", "abstruse", "acedia", "acolyte", "adjure", "adumbrate",
          "adventitious", "ahimsa", "amative", "anabasis", "animadversion", "animal bipes implume",
          "antinomy", "apodictic", "aposiopesis", "apothegm", "ashram", "baldachin", "baksheesh",
          "banausic", "bardolater", "Barmecidal", "bloviate", "borborygmus", "Brobdingnagian",
          "cachinnate", "cacography", "calumny", "cap-a-pie", "casus belli", "chiasmus",
          "Chinese wall", "chirography", "chrestomathy", "clerisy", "cloud-cuckoo-land", "coeval",
          "collywobbles", "compurgator", "consigliere", "contretemps", "contumacious", "contumely",
          "daedal", "defalcation", "demesne", "demotic", "desuetude", "devoir", "disseise",
          "dulcet", "eau-de-vie", "éclaircissement", "edulcorate", "embonpoint", "epigraph",
          "epitaph", "epithet", "eschatology", "etiology", "exegesis", "ex officio", "factotum",
          "farraginous", "farrago", "festinate", "flagitious", "florilegium", "fugacious",
          "gadzookery", "galumph", "golconda", "gravamen", "hagiography", "handsel", "haruspex",
          "hebephrenia", "hermeneutics", "hypnagogic", "immure", "impuissant", "indissoluble",
          "ineluctable", "insouciance", "interdigitate", "invita Minerva", "incarnadine",
          "kakistocracy", "lachrymose", "lacuna", "lagniappe", "Laodicean", "legerity",
          "litterateur", "louche", "Lucullan", "luftmensch", "lumpen", "macedoine", "maffick",
          "mahatma", "maieutic", "Manichaean", "mantic", "manumit", "marmoreal", "megrim",
          "mise-en-scene", "misprision", "myrmidon", "neologism", "nepenthe", "non compos mentis",
          "nosocomial", "numinous", "obeisance", "objurgation", "obloquy", "oligopsony",
          "olla podrida", "omphaloskepsis", "orgulous", "oubliette", "palimpsest", "Panglossian",
          "pasquinade", "perfidious", "pertinacious", "plebiscite", "plenary", "plus a change",
          "polemic", "poltroon", "pons asinorum", "predial", "preprandial", "primordial",
          "profligate", "prolegomenon", "pseudonym", "pukka", "pullulate", "punctilio",
          "pusillanimous", "quadrivium", "qui vive", "quidnunc", "quinte-du-loup", "ratiocination",
          "rechauffe", "rete", "revanche", "rhadamanthine", "riparian", "rutilant", "sangfroid",
          "sanguineous", "sardonic", "sartorial", "satiety", "sciolism", "semiotic", "simulacrum",
          "solipsism", "solecism", "soporific", "sternutation", "stoic", "struthious", "stultify",
          "superficies", "syncretism", "synecdoche", "tantivy", "taradiddle", "tonsorial",
          "tranche de vie", "trivium", "trope", "ukase", "usufruct", "verjuice", "vespertine",
          "vexillologist", "viand", "vilipend", "vinaceous", "volte-face", "voluble", "vulpine",
          "wakerife", "weltanschauung", "williwaw", "zeugma", "zibeline"
   );

   function nop() {}

   function odinit()
   {
      var i = 0;
      if (word == null) {
         i = Math.floor(words.length*Math.random());
         word = words[i];
      }
      document.mwdic.va.value = word;
   }

   function jump(uri)
   {
      var url = null;
      if (uri == "null") { return; }
      if (uri.substr(0,5) == "http:") {
         url = uri;
      }
      else {
         var host = "http://www.cs.oswego.edu/";
         url = host + uri;
      }
      if (url != null) {
         this.parent.top.location.href = url;
      }
   }

   function mwjump(form)
   {
      var cgi = null;
      var book = form.mwbook.options[form.mwbook.selectedIndex].value;
      var va = form.va.value;
      if (book == "dic") { cgi = "dictionary"; book = "bookd"; }
      else if (book == "the") { cgi = "thesaurus"; book = "bookt";}
      else { alert("error"); return; }

      var url = "http://www.m-w.com/";
      if (va != null && va != "") {
         // url += "cgi-bin/" + cgi + "?va=" + va + "&book=" + book;
         url +=  cgi + '/' + va
      }
      // alert("url is " + url); return;
      this.parent.top.location.href = url;

   }

