<!--
function jump2form() {
  document.dict_form.term.select();
  document.dict_form.term.focus();
}
function isblank(s)
{
  for(var i = 0; i < s.length; i++) {
    var c = s.charAt(i);
    if ((c != ' ') && (c != '\n') && (c != '\t')) return false;
  }
  return true;
}
function formcheck() {
  var d = document.dict_form.db[1].checked;
  var e = document.dict_form.term.value;
  if ((e == null) || (e == "") || isblank(e)) {
    alert("Please enter a word to look up.");
    jump2form();
  }
  else if (d == 1) {
    location.href = ("http://www.thesaurus.com/cgi-bin/search?config=roget&words=" + escape(e));
  }
  else {
    location.href= ("http://www.dictionary.com/cgi-bin/dict.pl?term=" + escape(e));
  }
  return false;
}
function ahdpop() {
win=window.open("http://www.dictionary.com/help/ahd3key.html",'AHDKey','width=500,height=330,toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,resizable=yes');
  return false;
}
//-->
