<!-- Begin
var submitcount=0;

function reset() {
document.myform.Name.value="";
document.myform.Email.value="";


}

function checkFields() {                       // field validation -
if ( (document.myform.Name.value=="")  ||   // checks if fields are blank.
     (document.myform.Email.value=="") )  // checks if fields are blank.

   {
   alert("Please enter your\nName and Email address, then re-submit this form.");
   return false;
   }

else 
   {
   if (submitcount == 0)
      {
      submitcount++;
      return true;
      }
   else 
      {
      alert("This form has already been submitted.\nThanks!   ");
      return false;
      }
   }
}
//  End -->