function checkData(){
var problem = "";

if (document.form.realname.value.length <= 0) {
	problem = problem + "Name\n";
}
if (document.form.Address1.value.length <= 0) {
	problem = problem + "Address 1\n";
}
if (document.form.City.value.length <= 0) {
	problem = problem + "Town/City\n";
}
if (document.form.State.value.length <= 0) {
	problem = problem + "State\n";
}
if (document.form.Zip.value.length <= 0) {
	problem = problem + "Zip Code\n";
}
if (document.form.usrEmail.value.length <= 0) {
	problem = problem + "E-mail Address\n";
} else {
// check for proper e-mail address
 var theEmail = document.form.usrEmail.value;
 var atLoc = theEmail.indexOf("@",1);
 var dotLoc = theEmail.indexOf(".",atLoc+2);
 var len = document.form.usrEmail.value.length;
 // alert ("atLoc="+atLoc+"\ndotLoc="+dotLoc);
 if (atLoc <= 0 || dotLoc <= 0 || len <= dotLoc+2) {
 	problem = problem + "Check the E-mail address you have entered\n";
 }
}

if (problem == "") {
	return true;
	}
else {
	alert("Please complete the following information:\n" + problem);
	return false;
	}
}