function vs()
{
  // Update the variables associated with the current county selection.
  CountyChange();

  var ok = 1;
  currentFormPrefix = "VLOG_";

  if (ok && !FormRequired("FirstName", "First Name")) ok = 0;
  if (ok && !FormRequired("LastName", "Last Name")) ok = 0;

  currentFormPrefix = "";
  if (ok && !FormRequired("XTRA_phone", "Phone Number")) ok = 0;
  if (ok && !FormSelectionRequired("XTRA_county", "County")) ok = 0;

  currentFormPrefix = "VLOG_";
  if (ok && !FormSelectionRequired("Month", "Birthday Month")) ok = 0;  
  if (ok && !FormSelectionRequired("Day", "Birthday Day")) ok = 0;  
  if (ok && !FormRequired("Year", "Birthday Year")) ok = 0;
  if (ok && !FormRadioRequired("Gender", "Gender")) ok = 0;
  if (ok && !FormEmailRequired("Email", "Contact Email")) ok = 0;
  if (ok && !FormRequired("Username", "User Name")) ok = 0;
  if (ok && !FormRequired("Password", "Password")) ok = 0;
  if (ok && !FormRequired("Email", "Contact Email")) ok = 0;

  if (ok && document.getElementsByName("Password2")[0].value == "") {
	alert("Please retype your password.");
	document.getElementsByName("Password2")[0].focus();
	ok = 0;
  }

  // Make sure that the password was entered correctly a second time.
  if (ok && document.getElementsByName(currentFormPrefix  + "Password")[0].value  != document.getElementsByName("Password2")[0].value) {
	alert("Your retyped password does not match your Password. Please retype it.");
	document.getElementsByName("Password2")[0].focus();
	ok = 0;
  }

return ok;
};