function validate (f) {
	if (f.panel.checked != true) {
		alert('Please check the box if you wish to join the panel.');
		return false;
	}
	var emailregex = "([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})";
	var validEmail = new RegExp(emailregex,'i');
	if ((f.email.value.length < 1) || (f.email.value == 'Email') || !validEmail.test(f.email.value)) {
		alert('Please enter a valid email address if you wish to join the panel.');
		return false;
	}
	
	return true;
}