function checkForm(form){
     intro = 'Please provide the following information:\n\n';
     msg = '';
     regex = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/;
     regexnum = /[0-9]+/;
     if(form.name.value=='')msg+='Name\n';
     if(!form.email.value.match(regex))msg+='A valid email address\n'
     if(form.message.value=='')msg+='Feedback\n';
     if(msg=='')return true;
     else if (msg!= ''){
         alert(intro + '\n' + msg);return false;
     }
}

function checkForm1(form){
     intro = 'Please provide the following information:\n\n';
     msg = '';
     regex = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/;
     regexnum = /[0-9]+/;
     if(form.name.value=='')msg+='Name\n';
	 if(form.address.value=='')msg+='Address\n';
	 if(form.contact.value=='')msg+='Contact Person\n';
	 if(!form.telephone.value.match(regexnum))msg+='Telephone No\n';
	 if(!form.fax.value.match(regexnum))msg+='Fax No\n';
     if(!form.email.value.match(regex))msg+='A valid email address\n'
	 if(!form.year.value.match(regexnum))msg+='Year Established\n'
     if(form.business.value=='')msg+='Nature of Business\n';
	 if(form.registration.value=='')msg+='Reason for Registration\n';
     if(msg=='')return true;
     else if (msg!= ''){
         alert(intro + '\n' + msg);return false;
     }
}

