function validateSub(){

if (document.formSub.fname.value=="") {
	alert("Oops! Please enter a FIRST NAME.")
	document.formSub.fname.focus()
	return false
}

if (document.formSub.email.value=="") {
	alert("Oops! Please enter an EMAIL ADDRESS.")
	document.formSub.email.focus()
	return false
}

if (isValidEmail(document.formSub.email.value)==false){
	alert("Oops! Please enter a VALID EMAIL ADDRESS.")
	document.formSub.email.focus()
	return false
}

return true
}

function submitSub(){
	varValidate = validateSub();
	if (varValidate == true){document.formSub.submit();}
}

function validateSub2(){

if (document.frmSS11.elements["CustomFields[2]"].value=="") {
	alert("Oops! Please enter a FIRST NAME.")
	document.frmSS11.elements["CustomFields[2]"].focus()
	return false
}

if (document.frmSS11.email.value=="") {
	alert("Oops! Please enter an EMAIL ADDRESS.")
	document.frmSS11.email.focus()
	return false
}

if (isValidEmail(document.frmSS11.email.value)==false){
	alert("Oops! Please enter a VALID EMAIL ADDRESS.")
	document.frmSS11.email.focus()
	return false
}

return true
}