// REGISTER
function RegisterCheck(form) {
valcheck = form.emailaddress;
hasDot = valcheck.value.indexOf(".");hasAt = valcheck.value.indexOf("@");if (hasDot == -1 || hasAt == -1) {	alert("Please enter your Email Address.");	valcheck.focus();	return false;}
valcheck = form.fname;if (valcheck.value == "") {	alert("Please enter your First Name");	valcheck.focus();	return false;}			valcheck = form.lname;if (valcheck.value == "") {	alert("Please enter your Last Name");	valcheck.focus();	return false;} 

valcheck = form.organization;if (valcheck.value == "") {	alert("Please enter your Organization");	valcheck.focus();	return false;} 

valcheck = form.role;if(valcheck.selectedIndex == -1 || valcheck.value == "") {	alert("Please choose your Role In Your Organization");	valcheck.focus();	return false;}

valcheck = form.phone;if (valcheck.value == "") {	alert("Please enter your Phone Number (xxx-xxx-xxxx)");	valcheck.focus();	return false;}valcheck = form.zip;if (valcheck.value == "") {	alert("Please enter your Zip Code");	valcheck.focus();	return false;} else {	return true;}}

//OTHER CHECK
function selectOther(thebox) {
if (thebox.checked == false) {
document.getElementById("otherdiv").innerHTML = "";
} else {
document.getElementById("otherdiv").innerHTML = "<input name='theotherway' type='text' size='20'/>";
}
}

