formSetmain(document.SUPPORTER55621);
onunload = fileClose;

function SubmitForm55621(thisform){
	if(thisform.SubmitButtom!=null) thisform.SubmitButtom.disabled = true;
	if(CheckForm55621(thisform)) thisform.submit();
	else if(thisform.SubmitButton!=null) thisform.SubmitButton.disabled = false;
}
function CheckForm55621(thisform){
	focus_field = "";
	warning = "";
	warning=checkField(thisform.email_address,"Email",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.email_address_1!=null){
		if(thisform.email_address_1.value!=""){
			if(validEmail(thisform.email_address_1.value) == false){
				//alert("Please enter a valid email address.");
				thisform.email_address_1.focus();
				return false;
			}
		}
	}		
	if(thisform.email_address_2!=null){
		if(thisform.email_address_2.value!=""){
			if(validEmail(thisform.email_address_2.value) == false){
				//alert("Please enter a valid email address.");
				thisform.email_address_2.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.prostatecancerfoundation.org/site/apps/ka/ct/contactus.asp?c=itIWK2OSG&b=71133"; 
	return true;
}
