function CheckOptionsStats()
{
	if(document.OptionsStats.pass1.value != document.OptionsStats.pass2.value)
	{
		alert("Your Passwords are not equal! Please re-enter your passwords and try again.");
		return false;
	}
	if(document.OptionsStats.newemail1.value != document.OptionsStats.newemail2.value)
	{
		alert("Your E-mail address does not match! Please re-enter your E-mail address and try again.");
		return false;
	}
	else
		if(document.OptionsStats.newemail1.value > '')
		{
			if (!confirm("By changing your email address, you must revalidate your account. This means you must specify a valid email address to which we can send you a link in email form to activate your new changes.\n\nDo you want to change your email address now?"))
			{
      		event.returnValue=false;
				sValid = true;
			}
		}
	return true;
}
function CheckVitalStats()
{
	if(document.VitalStats.NickName.value == '')
	{	
		
		if (!confirm("You have not filled in a nickname.\r\n\r\nYour first and last name will be used as your nickname when posting on websites.\r\nAre you sure you wish to continue?")) 
      {
      		event.returnValue=false;
				sValid = true;
      }
	}
return true;
}
function ShowPromptMsg(msg)
{
	alert(msg);
}

function PopupSubmit() 
{
 	var URL;
	URL = "accountsetup.asp";
	window.open(URL,'AccountSetup','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=500,height=500');
}