function checkFields() {
	for (i=0, n=document.contact.amount.length; i<n; i++) {
        if (document.contact.amount[i].checked) {
            var checkvalue = document.contact.amount[i].value;
            break;
        } 
    }
	var why = "";
	why += checkTextField('firstname','First Name','yes');
	why += checkTextField('lastname','Last Name','yes');
	why += checkTextField('haddress','Address','yes');
	why += checkTextField('haddress2','Address line 2','no');
	why += checkTextField('hcity','City','yes');
	why += checkZip('hzip','Zip Code','yes');
	why += checkPhone('priareacode','priphone1','priphone2','Primary','yes');
	why += checkEmail('email','yes');
	
	why += checkRadio(checkvalue,'amount','Donation Amount');
	
	if (checkvalue == "other") {
		why += checkNum('otheramount','Other Donation Amount','yes');
	}
	
	//alert(document.contact.sameBillingAddress.checked);
	
	if (document.contact.sameBillingAddress.checked) {
		why += checkTextField('baddress','Billing Address','yes');
		why += checkTextField('baddress2','Billing Address line 2','no');
		why += checkTextField('bcity','Billing City','yes');
		why += checkZip('bzip','Billing Zip Code','yes');
	}
	
	//Credit Card Info
	why += checkCCNum('creditcardnum'); 
	why += checkTextField('creditcardholder','Name on the Credit Card','yes');
	why += checkExpDate('creditcardexp_month','creditcardexp_year','Expiration Date');
	why += checkTextArea('notes','Additional Information','no');
	
	return why;
}


	