function validateRenewals() {
with (document._renew) {
var alertMsg = "The following REQUIRED fields\nhave been left empty:\n";
radioOption = -1;
for (counter=0; counter<status.length; counter++) {
if (status[counter].checked) radioOption = counter;
}
if (radioOption == -1) alertMsg += "\nnew or renewing member";
if (name.value == "") alertMsg += "\nyour name";
if (title.value == "") alertMsg += "\nyour title";
if (magazine.value == "") alertMsg += "\nyour magazine";
if (magazine_url.value == "") alertMsg += "\nyour magazine's URL";
if (institution.value == "") alertMsg += "\nyour institution";
if (business_address.value == "") alertMsg += "\nyour business address";
if (email.value == "") alertMsg += "\nyour email address";
if (telephone.value == "") alertMsg += "\nyour telephone number";
if (fax.value == "") alertMsg += "\nyour fax number";
radioOption = -1;
for (counter=0; counter<payment_options.length; counter++) {
if (payment_options[counter].checked) radioOption = counter;
}
if (radioOption == -1) alertMsg += "\npayment details";
if (alertMsg != "The following REQUIRED fields\nhave been left empty:\n") {
alert(alertMsg);
return false;
} else {
return true;
} } }

