function checkName() {
Name=(document.contactform.Name.value)
if (Name.length==0){
alert("Please enter your Name.")
}
else (checkTitle())
}

function checkTitle() {
Title=(document.contactform.Title.value)
if (Title.length==0){
alert("Please enter a Title.")
}
else (checkCompany())
}

function checkCompany() {
Company=(document.contactform.Company.value)
if (Company.length==0){
alert("Please enter a Company, Organization or Business.")
}
else (checkPhone())
}

function checkPhone() {
Phone=(document.contactform.Phone.value)
if (Phone.length==0){
alert("Please enter your Phone Number.")
}
else (checkEmail())
}

function checkEmail() {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.contactform.EmailAddress.value)){
document.contactform.submit()
return (true)
}
alert("The email address entered appears to be invalid.  Please double check the spelling, or re-enter.")
return (false)
}

function checkName2() {
Name=(document.contactform2.Name.value)
if (Name.length==0){
alert("Please enter your Name.")
}
else (checkTitle2())
}

function checkTitle2() {
Title=(document.contactform2.Title.value)
if (Title.length==0){
alert("Please enter a Title.")
}
else (checkCompany2())
}

function checkCompany2() {
Company=(document.contactform2.Company.value)
if (Company.length==0){
alert("Please enter a Company, Organization or Business.")
}
else (checkPhone2())
}

function checkPhone2() {
Phone=(document.contactform2.Phone.value)
if (Phone.length==0){
alert("Please enter your Phone Number.")
}
else (checkEmail2())
}

function checkEmail2() {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.contactform2.EmailAddress.value)){
document.contactform2.submit()
return (true)
}
alert("The email address entered appears to be invalid.  Please double check the spelling, or re-enter.")
return (false)
}

function checkName3() {
Name=(document.contactform3.Name.value)
if (Name.length==0){
alert("Please enter your Name.")
}
else (checkTitle3())
}

function checkTitle3() {
Title=(document.contactform3.Title.value)
if (Title.length==0){
alert("Please enter a Title.")
}
else (checkCompany3())
}

function checkCompany3() {
Company=(document.contactform3.Company.value)
if (Company.length==0){
alert("Please enter a Company, Organization or Business.")
}
else (checkPhone3())
}

function checkPhone3() {
Phone=(document.contactform3.Phone.value)
if (Phone.length==0){
alert("Please enter your Phone Number.")
}
else (checkEmail3())
}

function checkEmail3() {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.contactform3.EmailAddress.value)){
document.contactform3.submit()
return (true)
}
alert("The email address entered appears to be invalid.  Please double check the spelling, or re-enter.")
return (false)
}
