function validateForm(formInfo)
{
	var outTxt = "";

	if (!formInfo.email.value.match(/.+@.+\..+/))
	{ outTxt += "Your email is invalid.\n"; }
	if (formInfo.First_Name.value == "")
	{ outTxt += "Please fill in the First Name field.\n"; }
	if (formInfo.Last_Name.value == "")
	{ outTxt += "Please fill in the Last Name field.\n"; }
	if (formInfo.Company.value == "")
	{ outTxt += "Please fill in the Company field.\n"; }
	if (formInfo.Address1.value == "")
	{ outTxt += "Please fill in the Address field.\n"; }
	if (formInfo.City.value == "")
	{ outTxt += "Please fill in the City field.\n"; }
	if (formInfo.State.value == "")
	{ outTxt += "Please select a State.\n"; }
	if (formInfo.Zip.value == "")
	{ outTxt += "Please fill in the Postal Code field.\n"; }
	if (formInfo.Country.value == "")
	{ outTxt += "Please select a Country.\n"; }
	if (formInfo.phone_number.value == "")
	{ outTxt += "Please fill in the Telephone field.\n"; }
	
	if (outTxt != "")
	{
		alert("The following information is incorrect:\n" + outTxt);
		return false;
	}
	return true;
}

function closePop(div)
{
	document.getElementById(div).style.display = 'none';
	document.rsaForm.email.focus();
}

function highlight(field)
{
	field.style.backgroundColor = "#ffff70";
}

function unhighlight(field)
{
	field.style.backgroundColor = "#fff";
}