var submitcount=0;

function reset() {
document.contactform.name.value="";
document.contactform.email.value="";
document.contactform.enquiry.value="";

}

function checkFields() {                    
if (                                    
     (document.contactform.name.value=="") ||
 (document.contactform.email.value=="")  ||
 (document.contactform.enquiry.value==""))  
   {
   alert("Please enter your name , Email and Content information here.");
   return false;
   }

else 
   {
   if (submitcount == 0)
      {
      submitcount++;
      return true;
      }
   else 
      {
      alert("the info has been submitted.");
      return false;
      }
   }
}
