<!-- Hide script from old browsers

if (top.location != self.location) {
	top.location = self.location
}


function validate(form) {
	if (form.studentname.value == "") {
		alert("Please enter a Student User Name");
		form.studentname.focus();
		form.studentname.select();
		return false;
	}
	if (form.studentpw.value == "") {
		alert("Please enter a Password");
		form.studentpw.focus();
		form.studentpw.select();
		return false;
	}
	return true;
}


function validEmail(email) {
	invalidChars = " /:,;|"
	for (i=0; i<invalidChars.length; i++) {
		badChar = invalidChars.charAt(i)
		if (email.indexOf(badChar,0) > -1){
			return false
		}
	}
	atPos = email.indexOf("@",1)
	if (atPos == -1) {
		return false
	}
	if (email.indexOf("@",atPos+1) > -1) {
		return false
	}
	periodPos = email.indexOf(".",atPos)
	if (periodPos == -1) {
		return false
	}
	if (periodPos+3 > email.length) {
		return false
	}
	return true
}


function validRequest(passForm1) {
	if (!validEmail(passForm1.Email1.value)) {
		alert("Invalid email address")
		passForm1.Email1.focus()
		passForm1.Email1.select()
		return false
	}
	if (passForm1.Email1.value == "") {
		alert("Please enter an email address")
		passForm1.Email1.focus()
		passForm1.Email1.select()
		return false
	}
	if (passForm1.Name.value == "") {
		alert("Please enter your name")
		passForm1.Name.focus()
		passForm1.Name.select()
		return false
	}
	return true
}


function validAweber(passForm1) {
	if (!validEmail(passForm1.from.value)) {
		alert("Invalid email address")
		passForm1.from.focus()
		passForm1.from.select()
		return false
	}
	if (passForm1.from.value == "") {
		alert("Please enter an email address")
		passForm1.from.focus()
		passForm1.from.select()
		return false
	}
	if (passForm1.name.value == "") {
		alert("Please enter your name")
		passForm1.name.focus()
		passForm1.name.select()
	return false
	}
	return true
}


// End hiding script from old browsers -->

