function ValidateForm()
{
var	thisForm=document.mailer
var	Name=thisForm.Name.value
var Company=thisForm.Company.value
var Address=thisForm.Address.value
var City=thisForm.City.value
var Prov_State=thisForm.Prov_State.value
var Country=thisForm.Country.value
var Email=thisForm.Email.value
var Telephone=thisForm.Telephone.value

	if (Name=="") {
		alert("Please enter your name in the space provided.");
		document.forms[0].Name.focus();
		return false;
	}
	else if (Company=="") {
		alert("Please enter the name of your Company in the space provided.");
		document.forms[0].Company.focus();
		return false;
	}
	else if (Address=="") {
		alert("Please enter your Street Address in the space provided.");
		document.forms[0].Address.focus();
		return false;
	}
	else if (City=="") {
		alert("Please enter your City in the space provided.");
		document.forms[0].City.focus();
		return false;
	}
	else if (Prov_State=="") {
		alert("Please select a Province/State from the list, or use the space provided.");
		document.forms[0].Prov_State.focus();
		return false;
	}
	else if (Country=="") {
		alert("Please enter a two-digit Country Code in the space provided.");
		document.forms[0].Country.focus();
		return false;
	}
	else if ((Email=="") || (Email.indexOf("@")==-1))
	{
		alert("Please enter a valid E-mail Address in the space provided.");
		document.forms[0].Email.focus();
		return false;
	}
	else if (Telephone=="") {
		alert("Please enter a valid Telephone Number with Area Code in the space provided.");
		document.forms[0].Telephone.focus();
		return false;
	}
	else
	{
		document.mailer.action = "mailto:" 
		mailtoandsubject = ((document.mailer.Attention.value) + '?Subject=' + document.mailer.Subject.value);
		document.mailer.action += mailtoandsubject
		window.location.href="ordering_results.htm";
	}
}