<!-- Original:  Wayne Nolting (w.nolting@home.com) -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function verify() {
var themessage = "You must complete the following fields to continue registration: ";
if (document.customerregistrationform.regforename.value=="") {
themessage = themessage + " - Forename";
}
if (document.customerregistrationform.regsurname.value=="") {
themessage = themessage + " -  Surname";
}
if (document.customerregistrationform.regpostcode.value=="") {
themessage = themessage + " -  Post Code";
}
if (document.customerregistrationform.regemail.value=="") {
themessage = themessage + " -  Email Address";
}
//alert if fields are empty and cancel form submit
if (themessage == "You must complete the following fields to continue registration: ") {
	alert('Thank you registering, we will now save your details to our database. You will receive an email with your login and password');
document.form.submit();
}
else {
alert(themessage);
return false;
   }
}
//  End -->
