
			// check to ensure that a name, username, email address is entered.

			function valF(thisform) {

				with (thisform)	{

					if ((licenseterms.value != "yes") || (yourName.value == ""||yourName.value == null) || (email.value == ""||email.value == null) || (newusername.value == ""||newusername.value == null) || (Password.value == ""||Password.value == null) || (newpassword.value != Password.value)) {

					  //email.focus();

					  //email.style.backgroundColor = "#FFC";

					  document.getElementById("errorMessage").innerHTML = "Error: You must accept the terms of the license, fill in all fields, and provide matching passwords in order to sign up for this service.";

					  alert("You must accept the terms of the license, fill in all fields, and provide matching passwords in order to sign up for this service.");

					  return false;

					}

					else { 
						if (newusername.value.indexOf(" ") > -1) {

						  document.getElementById("errorMessage").innerHTML = "Error: Your username cannot contain spaces.";
	
						  alert("Your username cannot contain spaces.");
	
						  return false;
	
						}
	
						else {
	
						//this.submit();
						thisform.submit();
						 // return true;
	
						}
					}

				}

			}



			function formsub (thisform) {

				document.getElementById("form2").form2text.value = thisform.form1text.value;

			}

