<!DOCTYPE html><html id="HTML" xmlns="http://www.w3.org/1999/xhtml" lang="en-us">
<head id="PageHead"><title>
	Hurricane Harvey Recovery Fund - UUA - Unitarian Universalist Association of Congregations
</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" /><link rel="stylesheet" href="/stylesheet0.636206472443400000.css?id=0&iuqt=1" type="text/css" />
<link rel="stylesheet" href="/stylesheet63.636324536720130000.css?id=63&nodefaults=1&iuqt=1" type="text/css" />
<link rel="stylesheet" href="/stylesheet56.635313712465470000.css?id=56&nodefaults=1&iuqt=1" type="text/css" />
<link rel="stylesheet" href="/Client/Styles/IE8Menu.css?&iuqt=1" type="text/css" />
<link rel='SHORTCUT ICON' href='view.image?id=1907' type='image/x-icon' /><link rel='ICON' href='view.image?id=1907' type='image/x-icon' /><meta name="HandheldFriendly" content="true">
<meta http-equiv="cleartype" content="on">
<meta name="MobileOptimized" content="width">
<meta name="viewport" content="width=device-width, initial-scale=1"><base id="baseId" target="_self"></base><meta name="description" content="Donate to help TX and LA UUs after Hurricane Harvey" /><meta name="keywords" content="UUA,Unitarian,Universalist,flood" /><meta name="last-modified" content="9/21/2017 1:25:37 PM" /></head>
<body id="BodyId" style="margin: 0px; padding: 0px; border: 0px">
    <form method="post" action="/harvey-floods" id="form1">
<input type="hidden" name="ScriptManager1_HiddenField" id="ScriptManager1_HiddenField" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTExMjQ2NDE3ODAPFgQeCkNTUkZfVE9LRU4FIDY4MmY2NWM0YTExNjQ3YjM4NzFmNTA0OTAyYzczMWM4HgpNb2RhbExldmVsZhYCZg8WAh4EbGFuZwUFZW4tdXMWAgIDD2QWAgIBDxYCHgZhY3Rpb24FDi9oYXJ2ZXktZmxvb2RzFgICBQ9kFgJmDxYCHgdWaXNpYmxlaGRkkDkgErsVIhOq4XCgxVjKOYiifSs=" />


<script src="/Client/Scripts/API/BBAPI-min.js" type="text/javascript"></script>
<script src="/Client/Scripts/Bbnccore-min.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
var LOGGEDIN = "";//]]>
</script>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.3/jquery.min.js" type="text/javascript"></script>
<script src="/Client/Scripts/jquery/jquery-migrate-1.3.0.js" type="text/javascript"></script>
<script src="/Client/Scripts/jqueryui/1.11.3/jquery-ui.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
BLACKBAUD.netcommunity.jQuery.setVersionReference();//]]>
</script>

<script src="/Client/Scripts/jquery/jquery.validate.js" type="text/javascript"></script>
<script src="/Client/Scripts/jquery/additional-methods.js" type="text/javascript"></script>
<script src="/Client/Scripts/jquery/jquery.maskedinput-1.1.4.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
ROOT_PATH = 'https://giving.uua.org/'; BLACKBAUD.api.pageInformation.rootPath = 'https://giving.uua.org/';BLACKBAUD.netcommunity.WebMethodsURL = 'https://giving.uua.org/webservices/webmethods.asmx';BLACKBAUD.netcommunity.images = BLACKBAUD.netcommunity.images || {}; BLACKBAUD.netcommunity.images.imageUrlPrefix = 'https://giving.uua.org/view.image?id=';modallvl = 0; ;var isIE = (window.ActiveXObject || "ActiveXObject" in window);;var DebugMode = false; ;var isAdminPage = false;;BLACKBAUD.netcommunity.bbAppFxRoot = '';;BLACKBAUD.netcommunity.bbAppFxDB = '00243500-f0ec-410d-afdb-aeaaefff03f7';;BLACKBAUD.netcommunity.PageID = 574; BLACKBAUD.api.pageInformation.pageId = 574;;//]]>
</script>

<script src="/ScriptResource.axd?d=zYsi6SphYd5n43Ih8iJfDyKupNFhPKirHORk6pjxJVOUxii2GQ1GDII0chbi91tG6nAD71W81fYyKdxFMNTsawxJJP2iTpIBJ2BLjsYskeWxAj0F0&amp;t=ffffffffec54f2d7" type="text/javascript"></script>
<script src="/Client/Scripts/webkit.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
//]]>
</script>

<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="8CAEDFE0" />
        
        
        <div id="body-wrapper" class="color-green"><a class="element-invisible element-focusable" tabindex="1" href="#main-content">Skip to main content</a>
<div class="l-page"><!-- start optional account / site information section --> <div class="l-account">
<div class="l-region l-region--account-messages">
<div class="anon-menu"><span class="user-link"><a href="http://www.uua.org/">Return to UUA.org</a></span></div>
</div>
</div>
 <!-- end optional account / site information section -->
<div class="l-page-page"><nav class="l-org-logo-nav-search" role="banner">
<div class="l-org-nav-search">
<div class="l-org-engagenav-search">
<div class="l-org-engagenav">
<div class="l-region l-region--org-engagenav">
<h2 class="element-invisible">Site Menu, Logo, and Search</h2>
<div class="panel-pane pane-block pane-menu-menu-engage-nav"></div>
</div>
</div>
</div>
<div class="l-org-logo-sitenav">
<div class="l-org-logo">
<div class="l-region l-region--org-logo">
<div class="panel-pane pane-menu-tree pane-menu-uua-logo">
<div class="menu-block-wrapper menu-block-ctools-menu-uua-logo-1 menu-name-menu-uua-logo parent-mlid-0 menu-level-1"><!-- logo added via text include - javascript part --></div>
</div>
</div>
</div>
<div class="l-org-sitenav mean-container">
<div class="mean-bar"><nav class="navbar mean-nav" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement" role="navigation"><input id="toggle-sitenav" tabindex="1" type="checkbox" /> 
<div id="main-nav-container"> </div>
</nav></div>
</div>
</div>
</div>
</nav>
<div class="l-wrapper">
<div class="l-region l-region--wrapper">
<div class="panel-pane pane-page-content">
<div class="l-main">
<div class="l-content">
<h2 class="element-invisible">You Are Here</h2>
<ul class="breadcrumb">
<li><a href="http://www.uua.org">Home</a></li>
<li>Donate</li>
</ul>
<main><a name="main"></a> <h2 style="text-align: center;">Hurricane Harvey Recovery Fund</h2>
<p><em style="color: #333399; font-size: 12pt;"><span style="font-family: arial, helvetica, sans-serif;">We are deeply grateful to the 2,000+ individual donors, as well as more than 75 UU congregations who have collectively contributed in excess of $350,000 to the Hurricane Harvey Recovery Fund. Our friends and neighbors in Florida and the Caribbean have experienced similar devastation following Hurricane Irma and need as much, or even greater, assistance.&#160;</span></em><strong style="font-size: 12pt;"><em><span style="font-family: arial, helvetica, sans-serif;">We invite you to contribute to the&#160;</span></em><em><span style="font-family: arial, helvetica, sans-serif;"><a href="https://giving.uua.org/disaster-aid">Hurricane Irma Recovery Fund</a>.</span></em></strong></p>
<p style="text-align: center;"><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">* * * * *</span></p>
<p style="text-align: left;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">The Unitarian Universalist Association (UUA) has joined with the Unitarian Universalist Service Committee (UUSC) to establish the <strong>Hurricane Harvey Recovery Fund</strong>.</span></p>
<p style="text-align: left;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Half of all funds raised will go to at-risk populations served by UUSC partners and the other half of the funds will support Unitarian Universalist congregations and members of those congregations most affected by the storm. UUA staff are working closely with leaders in the Association's Southern Region to learn where the need is greatest and distribute funds efficiently.</span></p>
<p style="text-align: left;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">UUSC is supporting long-time partner RAICES (Refugee and Immigrant Center for Education and Legal Services), a Texas-based organization that provides direct legal services and education on the rights of immigrants. In the aftermath of Harvey, it is crucial that immigrant communities—documented and undocumented—know their rights and have access to legal services.</span></p>



</main></div>
<!-- /.l-content -->
<div class="l-sidebar">
<aside class="l-region l-region--sidebar">
<div class="sidebar-item">
<div class="sidebar-item-picture"><p><img alt="holding hands image" src="https://giving.uua.org/image/uua-banner--sidebar-images/sidebar-images/Hand-holding.jpg" width="200" /></p>
</div>
<p class="caret"> </p>
<div class="sidebar-item-summary"><h3 class="sidebar-item-title">Other Ways to Give</h3>
<ul>
<li><span style="text-decoration: underline;"><a href="http://www.uua.org/giving/funds/21882.shtml">Donate By Mail</a></span><br /> <em>Unitarian Universalist Assn.<br />Attn: Gift Processing<br />24 Farnsworth Street<br /></em><em>Boston, MA 02210-1409</em><span style="font-size: 10pt; font-style: italic;"><br /></span></li>
<li><span style="text-decoration: underline;"><a href="http://www.uua.org/giving/funds/21882.shtml">Donate by Phone</a></span><br /> <span style="font-size: 10pt; font-style: italic;">(888)792-5885</span></li>
<li><span style="text-decoration: underline;"><a href="http://www.uua.org/giving/make-gift/giftsstock">Make a Stock Gift</a></span></li>
</ul>
</div>
</div>
</aside>
</div>
<!-- /.l-sidebar --></div>
<!-- /.l-main --></div>
<!-- /.panel-pane pane-page-content --></div>
<!-- /.l-region l-regio-wrapper --></div>
<!-- /.l-wrapper --><footer class="l-footer" role="contentinfo">
<div class="l-footnav">
<div class="l-footnav-logo">
<div class="l-region l-region--footnav-logo">
<h2 class="element-invisible">Site Footer</h2>
<div class="contextual-links-region panel-pane pane-menu-tree pane-menu-uua-chalice-symbol-footer">
<div class="menu-block-wrapper menu-block-ctools-menu-uua-chalice-symbol-footer-1 menu-name-menu-uua-chalice-symbol-footer parent-mlid-0 menu-level-1"><!-- start latest menu at //www.uua.org/sites/live-new.uua.org/files/includes/menu-uua-chalice-symbol-footer.txt -->
<ul class="menu">
<li class="first last leaf"><a title="UUA.org Home Page" href="//www.uua.org"><img alt="" src="https://giving.uua.org/image/uua-framework---2015/symbol_gradient.png" /><span class="element-invisible">Chalice Logo</span></a></li>
</ul>
<!-- end latest menu at //www.uua.org/sites/live-new.uua.org/files/includes/menu-uua-chalice-symbol-footer.txt --></div>
</div>
</div>
</div>
<div class="l-footnav-nav">
<div class="l-region l-region--footnav-uuism">
<div class="panel-pane pane-menu-tree pane-menu-uuism-nav">
<div class="menu-block-wrapper menu-block-ctools-menu-uuism-nav-1 menu-name-menu-uuism-nav parent-mlid-0 menu-level-1"></div>
</div>
</div>
<div class="l-region l-region--footnav-utility">
<div class="panel-pane pane-menu-tree pane-menu-uua-utility-nav">
<div class="menu-block-wrapper menu-block-ctools-menu-uua-utility-nav-1 menu-name-menu-uua-utility-nav parent-mlid-0 menu-level-1"></div>
</div>
</div>
<div class="l-region l-region--footnav-site">
<div class="panel-pane pane-menu-tree pane-menu-partner-sites">
<div class="menu-block-wrapper menu-block-ctools-menu-partner-sites-1 menu-name-menu-partner-sites parent-mlid-0 menu-level-1"></div>
</div>
</div>
<div class="l-region l-region--footnav-copyright">
<div class="menu-social-icons"></div>
<div class="panel-pane pane-panels-mini pane-uua-footer-address-copyright">
<div class="panel-pane pane-custom pane-8">
<div class="fine-print"></div>
</div>
</div>
</div>
</div>
<!-- /.l-footnav-nav --></div>
<!-- /.l-footnav --></footer></div>
<!-- /.l-page-page --></div>
<!-- /.l-page -->
<div class="stripe"> </div>
</div>
<!-- /.body-wrapper -->
<p>











</p>
        
    <input type="hidden" name="hidBrowserDateTime" id="hidBrowserDateTime" /> <script type="text/javascript">
    BLACKBAUD.netcommunity.api.DonationConfirmation.add(function (data) {
        if (data.TransTotal) {
            ga('ecommerce:addTransaction', {
                'id': data.TransID,
                'affiliation': '',
                'revenue': data.TransTotal,
                'shipping': '',
                'tax': ''
            });
            for (var i = 0; i < data.Items.length; i++) {
                ga('ecommerce:addItem', {
                    'id': data.Items[i].ID,
                    'name': data.Items[i].Name,
                    'sku': data.Items[i].SKU,
                    'category': data.Items[i].Name,
                    'price': data.Items[i].Price,
                    'quantity': data.Items[i].Quantity
                });
            }
            ga('ecommerce:send');
            ga('ecommerce:clear');
        }
    });
</script> <style>
div[id*="_Recurrence_divFrequency"] { position:absolute; left: -9999em; }
select[id*="_Recurrence_ddlFrequency"] { margin-top: -1em; }
</style> <script type="text/javascript">
var defaultRdoGiftType;
if (typeof makeRecurringMethod !== 'undefined' && makeRecurringMethod === true) {
	defaultRdoGiftType = 'Recurring'; 
} else defaultRdoGiftType = 'OneTime';

jQuery(document).ready(function($){
	/* have to add the mobile menu toggle via javascript, as BBNC rewrites it, making it useless */
	$('input#toggle-sitenav').after('<label class="toggle menu-reveal" onclick="" for="toggle-sitenav" title="Open/Close"><span></span><span></span><span></span> <div class="menu-reveal-text" title="Open/Close">Menu</div></label>');
	
  /* load in navigation includes */
	var dateObj = new Date();
	var month = dateObj.getUTCMonth() + 1; //months from 1-12
	var day = dateObj.getUTCDate();
	var year = dateObj.getUTCFullYear();
  var dailyCacheReset = year + month + day;
  // header - logo
  $('.menu-block-ctools-menu-uua-logo-1').load('https://www.uua.org/sites/live-new.uua.org/files/includes/menu-uua-logo.txt?cachreset='+dailyCacheReset);
  // header - main menu
  $('#main-nav-container').load('https://www.uua.org/sites/live-new.uua.org/files/includes/menu-uua-site-nav.txt?cachreset='+dailyCacheReset, function(){ $('ul.menu').unwrap(); });
  // header - engage menu
  $('.pane-menu-menu-engage-nav').load('https://www.uua.org/sites/live-new.uua.org/files/includes/menu-engage-nav.txt?cachreset='+dailyCacheReset);
  // footer - left menu
  $('.menu-block-ctools-menu-uuism-nav-1').load('https://dl.dropboxusercontent.com/u/2890872/menu-engage-nav.txt?cachreset='+dailyCacheReset);
  // footer - center menu
  $('.menu-block-ctools-menu-uua-utility-nav-1').load('https://www.uua.org/sites/live-new.uua.org/files/includes/menu-uua-utility-nav.txt?cachreset='+dailyCacheReset);
  // footer - right menu
  $('.menu-block-ctools-menu-partner-sites-1').load('https://www.uua.org/sites/live-new.uua.org/files/includes/menu-partner-sites.txt?cachreset='+dailyCacheReset);
  // footer - social icons
  $('.menu-social-icons').load('https://www.uua.org/sites/live-new.uua.org/files/includes/menu-social-icons.txt?cachreset='+dailyCacheReset);
  // footer - contact and copyright
  $('.pane-uua-footer-address-copyright .pane-8').load('https://www.uua.org/sites/live-new.uua.org/files/includes/footer-copyright.txt?cachreset='+dailyCacheReset);
  // footer - chalice symbol
  $('.menu-block-ctools-menu-uua-chalice-symbol-footer-1').load('https://www.uua.org/sites/live-new.uua.org/files/includes/menu-uua-chalice-symbol-footer.txt?cachreset='+dailyCacheReset);

  
  /* Toggle the main menu on smaller screens */
  $('.menu-toggle').on('click',function() { $('.mean-nav').toggleClass('open'); });
  /* Set default giving type */
  if(defaultRdoGiftType === 'Recurring') {
  	$('input[value="'+defaultRdoGiftType+'"]').trigger('click'); 
  }
  /* form adjustments */
  // Check Direct Debit option by default
  //$('input[id*="rdoPaymentOption_1"]').prop('checked', true);
  $('input[id*="rdoPaymentOption_1"]').trigger('click');
	
	/* Hide Tribute Fields if Tribute isn't selected */	
	// Postback support
	var tributeHidden = true;
	var prm = Sys.WebForms.PageRequestManager.getInstance();
	
	prm.add_endRequest(EndRequest);
	function EndRequest(sender, args) {
		formEdits();
	}	
	
	// fire on load
	formEdits();
  function formEdits() {
	  if($('tr[id*="_trTributeName"]').length) {
			$('tbody[id*="_DonationCapture1_tbdyPaymentInfo"]').append('<tr><td style="padding-top:1em;" colspan="3"><div style="border-top:1px solid #CCC;padding-top:1em;"><input type="checkbox" id="tributeToggle" name="tributeToggle" /><label>I would like to make this gift in honor or memory of someone</label></div></td></tr>');
		  if(tributeHidden) {
		  	$('tr[id*="_trTributeName"]').closest('tbody').children().not(':last-child, tr[id*="_trTributeFirstName"], tr[id*="_trTributeLastName"]').hide();
		  } else {
			  $('#tributeToggle').prop('checked', true);
			}
		}
		// HIDE BRANCH NAME FIELD
		$('input[id*="_DonationCapture1_txtBranchName"]').closest('tr').hide();
		// SKIP TABIDEX ON RECURRANCE FIELD
		$('input[id$="_Recurrence_DatePickerStart"]').attr('tabindex',-1);
	}
	$(document).on('change', '#tributeToggle', function(){
		if($('#tributeToggle').prop('checked') === true) {
	  	$('tr[id*="_trTributeName"]').closest('tbody').children().not(':last-child, tr[id*="_trTributeFirstName"], tr[id*="_trTributeLastName"]').fadeIn();
			tributeHidden = false;
		} else {
			$('tr[id*="_trTributeName"]').closest('tbody').children().not(':last-child, tr[id*="_trTributeFirstName"], tr[id*="_trTributeLastName"]').fadeOut();
			$('input[id*="_txtTribute"],input[id*="_txtTributeDescription"]').val('');
			$('select[id*="_ddlTribute"] option[value="0"]').prop('selected','selected');
			$('input[id*="_chkAcknowledge"]').prop('checked',false);
			tributeHidden = true;
		}
	});
});
</script> <script type="text/javascript">
/* NONPROFIT GARDEN CUSTOM SCRIPT TO REPLACE 
 * RADIO BUTTON GIVING LEVELS WITH BUTTONS AND VALUE STATEMENTS
 * modified 12/16/2016 by Kerri McHale
 * 
 * REQUIREMENTS:
 * - "Other" giving amount must be enabled
 * - By default, to add "Value Statements" enter them into the 
 *   Donation Part's "Display name" for that dollar amount.
 * - If value statements need to be more than 25 characters, 
 *   edit the variables below
 * - If recurring amounts need to be different than one-time
 *   amounts, edit the variables below
 */

/* ==================================================================
 * ===============  EDIT THESE VARIABLES IF REQUIRED  =============== 
   ================================================================== */
   
// set the default donation level based on the custom button's ID (#level_amount)
var defaultLevelSelection = '#level_50';  

// set this to true to set the custom impact statements here instead of in the Donate Part UI
var useCustomMessages = false;

// set this to true if the recurring amounts are different than then one-time amounts
var useCustomRecurringAmounts = false; 

// Define custom amounts and impact here for ONE-TIME levels (if line 24 = true)
// 'custom button id' : 'custom impact statement'
if ( useCustomMessages ) {
	var customMessages = {
		'level_25'	:'$25 dollars will do this much for this cause',
		'level_50'	:'$50 dollars will do this much for this cause',
		'level_100'	:'$100 dollars will do this much for this cause',
		'level_500'	:'$500 dollars will do this much for this cause',
		'level_1000':'$1,000 dollars will do this much for this cause',
	}
}

// Define custom RECURRING amounts AND their impacts statements here (if line 27 = true)
// 'dollar level (whole numbers, no decimal)' : 'impact statement'
if ( useCustomRecurringAmounts ) {
	var customRecurringAmounts = {
		'10':'',
		'12':'',
		'15':'',
		'20':'',
		'25':'',
	}
}
// set the default recurring level by ID (include hash character)
var recurringLevelSelection = '#recurring_level_10';  


/* ==================================================================
 * ===========  NO NEED TO EDIT ANYTHING BELOW THIS LINE  =========== 
   ================================================================== */
var levelSelection; 
var giftType;
var customAmount = false;

/* !!!!!!!!!!!UUA ONLY -- NOT NEEDED FOR OTHER CLIENTS!!!!!!!!!!!! -- */
//var defaultChargeType = $('input[name*="$rdoPaymentOption"]:checked').attr('id');
//console.log('Initial Charging: '+defaultChargeType);
/* /UUA ONLY -- NOT NEEDED FOR OTHER CLIENTS -- */


jQuery(document).ready(function($){	
  /* 
   * Prevent user from pressing enter to reload page in BBNC 7 
   */
  $(document).on('keypress', ':input:not([type=submit])', function (e) {
    if (e.keyCode == 13) {
      e.preventDefault();
      return false;
    }
  });
	
	
	/* Handle all the function triggers first,
	 * including getting the cusomization to refire on postback 
	 */
	// Postback support
	var prm1 = Sys.WebForms.PageRequestManager.getInstance();
	prm1.add_endRequest(EndRequest);
	function EndRequest(sender, args) {
		formatDonation(true);
	}
	// fire on load
	formatDonation();
	
	/* *
		 * THE FUNCTION THAT HANDLES ALL OF THE CUSTOMIZATION 
		 */
	function formatDonation(postbackStatus) {	
		//get the ID# of the form
		var formID = $('div[id*="_UpdatePanel"]').attr('id');
		var pcSplit = formID.split('_');
		var pcID = '#'+pcSplit[0];
		var donLevelSet = $('table[id*="_tblAmount"] > tbody > tr');
		var display = 'block';
				
		if ( customRecurringAmounts ) {
			giftType = $('table[id*="_rdoGiftType"] input:checked').val();
			if( giftType === 'Recurring') {	display = 'none';	}
		}
		if(!postbackStatus) {
			levelSelection = defaultLevelSelection;
		}
		if (customRecurringAmounts && (giftType === 'Recurring') && (levelSelection.search('recurring') === -1)) {
			levelSelection = recurringLevelSelection;
		}		
		
		// hide the real donation level inputs
		donLevelSet.hide();
		
		// but keep the "Other" input visible
		$('tr[id*="_trOther"]').show();
		$('tr[id*="_trOther"] td[id*="tdOther"], tr[id*="_trOther"] label').hide();
		$('label[id*="_lblAmountCaption"]').css('line-height', '3.5em');
		
		// start building the custom html
		var html = '<tr id="customdonation"><td colspan="2"><div id="donationselection">';
		html += '<p id="donationMessage" style="display:none;"></p><div>';

		// check the real form's other input
		$('input[id*="_rdoOther"]').prop('checked', true).click();

		// remove the other inputs "disabled" attibute
		$('input[id*="_txtAmount"]').attr('disabled', false);
		
		/*
		 * START BUILDING THE HTML ELEMENTS
		 */
		// This Builds the default set based on Donate form Values
		donLevelSet.each(function() {
			// skip the "Other" textbox
			if( $(this).find('input[type="text"]').length) { return; }

			var amount = $(this).find('td:first-child span').attr('amount');
			
			// prep the amount string to turn into an id and display amount 
			var res = amount.split('.'); 
			
			// create the unique id			
			var donId = 'level_'+res[0];		
			var displayAmount = '$'+res[0];
			
			// create the impact statement			
			if(customMessages) {
				text = customMessages[donId];
			}
			else {
				labelText = $(this).find('td label').text();
				if($.trim(labelText) != '') {
					var text = encodeURI(labelText);
				} else { text = ''; }
			}
			
			//build the html buttons
			html += '<a style="display:'+display+';" class="custom-button onetime" id="'+donId+'" data-amount="'+amount+'" data-text="'+text+'" href="javascript:void(0);">'+displayAmount+'</a>';
		});
		
		//build custom recurring buttons if enabled
		if ( customRecurringAmounts ) {
			display = 'block';
			if( giftType === 'OneTime') {
				display = 'none';
			}
			$.each(customRecurringAmounts, function(key, value) {
				donId = 'recurring_level_'+ key;
				amountString = parseFloat(key);
				amount = (amountString).toFixed(2)
				text = value;
				displayAmount = '$'+key;
				
				html += '<a style="display:'+display+';" class="custom-button recurring" style="display:none;" id="'+donId+'" data-amount="'+amount+'" data-text="'+text+'" href="javascript:void(0);">'+displayAmount+'</a>';
			});
		}
		html += '<a class="custom-button" id="other" href="javascript:void(0);">Other</a>';
		html += '</div></div><div id="requiredfields"><p><span>*</span> All fields required</p></div></td></tr>';

		// add the new button html string
		$('tbody[id*="_TB_pnlDonation"]').prepend(html); 
		
		// move the gift type selection to the top and give it a special class
		$('tr[id*="_trGiftType"]').insertBefore( $('#customdonation') ).addClass('donation-type-radios');

		/*
		 * END BUILDING THE HTML ELEMENTS
		 */
		// add class to the selected level
		if(customAmount) {
			$('a#other').addClass('selected')
		} else {
			$(levelSelection).addClass('selected');
		}
		
		// enter the default value in the amount box
		if(customAmount) {
			$( 'input[id*="_txtAmount"]' ).val(customAmount).keyup();
		} else {
			var defaultAmount = $(levelSelection).attr('data-amount');
			$('input[id*="_txtAmount"]').val(defaultAmount).keyup();
		}
		
		// add the default message, if there is one
		defaultMessage = false;
		var defaultMessage = $(levelSelection).attr('data-text');
		if(defaultMessage && !customAmount) {
			$('#donationMessage').slideDown(function() {
				$(this).text(decodeURI(defaultMessage));
			});
		}
				
		/* 
		 * DONATION BUTTON CLICK ACTIONS (ALL BUT 'OTHER' BUTTON) 
		 */
		$('#donationselection').on('click','a:not(#other)',function() {
			customAmount = false;
			levelSelection = '#' + $(this).attr('id');
			var donationMessage = $(this).attr('data-text');
			
			var inputAmount = $(this).attr('data-amount');
	
			// set the selected button class
			$('#donationselection a').removeClass('selected');
			$('#donationselection '+levelSelection).addClass('selected');
	
			// display the value text
			if(donationMessage) {
				$('#donationMessage').text(decodeURI(donationMessage));
				$('#donationMessage').slideDown('fast');
			} else $('#donationMessage').slideUp('fast',function() {
				$(this).text('');
			});
			// populate the input amount
			$( 'input[id*="_txtAmount"]' ).val(inputAmount).keyup();
		});
		
		/* 
		 * HANDLE 'OTHER' BUTTON 
		 */
		$( ".custom-button#other" ).click(function() {
			donationMessage = false;
			$('#donationselection a').removeClass('selected');
		  $(this).addClass( "selected" );
		  customAmount = $('input[id*="_txtAmount"]').val();
	
			// update the value message to none and scroll to the amount field
		  $( "#donationMessage" ).slideUp('fast',function(){
			  $(this).text(donationMessage);
				// set the selected button class
				$('html, body').animate({
		        scrollTop: $('input[id*="_txtAmount"]').offset().top -50
		    }, 400, 'linear', function() {
			    	$('input[id*="_txtAmount"]').val(customAmount).focus().keyup();
			  });
		  });
		});
		
		/* 
		* HANDLE 'OTHER' Input 
		*/
		$('input[id*="_txtAmount"]').change(function() {
			var levelMatch = false;
			var customAmountRaw = parseFloat($(this).val());
			customAmount =  customAmountRaw.toFixed(2);
			if($('.custom-button[data-amount="'+customAmount+'"]').length) {
				//If the amount is an existing button amount:
				$('.custom-button[data-amount="'+customAmount+'"]').click();
			} else {
				//If the amount is NOT an existing button amount
				$('.custom-button#other').click();
			}
		});

		/* 
		 * RESET THE DONATION LEVEL IF THE DONATION TYPE IS CHANGED 
		*/
		$('table[id*="_rdoGiftType"]').on('change','input',function() {
			levelSelection = defaultLevelSelection;
			customAmount = false;
			giftType = false;
		});


		/* !!!!!!!!!!!UUA ONLY -- NOT NEEDED FOR OTHER CLIENTS!!!!!!!!!!!! -- */
		//$('input#'+defaultChargeType).attr('checked', 'checked');
		//console.log('Final Charging: '+defaultChargeType);
		/* /UUA ONLY -- NOT NEEDED FOR OTHER CLIENTS -- */

	} 
});
 
</script>

<script type="text/javascript">
//<![CDATA[
var BBNCAnalyticsURL = BuildBBNCAnalyticsURL('https://giving.uua.org/harvey-floods', 'pagename;pid', 'Hurricane+Harvey+Recovery+Fund+-+UUA+Donation+Page;574');//]]>
</script>
<script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    
    ga('create', 'UA-815740-45', 'auto');
    ga('send', 'pageview', BBNCAnalyticsURL);
    ga('require', 'ecommerce');
</script></form>
</body>
</html>
