//EMAIL VALIDATOR STARTS HERE!!!!!!!!!!!!!!!!!
function validEmail2(emaila) {
invalidChars2 = " /:,;"
if (emaila == "") {
return false
}
for (i=0; i<invalidChars2.length;
i++) {
badChar2 = invalidChars2.charAt(i)
if (emaila.indexOf(badChar2,0) > -1) {
return false
}
}
atPos2 = emaila.indexOf("@",1)
if (atPos2 == -1) {
return false
}
if (emaila.indexOf("@",atPos2+1) > -1) {
return false
}
periodPos2 = emaila.indexOf(".",atPos2)
if (periodPos2 == -1) {
return false
}
if (periodPos2+3 > emaila.length) {
return false
}
return true
}

function submitComments(hform) {
if (!validEmail2(hform.comments_email.value)) {
alert ("Please enter a valid email address")
hform.comments_email.focus()
hform.comments_email.select()
return false
}
return true
}

function submitIt(hform) {
if (!validEmail2(hform.email.value)) {
alert ("Please enter a valid email address.")
hform.email.focus()
hform.email.select()
return false
}
return true
}
//EMAIL VALIDATOR ENDS HERE!!!!!!!!!!!!!!!!!

