formSetmain(document.SUPPORTER176011);
onunload = fileClose;

function SubmitForm176011(thisform){
	if(thisform.SubmitButtom!=null) thisform.SubmitButtom.disabled = true;
	if(CheckForm176011(thisform)) thisform.submit();
	else if(thisform.SubmitButton!=null) thisform.SubmitButton.disabled = false;
}
function CheckForm176011(thisform){
	focus_field = "";
	warning = "";
	warning=checkField(thisform.email_address,"Email",warning);warning=checkField(thisform.zip,"ZIP/Postal Code",warning);
	if(warning!=""){
		warning = "Please enter the following fields to continue:\n- "+warning+"";
		alert(warning);
		if(focus_field!="")
			focus_field.focus();
		return false;
	}
	if(thisform.email_address!=null){
		if(thisform.email_address.value!=""){
			if(validEmail(thisform.email_address.value, "You have entered an invalid email address.") == false){
				thisform.email_address.focus();
				return false;
			}
		}
	}
	if ((thisform.zip != null) && (thisform.country != null)){ 
		if (checkCountryZip(thisform.zip, thisform.country, "Please enter a correct format zip/postal code") == false) {
			thisform.zip.focus();
			return false;
		}
	}
	
	thisform.action = "http://www.bbbs.org/site/apps/ka/ct/contactadd.asp?c=diJKKYPLJvH&b=1681367"; 
	return true;
}