function validate() {

  if (document.warranty.name.value == "") { 
     alert("Please fill in your name");
	 return false;
  }
  else
     
  if (document.warranty.email.value.indexOf('@') == -1) { 
     alert("Please fill in a valid email address.  It should look like you@domain.com");
	 return false;
  }
  else
   if (document.warranty.street.value == "") { 
     alert("Please fill in your street");
	 return false;
  }
  else
     if (document.warranty.suburb.value == "") { 
     alert("Please fill in your suburb");
	 return false;
  }
  else
     if (document.warranty.state.value == "") { 
     alert("Please fill in your state");
	 return false;
  }
  else
     if (document.warranty.zipcode.value == "") { 
     alert("Please fill in your postcode");
	 return false;
	 }
	 else
  if (document.warranty.country.value == "") { 
     alert("Please fill in your country");
	 return false;
   }
	 else
  if (document.warranty.continent.value == "") { 
     alert("Please select your continent");
	 return false;
   }
    else
  if (document.warranty.phone.value == "") { 
     alert("Please fill in your telephone number");
	 return false;
  }
  	 else 
         if (document.warranty.purcdate.value == "") { 
     alert("Please fill in the date you purchased your item");
	 return false;
	 }
	 else 
         if (document.warranty.location.value == "") { 
     alert("Please fill in the location of where you purchased your BABY BANZ Product");
	 return false;
	 }

	  else
     return true;
		}