function validate()
{

if(document.contact.customer.value == "")
{ alert("Please enter your First and Last Name.")
document.contact.customer.focus()
return false }

if(document.contact.email.value == "")
{ alert("Please enter your Email Address.")
document.contact.email.focus()
return false }

if(document.contact.street_po.value == "")
{ alert("Please enter your mailing address (street address or your P.O. Box)")
document.contact.street_po.focus()
return false }

if(document.contact.city.value == "")
{ alert("Please enter your City.")
document.contact.city.focus()
return false }

if(document.contact.state.value == "")
{ alert("Please enter your State, US Possesion, or Canandian Province.")
document.contact.state.focus()
return false }

if(document.contact.zip.value == "")
{ alert("Please enter your Zip Code or Postal Code or N/A.")
document.contact.zip.focus()
return false }

if(document.contact.country.value == "")
{ alert("Please enter your Country.")
document.contact.country.focus()
return false }

}

//------------------------------------

function checkEmail()
{

//The "^" means beginning of string
//The "$" means end of string
//The "." means any character
//the "+" means one or more
//A "\" is an escape ... avoids literal translation of character
//A "\." means read a period as an ascii character (in the email), not as javascript
//A "$/" means end of string
// "!" means not

var emailFilter = /^.+@.+\..{2,3}$/;
if(!(emailFilter.test(document.contact.email.value)))
{ alert("Please provide a valid Email Address format.");
document.contact.email.focus()
return false}
}

//------------------------------------

