function check() {
         if (document.form1.accept.checked != true) 
         {
	         alert("Please tick the box to confirm you have read and accepted our Terms and Conditions " +
	         		"and Refund Policy. Thank you.");
			 document.form1.accept.focus();
			 document.form1.accept.select();
	         return false;
         }
         if (document.form1.companyname.value == 0) 
         {
	         alert("Please enter your proposed Company Name.");
			 document.form1.companyname.focus();
			 document.form1.companyname.select();
	         return false;
         }
         if (document.form1.email1.value == "") 
         {
	         alert("IMPORTANT - You have not entered an email address. " +
	         		"Please enter your email address before resubmitting.");
			 document.form1.email1.focus();
			 document.form1.email1.select();
	         return false;
         }
		 if (document.form1.email1.value.indexOf(".") == -1) 
		 {
			 alert("Please enter a valid email address.");
			 document.form1.email1.focus();
			 document.form1.email1.select();
	         return false;
		 }
		 if (document.form1.email1.value.indexOf("@") == -1) 
		{
			alert("Please enter a valid email address.");
			form1.email1.focus();
			form1.email1.select();
			return false;
		}
		if (document.form1.telephone.value == 0) 
		{
			alert("Please enter a contact telephone number.");
			document.form1.telephone.focus();
			document.form1.telephone.select();
			return false;
		} 
		else 
			return true;		
}
