   var searchURL = "";

   function Go(x)
   {
    if(x == "nothing")
    {
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
      document.forms[0].elements[0].defaultValue = "List of articles";
      return;
    }
    else if(x == "end") top.location.href = parent.frames[1].location;
    else
    {
      parent.location.href = x;
      document.forms[0].reset();
      document.forms[0].elements[0].blur();	  
    }
  }


   function doSubmitComment()
   {
      var sSex = "";

      if(document.CommentForm.CommentEMail.value == "" || document.CommentForm.CommentEMail.value.indexOf('@') == -1) {
         alert("Please enter a valid email address!");
         document.CommentForm.CommentEMail.value.focus();
         return false;
      }
      if(document.CommentForm.CommentText.value == "") {
         alert("Please make a comment!");
         document.CommentForm.CommentText.focus();
         return false;
      }

      if(document.CommentForm.CommentSexM.checked)
         sSex = "a male viewer";
      else if(document.CommentForm.CommentSexF.checked)
         sSex = "a female viewer";
      else
         sSex = "gender optionally not given";

      Str = "mailto:comments@kushand.org?subject=EMail from " + document.CommentForm.CommentEMail.value;
      sMailBody = "&body=" + document.CommentForm.CommentEMail.value + " (" + sSex + ") wrote:"
                   + "%0A" + document.CommentForm.CommentText.value;
      Str += sMailBody;

      window.location.href = Str;
      document.CommentForm.reset();
      //history.back();
   }
