<!--
function fValidateDonation(frm){
	var theForm = eval("document." + frm);
	var aForm = new Array();
	var aMsg;
	aForm[0] = new Array(5);
	aForm[0][0] = "txtFirstName";
	aForm[0][1] = "t";
	aForm[0][2] = [1,11];
	aForm[0][3] = "First Name";
	aForm[0][4] = 100;
	aForm[1] = new Array(5);
	aForm[1][0] = "txtLastName";
	aForm[1][1] = "t";
	aForm[1][2] = [1,11];
	aForm[1][3] = "Last Name";
	aForm[1][4] = 100;
	aForm[2] = new Array(5);
	aForm[2][0] = "txtEmail";
	aForm[2][1] = "t";
	aForm[2][2] = [9,11];
	aForm[2][3] = "Email Address";
	aForm[2][4] = 200;
	aForm[3] = new Array(5);
	aForm[3][0] = "txtAmount";
	aForm[3][1] = "t";
	aForm[3][2] = [4];
	aForm[3][3] = "Donation Amount";
	aForm[3][4] = 0;
	
	aMsg = fChkFrm(frm, aForm);
	
	if(aMsg[1].length > 0){
		alert(aMsg[1]);
		return false;
	}
	else{
		return true;
	}
}

function fValidateBilling(frm){
	var theForm = eval("document." + frm);
	var aForm = new Array();
	var aMsg;
	aForm[0] = new Array(5);
	aForm[0][0] = "txtCC";
	aForm[0][1] = "t";
	aForm[0][2] = [1];
	aForm[0][3] = "Credit Card Number";
	aForm[0][4] = 0;
	aForm[1] = new Array(5);
	aForm[1][0] = "txtCVVCode";
	aForm[1][1] = "t";
	aForm[1][2] = [1];
	aForm[1][3] = "Credit Card Validation Code";
	aForm[1][4] = 0;
	aForm[2] = new Array(5);
	aForm[2][0] = "txtBillingAddress";
	aForm[2][1] = "t";
	aForm[2][2] = [1,11];
	aForm[2][3] = "Billing Address";
	aForm[2][4] = 200;
	aForm[3] = new Array(5);
	aForm[3][0] = "txtBillingCity";
	aForm[3][1] = "t";
	aForm[3][2] = [1,11];
	aForm[3][3] = "Billing City";
	aForm[3][4] = 200;
	aForm[4] = new Array(5);
	aForm[4][0] = "txtBillingZip";
	aForm[4][1] = "t";
	aForm[4][2] = [1,11];
	aForm[4][3] = "Billing Zip Code";
	aForm[4][4] = 50;
	aForm[5] = new Array(5);
	aForm[5][0] = "txtBillingCountry";
	aForm[5][1] = "t";
	aForm[5][2] = [1,11];
	aForm[5][3] = "Billing Country";
	aForm[5][4] = 200;
	
	aMsg = fChkFrm(frm, aForm);
	
	if(aMsg[1].length > 0){
		alert(aMsg[1]);
		return false;
	}
	else{
		return true;
	}
}

function fValidateRegInfo(frm){
	var theForm = eval("document." + frm);
	var aForm = new Array();
	var aMsg;
	aForm[0] = new Array(5);
	aForm[0][0] = "txtFirstName";
	aForm[0][1] = "t";
	aForm[0][2] = [1,11];
	aForm[0][3] = "First Name";
	aForm[0][4] = 100;
	aForm[1] = new Array(5);
	aForm[1][0] = "txtLastName";
	aForm[1][1] = "t";
	aForm[1][2] = [1,11];
	aForm[1][3] = "Last Name";
	aForm[1][4] = 100;
	aForm[2] = new Array(5);
	aForm[2][0] = "txtEmail";
	aForm[2][1] = "t";
	aForm[2][2] = [9,11];
	aForm[2][3] = "Email Address";
	aForm[2][4] = 200;
	aForm[3] = new Array(5);
	aForm[3][0] = "txtAddress";
	aForm[3][1] = "t";
	aForm[3][2] = [1,11];
	aForm[3][3] = "Address";
	aForm[3][4] = 200;
	aForm[4] = new Array(5);
	aForm[4][0] = "txtCity";
	aForm[4][1] = "t";
	aForm[4][2] = [1,11];
	aForm[4][3] = "City";
	aForm[4][4] = 200;
	aForm[5] = new Array(5);
	aForm[5][0] = "txtZip";
	aForm[5][1] = "t";
	aForm[5][2] = [1,11];
	aForm[5][3] = "Zip Code";
	aForm[5][4] = 50;
	
	aMsg = fChkFrm(frm, aForm);
	
	if(aMsg[1].length > 0){
		alert(aMsg[1]);
		return false;
	}
	else{
		return true;
	}
}
//-->
