<!--Hide Script
	

function validlastname(){
	if (document.viewApp.last_name.value == ""){
         return false;
    }
         return true;
    }
	
function validfirstname(){
	if (document.viewApp.first_name.value == ""){
         return false;
    }
         return true;
    }
	
function isEmail() {  //these functions I acquired from the text
	invalidChars = "/:;,"

	if (document.viewApp.newLogonEmail.value == "") {
           //must not be empty
		return false                                    //25
	}
	for(i=0; i<invalidChars.length; i++) {        //no invalid chars
		badChar = invalidChars.charAt(i)
		if(document.viewApp.newLogonEmail.value.indexOf(badChar,0)> -1){

		return false
	}
	}
	atPos = document.viewApp.newLogonEmail.value.indexOf("@",1)        //must have @
		if(atPos == -1) {
		return false
	}
	if (document.viewApp.newLogonEmail.value.indexOf("@",atPos+1) != -1) {
             //only 1 @
		return false
	}
 	periodPos = document.viewApp.newLogonEmail.value.indexOf(".",atPos)   //1 period after @
		if(periodPos == -1) {

		return false
	}
	if (periodPos+3 > document.viewApp.newLogonEmail.value.length) {

		return false;
		}
	return true;
	}

function submitIt(form) {  //these call alerts if something is missing
	if  (!isEmail(form.newLogonEmail.value)){
		alert("Please enter Valid Email in the form of xxx@xxx.xxx")
		form.newLogonEmail.focus();
		form.newLogonEmail.select();
		return false
	}
	if (!validfirstname(form.first_name.value)){
        alert("You must enter your First Name before submitting this form.");
        form.first_name.focus();
        return false;
	}
	if (!validlastname(form.last_name.value)){
        alert("You must enter your Last Name before submitting this form.");
        form.last_name.focus();
        return false;
	}
}
//-->


