function Clear( Input, Value ){
	if( Input.value == Value ){
		Input.value = ""
	}else if( Input.value == "" ){
		Input.value = Value
	}
}

function Conf(){
	var Password = document.frmSignup.password.value;
	var PasswordConf = document.frmSignup.passwordconf.value;
	
	if( document.frmSignup.email.value == '' ){
		alert("You cannot have a blank email");
		document.frmSignup.email.focus();
		return false;
	}else if( Password != PasswordConf ){
		alert("Your passwords do not match, please retype");
		document.frmSignup.password.focus();
		return false;
	}else if( Password == '' ){
		alert("You cannot have a blank password");
		document.frmSignup.password.focus();
		return false;
	}
	
	return true;
}

function CheckForm(){
	if( document.frmEmail.Pass.value  == '' || document.frmEmail.Pass.value != document.frmEmail.PassConf.value ){
		alert("Your passwords do not match, please try again")
		return false;
	}else
		return true;
	
}

function FrontPage_Form1_Validator(theForm)
{

  if (theForm.paytype.selectedIndex == 0)
  {
    alert("The first \"paytype\" option is not a valid selection.  Please choose one of the other options.");
    theForm.paytype.focus();
    return (false);
  }
  return (true);
}