String.prototype.trim = function() {return this.replace(/^\s+|\s+$/g,"");}
 function goSearch(obj) {
  var word = document.getElementById('word').value.trim();
  if(word != "" && word != null) {
   obj.submit();
  }
 }
 function goSearchOther(obj) {
  var word = document.getElementById('otherWord').value.trim();
  if(word != "" && word != null) {
   obj.submit();
  }
 }