<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en" />

<meta property="og:image" content="https://w2.chabad.org/media/images/1165/LvCl11658276.png" itemprop="image" width="150" height="150" />
<meta property="og:image:width" content="150" />
<meta property="og:image:height" content="150" />
<meta name="keywords" content="Contact,Us" />
<meta name="title" content="Contact Us - Center for Jewish Life Arlington - Belmont" />
<meta property="og:type" content="website" />
<meta name="scope-aids" content="2544206-2544214-2544215-6362210-6362243-6362244" />
<meta name="article-keywords" content="19478-19479-19958-20962-2185-8495-8972-18927-19353-19480-2170-2898" />
<meta name="scope-aid" content="2544206" />
<meta name="scope-aid" content="2544214" />
<meta name="scope-aid" content="2544215" />
<meta name="scope-aid" content="6362210" />
<meta name="scope-aid" content="6362243" />
<meta name="scope-aid" content="6362244" />
<meta name="article-keyword" content="19478" />
<meta name="article-keyword" content="19479" />
<meta name="article-keyword" content="19958" />
<meta name="article-keyword" content="20962" />
<meta name="article-keyword" content="2185" />
<meta name="article-keyword" content="8495" />
<meta name="article-keyword" content="8972" />
<meta name="article-keyword" content="18927" />
<meta name="article-keyword" content="19353" />
<meta name="article-keyword" content="19480" />
<meta name="article-keyword" content="2170" />
<meta name="article-keyword" content="2898" />
<meta property="og:url" content="https://www.jewisharlingtonbelmont.com/templates/articlecco_cdo/aid/6362244/jewish/Contact-Us.htm" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:site" content="@chabad" />
<meta property="og:title" content="Contact Us - Center for Jewish Life Arlington - Belmont" /><link rel="canonical" href="https://www.jewisharlingtonbelmont.com/templates/articlecco_cdo/aid/6362244/jewish/Contact-Us.htm" />
<link rel="icon" type="image/png" href="https://www.jewisharlingtonbelmont.com/media/images/1165/LvCl11658276.png" />
<link rel="Stylesheet" href="/css/fonts/font-awesome/font-awesome-5.css" id="kfont-awesome" type="text/css"/>
<link rel="Stylesheet" href="/css/DefaultGrid.css" id="kgrid" type="text/css"/>
<link rel="Stylesheet" href="/css/Elements.css" id="k6" type="text/css"/>
<link rel="Stylesheet" href="/css/vendor/ds/tokens/sites.css" id="ksites-ds-css" type="text/css"/>
<link rel="Stylesheet" href="/css/new/main.css" id="k7" type="text/css"/>
<link rel="Stylesheet" href="/css/old/global.css" id="k2898" type="text/css"/>
<link rel="Stylesheet" href="/css/cco/minisites/themes/plannedgiving/styles.css" id="k19353" type="text/css"/>
<link rel="Stylesheet" href="https://w2.chabad.org/css/cco/minisites/global.css" id="k20962" type="text/css"/>
<link rel="Stylesheet" href="/css/bootstrap/grid.css" id="kbootstrap4-grid" type="text/css"/>
<link rel="Stylesheet" href="/css/Library/reader-comments.css" id="kCommentsStylesheet" type="text/css"/>
<link rel="Stylesheet" href="/css/inline/BookInfo.css" id="kBookInfoCss" type="text/css"/>

<script>$q=[];$j=function(f){$q.push(f);}</script>
	
 
	
	<style type="text/css">
		body{margin:0;}
	</style>
	
	



<script>
	window.dataLayer = window.dataLayer || [];
	dataLayer.push({"event":"datalayer-initialized","page":{"numberOfComments":0,"publicationDate":"2024-03-13","primaryArticleId":6362244,"title":"","author":"","authorId":0,"contentLevel1":"My Site","contentLevel2":"Welcome","contentLevel3":"Planned Giving","contentLevel4":"Contact","contentLevel5":"Contact Us","siteName":"Center for Jewish Life Arlington - Belmont"},"time":{"upcomingHoliday":"The Three Weeks","daysToUpcomingHoliday":2,"hebrewDate":"5786-04-15"}});
		dataLayer.push({ 'articleHierarchy': '-2544206-2544214-2544215-6362210-6362243-6362244-', 'keywords': '-k2898-k2170-k19480-k19353-k18927-k8972-k8495-k2185-k20962-k19958-k19479-k19478-', 'k': '-2544206-2544214-2544215-6362210-6362243-6362244--k2898-k2170-k19480-k19353-k18927-k8972-k8495-k2185-k20962-k19958-k19479-k19478-' });
	
</script>
<script>

(function(c,h,a,b,a,d){c[a]=c[a]||[];c[a].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=h.getElementsByTagName(b)[0],
j=h.createElement(b);j.async=true;
j.src='https://w6.chabad.org/mitzvah-tank.js';f.parentNode.insertBefore(j,f);
})(window,document,0,'script','dataLayer');</script>

	<!-- Start of StatCounter Code -->
	<script type="text/javascript">
	var sc_project = 9806412;var sc_partition = 81;var sc_invisible = 1;var sc_remove_link=1;var sc_security = "2a6bab03";var sc_https = 1;
	</script>
	<script type="text/javascript" src="https://secure.statcounter.com/counter/counter_xhtml.js" defer async></script>
	<noscript><img src="//c82.statcounter.com/counter.php?sc_project=9806412&amp;java=0&amp;security=2a6bab03&amp;invisible=1" border="0" /> </noscript>
	<!-- End of StatCounter Code -->


<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Anek+Devanagari:wght@100..800&family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Cal+Sans&family=Caprasimo&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Londrina+Solid:wght@100;300;400;900&display=swap" rel="stylesheet">

<link rel="icon" href="https://w2.chabad.org/media/images/1165/LvCl11658276.png" />
<link rel="Stylesheet" href="https://webmk.co/sites/jewish-arlington-belmont/campaign-2021-style.css" id="kCampaignCssUrl" type="text/css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@600&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<link href='https://webmk.co/sites/general/cdo-normalize.css' rel='stylesheet' type='text/css'>

<link href='https://webmk.co/sites/jewish-arlington-belmont/main-style.css' rel='stylesheet' type='text/css'>
<link href='https://webmk.co/sites/jewish-arlington-belmont/palette.css' rel='stylesheet' type='text/css'>

















<script>
window.onload = () => {
  const el = document.querySelector("body > div.fs-root.fs-bonus > div > div.fs-campaign-info > div.container-fluid.fs-matchers > div > h3 > span:nth-child(3)") || {};
  el.innerHTML = "Let's reach even higher! Thanks to a commitment from a generous matcher, we have activated a bonus round. Every donation beyond our original goal will now be Doubled – up to $360,000!";
}
</script><script src="https://assets.webmk.co/jewish-arlington-belmont/cjl-script.js"></script><script>
if ( document.location.href.indexOf('6828103') > -1) {
const style = document.createElement('style');
style.innerHTML = `
.cco_templateless_page #chabad_main_content{
background:url('https://w2.chabad.org/media/images/1364/uuRU13645701.png') !important;
background-size:cover !important;
background-position:bottom !important;
}
.chabad_header{
background:url('https://jewisharlingtonbelmont.com/media/images/1364/HVdJ13647092.png');
background-size:100% 100%;
background-repeat:no-repeat;
background-color:#013131;
}
.cco_templateless_page .chabad_header, .chabad_header{
background-blend-mode: normal !important;
}
.chabad_header div{
visibility:hidden;
}
div.chabad_left_column{
background:transparent;
}
.large_banner, .sPromo-wrap{
border:2px solid #013131;
}
.large_banner .bannerCta button{
background:#013131;
border:3px solid #013131;
}
.large_banner .big{
color:#013131;
font-weight:bold;
}
.large_banner .wrapper-message{
margin-block:1.5em !important;
}
.sPromo-wrap .caption{
color:black !important;
}
.sPromo-wrap img{
border:0px !important;
}
.custom_message .message{
color:black !important;
}
.custom_message .title{
color:#013131 !important;
}
.custom_message .read-more_link a{
color:#013131 !important;
border:3px solid #013131 !important;
}
.custom_message .read-more_link a:hover{
background:#013131 !important;
color:white !important;
}
.prepResource-title, .co_calendar_head div, .features_title{
font-size:25pt !important;
color:#013131 !important;
}
.prep-title, .feature_caption a{
color:#013131 !important;
}
.zmanim .zman-1, .zmanim .zman-2{
border-radius:10px !important;
background:#013131 !important;
margin:5px 0px !important;
}
#co_calendar div.co_calendar_body .item.item.first, #co_calendar div.co_calendar_body .item:nth-child(3), #co_calendar div.co_calendar_body .item:nth-child(6), #co_calendar div.co_calendar_body .item:nth-child(8){
background:#013131;
}
#co_calendar div.co_calendar_body .item:nth-child(2), #co_calendar div.co_calendar_body .item:nth-child(4), #co_calendar div.co_calendar_body .item:nth-child(5), #co_calendar div.co_calendar_body .item:nth-child(7){
background:#013131;
}
.footer, .footer a{
background#013131;
color:white !important
}
.cco_templateless_template a, .div#chabad_head .chabad_navigator_bar, #menu .item, #navigation, #menu a{
background:#013131 !important;
}
#menu a{
color:white !important;
border:0px !important;
}
.selected a{
text-decoration:underline !important;
}
#menu .item{
color:transparent !important;
}
.titleIcon img{
width:125px !important;
}
.co_calendar_head:before, .pesach-resources .titleIcon{
display:none !important;
}
div#chabad_body_content{
background:transparent !important;
}
@media all and (max-width:500px){
.chabad_header{
height:200px !important;
}
.headerTitle{
display:none;
}
.body.section_root .bh{
right: 25px !important;
color: white !important;
}
}
.co_calendar_text{
background-color:transparent !important;
}
.titleIcon img, .large_banner .textWrapper{
display:none !important;
}
`;
document.head.appendChild(style);
}</script><script>
if ( document.location.href.indexOf('6828103') > -1) {
const style = document.createElement('style');
style.innerHTML = `
.content-area-parent > .c.content-areustom_message .title:before{
content:'';
background:url('https://w2.chabad.org/media/images/1364/uuRU13645701.png');
display:block;
width:75px;
height:75px;
background-size:contain;
margin:0 auto;
}
a-parent > .custom_message.appeal .title:before{
display:none;
}
#co_calendar:before{
content:'';
background:url('https://w2.chabad.org/media/images/1364/uuRU13645701.png');
display:block;
width:75px;
height:75px;
background-size:contain;
margin:0 auto;
}
.latest_features .features_title.titleIcon:before{
content:'';
background:url('https://w2.chabad.org/media/images/1364/uuRU13645701.png');
display:block;
width:75px;
height:75px;
background-size:contain;
margin:0 auto;
}
`;
document.head.appendChild(style);
}</script><script>
if ( document.location.href.indexOf('6828106') > -1) {
const style = document.createElement('style');
style.innerHTML = `
.cco_templateless_page #chabad_main_content{
background:url('https://w2.chabad.org/media/images/1364/uuRU13645701.png') !important;
background-size:cover !important;
background-position:bottom !important;
}
.chabad_header{
background:url('https://jewisharlingtonbelmont.com/media/images/1364/HVdJ13647092.png');
background-size:100% 100%;
background-repeat:no-repeat;
background-color:#013131;
}
.cco_templateless_page .chabad_header, .chabad_header{
background-blend-mode: normal !important;
}
.chabad_header div{
visibility:hidden;
}
div.chabad_left_column{
background:transparent;
}
.large_banner, .sPromo-wrap{
border:2px solid #013131;
}
.large_banner .bannerCta button{
background:#013131;
border:3px solid #013131;
}
.large_banner .big{
color:#013131;
font-weight:bold;
}
.large_banner .wrapper-message{
margin-block:1.5em !important;
}
.sPromo-wrap .caption{
color:black !important;
}
.sPromo-wrap img{
border:0px !important;
}
.custom_message .message{
color:black !important;
}
.custom_message .title{
color:#013131 !important;
}
.custom_message .read-more_link a{
color:#013131 !important;
border:3px solid #013131 !important;
}
.custom_message .read-more_link a:hover{
background:#013131 !important;
color:white !important;
}
.prepResource-title, .co_calendar_head div, .features_title{
font-size:25pt !important;
color:#013131 !important;
}
.prep-title, .feature_caption a{
color:#013131 !important;
}
.zmanim .zman-1, .zmanim .zman-2{
border-radius:10px !important;
background:#013131 !important;
margin:5px 0px !important;
}
#co_calendar div.co_calendar_body .item.item.first, #co_calendar div.co_calendar_body .item:nth-child(3), #co_calendar div.co_calendar_body .item:nth-child(6), #co_calendar div.co_calendar_body .item:nth-child(8){
background:#013131;
}
#co_calendar div.co_calendar_body .item:nth-child(2), #co_calendar div.co_calendar_body .item:nth-child(4), #co_calendar div.co_calendar_body .item:nth-child(5), #co_calendar div.co_calendar_body .item:nth-child(7){
background:#013131;
}
.footer, .footer a{
background#013131;
color:white !important
}
.cco_templateless_template a, .div#chabad_head .chabad_navigator_bar, #menu .item, #navigation, #menu a{
background:#013131 !important;
}
#menu a{
color:white !important;
border:0px !important;
}
.selected a{
text-decoration:underline !important;
}
#menu .item{
color:transparent !important;
}
.titleIcon img{
width:125px !important;
}
.co_calendar_head:before, .pesach-resources .titleIcon{
display:none !important;
}
div#chabad_body_content{
background:transparent !important;
}
@media all and (max-width:500px){
.chabad_header{
height:200px !important;
}
.headerTitle{
display:none;
}
.body.section_root .bh{
right: 25px !important;
color: white !important;
}
}
.co_calendar_text{
background-color:transparent !important;
}
.titleIcon img, .large_banner .textWrapper{
display:none !important;
}
`;
document.head.appendChild(style);
}</script><script>
if ( document.location.href.indexOf('7304499') > -1) {
const style = document.createElement('style');
style.innerHTML = `
.cco_templateless_page #chabad_main_content{
background:url('https://w2.chabad.org/media/images/1364/uuRU13645701.png') !important;
background-size:cover !important;
background-position:bottom !important;
}
.chabad_header{
background:url('https://jewisharlingtonbelmont.com/media/images/1364/HVdJ13647092.png');
background-size:100% 100%;
background-repeat:no-repeat;
background-color:#013131;
}
.cco_templateless_page .chabad_header, .chabad_header{
background-blend-mode: normal !important;
}
.chabad_header div{
visibility:hidden;
}
div.chabad_left_column{
background:transparent;
}
.large_banner, .sPromo-wrap{
border:2px solid #013131;
}
.large_banner .bannerCta button{
background:#013131;
border:3px solid #013131;
}
.large_banner .big{
color:#013131;
font-weight:bold;
}
.large_banner .wrapper-message{
margin-block:1.5em !important;
}
.sPromo-wrap .caption{
color:black !important;
}
.sPromo-wrap img{
border:0px !important;
}
.custom_message .message{
color:black !important;
}
.custom_message .title{
color:#013131 !important;
}
.custom_message .read-more_link a{
color:#013131 !important;
border:3px solid #013131 !important;
}
.custom_message .read-more_link a:hover{
background:#013131 !important;
color:white !important;
}
.prepResource-title, .co_calendar_head div, .features_title{
font-size:25pt !important;
color:#013131 !important;
}
.prep-title, .feature_caption a{
color:#013131 !important;
}
.zmanim .zman-1, .zmanim .zman-2{
border-radius:10px !important;
background:#013131 !important;
margin:5px 0px !important;
}
#co_calendar div.co_calendar_body .item.item.first, #co_calendar div.co_calendar_body .item:nth-child(3), #co_calendar div.co_calendar_body .item:nth-child(6), #co_calendar div.co_calendar_body .item:nth-child(8){
background:#013131;
}
#co_calendar div.co_calendar_body .item:nth-child(2), #co_calendar div.co_calendar_body .item:nth-child(4), #co_calendar div.co_calendar_body .item:nth-child(5), #co_calendar div.co_calendar_body .item:nth-child(7){
background:#013131;
}
.footer, .footer a{
background#013131;
color:white !important
}
.cco_templateless_template a, .div#chabad_head .chabad_navigator_bar, #menu .item, #navigation, #menu a{
background:#013131 !important;
}
#menu a{
color:white !important;
border:0px !important;
}
.selected a{
text-decoration:underline !important;
}
#menu .item{
color:transparent !important;
}
.titleIcon img{
width:125px !important;
}
.co_calendar_head:before, .pesach-resources .titleIcon{
display:none !important;
}
div#chabad_body_content{
background:transparent !important;
}
@media all and (max-width:500px){
.chabad_header{
height:200px !important;
}
.headerTitle{
display:none;
}
.body.section_root .bh{
right: 25px !important;
color: white !important;
}
}
.co_calendar_text{
background-color:transparent !important;
}
.titleIcon img, .large_banner .textWrapper{
display:none !important;
}
`;
document.head.appendChild(style);
}</script><script>
if ( document.location.href.indexOf('6828115') > -1) {
const style = document.createElement('style');
style.innerHTML = `
.cco_templateless_page #chabad_main_content{
background:url('https://w2.chabad.org/media/images/1364/uuRU13645701.png') !important;
background-size:cover !important;
background-position:bottom !important;
}
.chabad_header{
background:url('https://jewisharlingtonbelmont.com/media/images/1364/HVdJ13647092.png');
background-size:100% 100%;
background-repeat:no-repeat;
background-color:#013131;
}
.cco_templateless_page .chabad_header, .chabad_header{
background-blend-mode: normal !important;
}
.chabad_header div{
visibility:hidden;
}
div.chabad_left_column{
background:transparent;
}
.large_banner, .sPromo-wrap{
border:2px solid #013131;
}
.large_banner .bannerCta button{
background:#013131;
border:3px solid #013131;
}
.large_banner .big{
color:#013131;
font-weight:bold;
}
.large_banner .wrapper-message{
margin-block:1.5em !important;
}
.sPromo-wrap .caption{
color:black !important;
}
.sPromo-wrap img{
border:0px !important;
}
.custom_message .message{
color:black !important;
}
.custom_message .title{
color:#013131 !important;
}
.custom_message .read-more_link a{
color:#013131 !important;
border:3px solid #013131 !important;
}
.custom_message .read-more_link a:hover{
background:#013131 !important;
color:white !important;
}
.prepResource-title, .co_calendar_head div, .features_title{
font-size:25pt !important;
color:#013131 !important;
}
.prep-title, .feature_caption a{
color:#013131 !important;
}
.zmanim .zman-1, .zmanim .zman-2{
border-radius:10px !important;
background:#013131 !important;
margin:5px 0px !important;
}
#co_calendar div.co_calendar_body .item.item.first, #co_calendar div.co_calendar_body .item:nth-child(3), #co_calendar div.co_calendar_body .item:nth-child(6), #co_calendar div.co_calendar_body .item:nth-child(8){
background:#013131;
}
#co_calendar div.co_calendar_body .item:nth-child(2), #co_calendar div.co_calendar_body .item:nth-child(4), #co_calendar div.co_calendar_body .item:nth-child(5), #co_calendar div.co_calendar_body .item:nth-child(7){
background:#013131;
}
.footer, .footer a{
background#013131;
color:white !important
}
.cco_templateless_template a, .div#chabad_head .chabad_navigator_bar, #menu .item, #navigation, #menu a{
background:#013131 !important;
}
#menu a{
color:white !important;
border:0px !important;
}
.selected a{
text-decoration:underline !important;
}
#menu .item{
color:transparent !important;
}
.titleIcon img{
width:125px !important;
}
.co_calendar_head:before, .pesach-resources .titleIcon{
display:none !important;
}
div#chabad_body_content{
background:transparent !important;
}
@media all and (max-width:500px){
.chabad_header{
height:200px !important;
}
.headerTitle{
display:none;
}
.body.section_root .bh{
right: 25px !important;
color: white !important;
}
}
.co_calendar_text{
background-color:transparent !important;
}
.titleIcon img, .large_banner .textWrapper{
display:none !important;
}
`;
document.head.appendChild(style);
}</script><script>
if ( document.location.href.indexOf('6828114') > -1) {
const style = document.createElement('style');
style.innerHTML = `
.cco_templateless_page #chabad_main_content{
background:url('https://w2.chabad.org/media/images/1364/uuRU13645701.png') !important;
background-size:cover !important;
background-position:bottom !important;
}
.chabad_header{
background:url('https://jewisharlingtonbelmont.com/media/images/1364/HVdJ13647092.png');
background-size:100% 100%;
background-repeat:no-repeat;
background-color:#013131;
}
.cco_templateless_page .chabad_header, .chabad_header{
background-blend-mode: normal !important;
}
.chabad_header div{
visibility:hidden;
}
div.chabad_left_column{
background:transparent;
}
.large_banner, .sPromo-wrap{
border:2px solid #013131;
}
.large_banner .bannerCta button{
background:#013131;
border:3px solid #013131;
}
.large_banner .big{
color:#013131;
font-weight:bold;
}
.large_banner .wrapper-message{
margin-block:1.5em !important;
}
.sPromo-wrap .caption{
color:black !important;
}
.sPromo-wrap img{
border:0px !important;
}
.custom_message .message{
color:black !important;
}
.custom_message .title{
color:#013131 !important;
}
.custom_message .read-more_link a{
color:#013131 !important;
border:3px solid #013131 !important;
}
.custom_message .read-more_link a:hover{
background:#013131 !important;
color:white !important;
}
.prepResource-title, .co_calendar_head div, .features_title{
font-size:25pt !important;
color:#013131 !important;
}
.prep-title, .feature_caption a{
color:#013131 !important;
}
.zmanim .zman-1, .zmanim .zman-2{
border-radius:10px !important;
background:#013131 !important;
margin:5px 0px !important;
}
#co_calendar div.co_calendar_body .item.item.first, #co_calendar div.co_calendar_body .item:nth-child(3), #co_calendar div.co_calendar_body .item:nth-child(6), #co_calendar div.co_calendar_body .item:nth-child(8){
background:#013131;
}
#co_calendar div.co_calendar_body .item:nth-child(2), #co_calendar div.co_calendar_body .item:nth-child(4), #co_calendar div.co_calendar_body .item:nth-child(5), #co_calendar div.co_calendar_body .item:nth-child(7){
background:#013131;
}
.footer, .footer a{
background#013131;
color:white !important
}
.cco_templateless_template a, .div#chabad_head .chabad_navigator_bar, #menu .item, #navigation, #menu a{
background:#013131 !important;
}
#menu a{
color:white !important;
border:0px !important;
}
.selected a{
text-decoration:underline !important;
}
#menu .item{
color:transparent !important;
}
.titleIcon img{
width:125px !important;
}
.co_calendar_head:before, .pesach-resources .titleIcon{
display:none !important;
}
div#chabad_body_content{
background:transparent !important;
}
@media all and (max-width:500px){
.chabad_header{
height:200px !important;
}
.headerTitle{
display:none;
}
.body.section_root .bh{
right: 25px !important;
color: white !important;
}
}
.co_calendar_text{
background-color:transparent !important;
}
.titleIcon img, .large_banner .textWrapper{
display:none !important;
}
`;
document.head.appendChild(style);
}</script><title>
	Contact Us - Center for Jewish Life Arlington - Belmont
</title></head>
<body class="lang_en dir_ltr cco_body form secure cco_templateless_page section_branch">
	
	
		<div width="100%" class="cco_templateless_template" style="z-index:100 !important;display:block !important;left:0px !important;top:0px !important;height:30px!important;width:100% !important;line-height:30px !important; position:relative !important; margin-bottom:0 !important; padding:0;text-indent: 25px;" align="Left"><a href="//www.JewishArlingtonBelmont.com" style="display:block!important;font-size:14px !important;">&laquo; Back to&nbsp;Center for Jewish Life Arlington - Belmont</a></div>
	
	<div class="cco_templatelates_content">
		
	<div class="co_content_container clearfix local_content" id="co_content_container">
		<div class="clearfix">
			<!-- BEGIN HEADER --><style type="text/css">
	.cco_templateless_template,
	.cco_templateless_template a {
		background: #6C0647;
	}
.sidebar-ads co\:item {
    padding: 3%;
    text-align: center;
    background: #690645;
    display: block;
    margin-bottom: 3%
}

.section_root .sidebar-ads co\:item {
    float: left;
    width: 315px;
    padding: 12px 0;
    text-align: center;
    background: #690645;
    display: block;
    margin-left: 15px
}

body.mobile.section_root .sidebar-ads co\:item {
    float: none;
    display: block;
    width: 100%;
    margin: 5px 0
}

.section_root .sidebar-ads co\:item:first-child {
    margin: 0
}

.sidebar-ads co\:item a {
    text-decoration: none;
    position: absolute;
    width: 283px;
    height: 167px
}

.sidebar-ads co\:item img {
    width: 90%
}

.sidebar-ads co\:item .caption {
    font: 12px/18px Merriweather, times, serif;
    color: #a7a6a2;
    margin-top: 15px
}
co\:item {display:unset!important}
</style>
<div id="chabad_body_page">
<div id="chabad_main_content" class="container">


<div id="chabad_head" class="header">



<div class="chabad_header header-logo" data-href="/6362210">
<a href="/6362210" class="header-title" title="Planned Giving">
<span>
Planned Giving to Center for Jewish Life 
</span></a>
<div class="header-subtitle">
<a href="/6362210" class="header-subtitle" style="text-decoration: none;">
Make Your Legacy a Jewish Future
</a>
</div>
</div>


<div id="navigation" class="chabad_navigator_bar">
<div class="chabad_menu_content">
<ul id="menu" class="navi">
<li class="item parent arrow">
<a href="/article.asp?aid=6362211" class="parent arrow">Why Giving Matters</a>
<div class="sub_menu">
<ul>
<li class="item first">
<a href="/article.asp?aid=6362212">Changing Jewish Destiny</a>
</li>
<li class="item">
<a href="/article.asp?aid=6362213">Chabad In The News</a>
</li>
<li class="item">
<a href="/article.asp?aid=6362214">The Rebbe's Mandate</a>
</li>
<li class="item">
<a href="/article.asp?aid=6362215">Giving In Jewish Tradition</a>
</li>
<li class="item last">
<a href="/article.asp?aid=6362216">Donor Stories</a>
</li>
</ul>
</div>
|
</li>
<li class="item parent arrow">
<a href="/article.asp?aid=6362224" class="parent arrow">Ways To Give</a>
<div class="sub_menu">
<ul>
<li class="item first">
<a href="/article.asp?aid=6362225">Bequest</a>
</li>
<li class="item">
<a href="/article.asp?aid=6362226">Charitable Gift Annuity</a>
</li>
<li class="item">
<a href="/article.asp?aid=6362227">Real Estate</a>
</li>
<li class="item">
<a href="/article.asp?aid=6362228">Life Insurance</a>
</li>
<li class="item">
<a href="/article.asp?aid=6362229">Charitable Trusts</a>
</li>
<li class="item">
<a href="/article.asp?aid=6362230">Retirement Plans</a>
</li>
<li class="item last">
<a href="/article.asp?aid=6362231">Planned Giving Videos</a>
</li>
</ul>
</div>
|
</li>
<li class="item parent arrow">
<a href="/article.asp?aid=6362233" class="parent arrow">Gratitude</a>
<div class="sub_menu">
<ul>
<li class="item first last">
<a href="/article.asp?aid=6362235">My Story</a>
</li>
</ul>
</div>
|
</li>
<li class="item parent arrow">
<a href="/article.asp?aid=6362237" class="parent arrow">Resources</a>
<div class="sub_menu">
<ul>
<li class="item first">
<a href="/article.asp?aid=6362238">Bequest Form</a>
</li>
<li class="item">
<a href="/article.asp?aid=6362239">Frequently Asked Questions</a>
</li>
<li class="item">
<a href="/article.asp?aid=6362240">Advisor Information</a>
</li>
<li class="item">
<a href="/article.asp?aid=6362241">Planned Giving Council</a>
</li>
<li class="item last">
<a href="/article.asp?aid=6362242">Glossary of Terms</a>
</li>
</ul>
</div>
|
</li>
<li class="item parent arrow selected">
<a href="/article.asp?aid=6362243" class="parent arrow selected">Contact</a>
<div class="sub_menu">
<ul>
<li class="item first last selected">
<a href="/article.asp?aid=6362244">Contact Us</a>
</li>
</ul>
</div>
</li>

</ul>
</div>
</div>



</div>

<div class="break_floats" ></div>
<div id="chabad_body_content">
<div detached="true" type="static" id="ContentArea" name="content_area" class="chabad_left_column"><div id="content_page" class="content_page"><!-- END HEADER -->
			
			
			<div class="clearfix bh mobile-only align_right">ב"ה</div>
			
				<div class="master-content-wrapper " >
					

<header class="article-header cf ">
	
	
			<h1 class="article-header__title js-article-title js-page-title">Contact Us</h1>
		
			<div>
				
			</div>
		
</header>
				</div>
			
			<div class="body_wrapper clearfix co_body">
				<div class="" id="co_body_container">
					
					<div id="ContentBody">
						
						
							<div class="content-area-parent no_margin">
								
	<div id="cco_body">
		<div class="content  no_margin no_overflow" id="co_content_container">
			
			
	

	<article class="content js-content" >
	


		<form 
			autocomplete="off" 
			action="/templates/articlecco.asp?aid=6362244" 
			method="post" id="form1" 
			
			onSubmit="return Co.Forms.Validation.Validate(this);">
			<input type="hidden" name="site" value="">
			<input type="hidden" name="sc" value="">
		
			<div >
				<co:body xmlns:co="www1.chabadonline.com/alpha1" xmlns:ext="urn:xslt-extensions">
  <div class="co_body article-body cf">
<div id="formBody"><br>
<p>At Center for Jewish Life, our Planned Giving Specialist will work with you and your financial advisors on your personalized gift planning strategy. We encourage you to consult with your professional advisor and family when you are considering a Planned Gift to Center For Jewish Life of Arlington - Belmont.</p>
<p>We look forward to speaking with you!</p>
<p>Together we can insure a vibrant and dynamic Jewish future.</p>
<p>Please contact <br>
Rabbi Avi Bukiet <br>
Center For Jewish Life of Arlington - Belmont <br>
129 Lake Street <br>
Arlington, MA, 02474 <br>
617-909-8653 <br>
rabbiavi@jewishab.com</p>
<table border="0" cellpadding="5" cellspacing="0" width="100%" style="border-collapse: collapse;">
<tbody>
<tr>
<td width="35%" height="15">First Name</td>
<td width="65%" height="15"> <input type="text" name="x_first_name" tabindex="1" style="width:90%;" required="false"></td>
</tr>
<tr>
<td width="35%" height="15">Last Name</td>
<td width="65%" height="15"> <input type="text" name="x_last_name" tabindex="1" style="width:90%;" required="false"></td>
</tr>
<tr>
<td width="35%" height="15">Email</td>
<td width="65%" height="15"> <input type="text" name="x_email" tabindex="1" style="width:90%;" required="false"></td>
</tr>
<tr>
<td width="50%" height="15" colspan="2"> Comment:  <br>
<textarea name="comment" rows="7" tabindex="1" required="false" style="margin: 2px; height: 152px; width: 495px;"></textarea></td>
</tr>
</tbody>
</table>
<p> </p>
    </div>
</div>
</co:body>
			</div>
			

			<div class="break_floats"></div>
			
					<div class="clearfix">
                    	


<script>
	var recaptchaIsEnterprise = false;
		 var recaptchaV2Key = "6LcG_TcUAAAAAKAVgwgW39ujc9OCjXSoQYFIA-Su";

</script>

	<input type="hidden" class="js-recaptcha-input" name="cdo-captcha-response" value="" data-div-id="7f34fa5a-3105-4360-b38b-2ab83d5b50e7" data-processed="false" />
	<div class="js-recaptcha-wrapper" id="7f34fa5a-3105-4360-b38b-2ab83d5b50e7"></div>	

                    </div>
				
					<!------Begin Close Form------->
					<div class="ccoFormFooter">
						
							<div class="small bold center bottom_padding">
								<div class="grey f-small"></div></div>
						
						<div align="center"><input type="submit" value="Submit" name="SubmitCCO" tabindex="1000"/>
							<input type="reset" value="Reset" tabindex="1001" id="reset1" name="reset1"/></div>
						
							<p align="center" style="font-size: 8pt; color: #666666; font-family: Verdana, Helvetica; margin-bottom: 3px; margin-top: 6px;">
								<img valign="absbottom" src="https://w2.chabad.org/images/global/icons/lock.gif" width="16" height="16" alt="Secure"/>
								This page uses 128 bit SSL encryption to keep your data secure.
							</p>
						
					</div>
				
				<input type="hidden" name="FormCCOSubmited" value="true"/>
			</form>
			<!------End Close Form------->
			
	<div class="break_floats"></div>
	

<div class="content-footer">
	
	
	
	
	
	
</div>
	</article>

		</div>
	</div>
</div>
						
						<div class="break_floats"></div>
						
					</div>
				</div>
				
				
				
			</div>
			
			<!-- BEGIN FOOTER --></div></div><div class="co_section">
<div class="co_section_head">
<div>In this Section</div>
</div>
<div class="co_section_body">
<div class="co_section_gradient">
<div class="co_section_text">
<div class="item first last">
<span>●</span>
<a href="/article.asp?aid=6362244">Contact Us</a>
</div>
</div>
</div>
</div>
<div class="co_section_footer" ></div>
</div>
<div class="chabad_right_column">
<div class="caption" id="contact-address">

<p>Rabbi Avi Bukiet<br/> Center For Jewish Life of Arlington - Belmont<br/> 129 Lake Street<br/> Arlington, MA, 02474<br/> 617-909-8653<br/>
<a href="mailto:rabbiavi@jewishab.com?subject=Planned%20Giving%20Inquiry"> rabbiavi@jewishab.com</a></p>
</div>

<ul class="sidebar-ads">


<co:item style="display: list-item;" xmlns:co="www1.chabadonline.com/alpha1">

<a href="/6362212" ></a>


<img src="https://w2.chabad.org/images/Shluchim/minisites/themes/plannedgiving/sidebar-thumbs-jewish-destiny.png" alt="Changing Jewish Destiny" border="0" />

<div class="caption">
Changing Jewish Destiny
</div>

</co:item>



<co:item style="display: list-item;" xmlns:co="www1.chabadonline.com/alpha1">

<a href="/6362235" ></a>


<img src="https://w2.chabad.org/images/Shluchim/minisites/themes/plannedgiving/sidebar-thumbs-testimony.png" border="0" />

<div class="caption">
My Story
</div>
</co:item>



<co:item style="display: list-item;" xmlns:co="www1.chabadonline.com/alpha1">

<a href="/6362231" ></a>


<img src="https://w2.chabad.org/images/Shluchim/minisites/themes/plannedgiving/sidebar-thumbs-planned-giving.png" border="0" />

<div class="caption">
Planned Giving Videos
</div>

</co:item>


</ul>


</div>
</div>
</div>
<div id="border_bottom" ></div>
</div>
<!-- END FOOTER -->
		</div>
		
		<aside class="page-tools-sidebar js-page-tools-sidebar hide_for_print">
<div class="page-tools js-page-tools-menu">
<div class="page-tools__section page-tools__section--share">
<a class="page-tools__tool js-share-popup page-tools__tool--facebook" data-share-url="https://www.facebook.com/dialog/share?app_id=188669250943&amp;display=popup&amp;href=https%3a%2f%2fwww.jewisharlingtonbelmont.com%2ftemplates%2farticlecco_cdo%2faid%2f6362244%2fjewish%2fContact-Us.htm%23utm_medium%3dpage_tools%26utm_content%3ddesktop%26utm_source%3dFB">
				<i class="fa fa-facebook"></i>
			</a>
<a class="page-tools__tool js-share-popup page-tools__tool--twitter" data-share-url="https://twitter.com/intent/tweet?text=Contact+Us+-+Center+for+Jewish+Life+Arlington+-+Belmont&amp;url=https%3a%2f%2fwww.jewisharlingtonbelmont.com%2ftemplates%2farticlecco_cdo%2faid%2f6362244%2fjewish%2fContact-Us.htm%23utm_medium%3dpage_tools%26utm_content%3ddesktop%26utm_source%3dtwitter&amp;via=Chabad">
				<i class="fa fa-twitter"></i>
			</a>
<a class="page-tools__tool js-share-popup page-tools__tool--whatsapp d-lg-none js-share-whatsapp" data-share-url="whatsapp://send?text=Contact+Us+-+Center+for+Jewish+Life+Arlington+-+Belmont https%3a%2f%2fwww.jewisharlingtonbelmont.com%2ftemplates%2farticlecco_cdo%2faid%2f6362244%2fjewish%2fContact-Us.htm%23utm_medium%3dpage_tools%26utm_content%3ddesktop%26utm_source%3dwhatsapp">
				<i class="fa fa-whatsapp">
					<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" fill="#128c7e" width="1em" height="1em"><path d="M25 2C12.318 2 2 12.318 2 25c0 3.96 1.023 7.854 2.963 11.29L2.037 46.73c-.096.343-.003.711.245.966.191.197.451.304.718.304.08 0 .161-.01.24-.029l10.896-2.699C17.463 47.058 21.21 48 25 48c12.682 0 23-10.318 23-23S37.682 2 25 2zm11.57 31.116c-.492 1.362-2.852 2.605-3.986 2.772-1.018.149-2.306.213-3.72-.231-.857-.27-1.957-.628-3.366-1.229-5.923-2.526-9.791-8.415-10.087-8.804-.295-.389-2.411-3.161-2.411-6.03s1.525-4.28 2.067-4.864c.542-.584 1.181-.73 1.575-.73s.787.005 1.132.021c.363.018.85-.137 1.329 1.001.492 1.168 1.673 4.037 1.819 4.33.148.292.246.633.05 1.022s-.294.632-.59.973-.62.76-.886 1.022c-.296.291-.603.606-.259 1.19s1.529 2.493 3.285 4.039c2.255 1.986 4.158 2.602 4.748 2.894.59.292.935.243 1.279-.146.344-.39 1.476-1.703 1.869-2.286s.787-.487 1.329-.292c.542.194 3.445 1.604 4.035 1.896.59.292.984.438 1.132.681.148.242.148 1.41-.344 2.771z"/></svg>
				</i>
			</a>
<a class="page-tools__tool js-share-popup page-tools__tool--pinterest d-none d-lg-block" data-share-url="http://pinterest.com/pin/create/button/?url=https%3a%2f%2fwww.jewisharlingtonbelmont.com%2ftemplates%2farticlecco_cdo%2faid%2f6362244%2fjewish%2fContact-Us.htm%23utm_medium%3dpage_tools%26utm_content%3ddesktop%26utm_source%3dpinterest&amp;description=Contact+Us+-+Center+for+Jewish+Life+Arlington+-+Belmont">
				<i class="fa fa-pinterest"></i>
			</a>
<a class="page-tools__tool" onclick="showEmailLayer(this);">
<i class="fa fa-envelope"></i>
</a>
</div>
<div class="page-tools__section page-tools__section--other js-page-tool-other">
<div class="page-tools__tool popover-parent d-lg-block">
<div class="popover popover--right align_left nowrap">
<div class="popover__content">
<label class="bold bottom_margin block">
Print Options:
</label>
<form class="vcenter" name="print-form" onsubmit="coPrint(event, 6362243);return false;">
<div>
<label><input type="checkbox" name="print-green"><span title="Save paper and ink">Print without images <i class="fa fa-leaf text-green"></i></span></label>
</div>
<br/>
<div class="center">
<button class="co-button page-tools__print-button">Print</button>
</div>
</form>
</div>
</div>
<i class="fa fa-print"></i>
</div>
</div>
</div>
<div class="js-fab-wrapper fab-wrapper">
<div class="fab">
<i class="fab-icon"></i>
</div>
</div>
</aside>
<!-- END CACHE -->
	</div>

	</div>

	<div id="BodyContainer">
		<div class="g960 footer">
			<div class="poweredby large_bottom_margin">
				



	<div class="footer3">
		<span class="footer-title" >Center for Jewish Life Arlington - Belmont</span>
		<div class="footer-address">
			<span class="footer-street">129 Lake Street </span>
			<span class="footer-city-state">Arlington, MA 02474</span>
		</div>
			<span>617-909-8653</span>
	</div>
	<img src="https://w2.chabad.org/images/global/spacer.gif" width="1" height="6" border="0" /><br />



Powered by <a href="https://www.chabad.org/" target="_new" class="">Chabad.org</a> &copy; 1993-2026 <a href="/4026210" target="_blank" class="privacy-link">Privacy Policy</a>




			</div>
		</div>
	</div>
	
	

	
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/os/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/os/jquery/jquery.tools.expose.min.js"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/os/jquery.tools.1.2.7.min.js"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/co/dist/CoLib.js"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/WebComponents/bundles/magen-cdo-global.js"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/templates/plannedgiving/custom.js"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/custom/multimedia/infolayer.js"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/custom/commentsloader.js"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/custom/minisites.js"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/custom/subscribeprompt.js"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/templates/FormDecoder.js"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/modules/pagetools.js"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/custom/deprecated.js?v=4.1.3"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/OverrideJSDocumentWrite.js"></script><script>$j = $j.fn ? $j : jQuery;$j(()=>{$q.forEach(f=>{try{f.call(window);}catch(ex){console.error(ex);}});})</script>
	

<script  language="javascript" type="text/javascript"> Co.Settings      = {CacheClassName:'js-cache-default',MosadName:'Center for Jewish Life Arlington - Belmont'}; Co.ArticleId     = '6362244';Co.SectionId     = 2544215;Co.PartnerSiteId = 0;Co.SiteId        = 9605;Co.IsMobilePage  = false;Co.IsResponsive  = false;Co.DbDomain      = 'JewishArlingtonBelmont.com';Co.LanguageCode  = '';Co.LoginStatus   = 'None';</script>
	
	



<script>
(function() {
    // 0. URL CHECK
    if (!window.location.href.includes("Templates/ArticleCcoResponse_cdo/aid/7266255")) {
        return;
    }

    // --- CONFIGURATION ---
    const GOOGLE_SCRIPT_URL = "https://script.google.com/macros/s/AKfycbxevpoQEZZtBFyc2XyHZnVARVwBMnbK_xtTw5DWf_UOpH_Kamdcl8ZirAxUG5Wtjnb7Cg/exec"; 
    
    console.log("Scraper Script Loaded. Waiting for table...");

    // 1. Helper to clean text
    function cleanText(text) {
        if (!text) return "";
        return text.replace(/[\r\n]+/g, " ").trim();
    }

    // 2. Helper to get all table data
    function getTableData() {
        let data = {};
        let rows = document.querySelectorAll('table.response_table tr');
        rows.forEach(row => {
            let labelCell = row.querySelector('td.field_name');
            let valueCell = row.querySelector('td.field_value');
            if (labelCell && valueCell) {
                let key = cleanText(labelCell.innerText).toLowerCase();
                let val = cleanText(valueCell.innerText);
                data[key] = val;
            }
        });
        return data;
    }

    // 3. Helper to extract numbers
    function extractAmount(str) {
        if (!str) return 0;
        let cleaned = str.replace(/[^0-9.]/g, ''); 
        let val = parseFloat(cleaned);
        return isNaN(val) ? 0 : val;
    }

    // 4. Tier Calculation Logic
    function calculateTierFromAmount(amount) {
        // Any amount $1000 OR MORE is Chai Benefactor
        if (amount >= 1000) return "Chai Benefactor";
        if (amount >= 770)  return "Chai Pillar";
        if (amount >= 500)  return "Chai Platinum";
        if (amount >= 360)  return "Chai Gold";
        if (amount >= 180)  return "Chai Silver";
        if (amount >= 100)  return "Chai Bronze";
        return "Chai Partner"; // Fallback for amounts < 100
    }

    // --- MAIN LOGIC ---
    function tryScrape() {
        let data = getTableData();
        
        // CHECK: Do we have the Submission ID yet?
        let submissionId = data["submission id"];
        if (!submissionId) {
            return false; // Table not loaded yet, keep waiting
        }

        // CHECK: Duplicates
        if (localStorage.getItem("scraped_" + submissionId)) {
            console.warn("STOPPING: Already processed ID " + submissionId);
            return true; // Stop retrying, we are done
        }

        console.log("Table found! Processing...");

        // A. NAME & ANONYMOUS LOGIC
        let nameKey = Object.keys(data).find(k => k.includes("name to be displayed"));
        let originalName = nameKey ? data[nameKey] : "Anonymous";
        let finalName = "Anonymous"; // Default to Anonymous to be safe
        
        // Check for "checkbo 7" (specific spelling) or "donate anonymously" label
        let anonKey = Object.keys(data).find(k => k.includes("checkbo7") || k.includes("donate anonymously"));
        let anonValue = anonKey ? data[anonKey] : "";
        
        // UPDATED LOGIC: 
        // If it explicitly says "No (Unchecked)", we SHOW the name.
        // Otherwise (Checked, Yes, etc.), we hide it.
        if (anonValue && anonValue.toLowerCase().includes("no (unchecked)")) {
            finalName = originalName;
        } else {
            // It is checked, or explicitly anonymous
            finalName = "Anonymous";
        }

        // B. LEVEL LOGIC
        let tierKey = Object.keys(data).find(k => k.includes("choose a tier"));
        let tierValue = tierKey ? data[tierKey] : "";
        
        let amount = extractAmount(tierValue);
        
        // If 0, try Total/Paid fields
        if (amount === 0) {
            let totalKey = Object.keys(data).find(k => k.includes("total amount") || k.includes("paid"));
            if (totalKey) {
                amount = extractAmount(data[totalKey]);
            }
        }

        // CHECK: SKIP IF LESS THAN 100
        if (amount < 100) {
            console.log(`Skipping submission ID ${submissionId} - Amount ($${amount}) is less than $100.`);
            // Mark as processed so we don't keep trying to find/send it
            localStorage.setItem("scraped_" + submissionId, "true"); 
            return true; // Return true to stop the retry interval
        }

        let level = calculateTierFromAmount(amount);

        // C. DATE LOGIC (Month Year)
        let dateKey = Object.keys(data).find(k => k.includes("submission date"));
        let dateStr = dateKey ? data[dateKey] : "";
        let finalDate = "";

        if (dateStr) {
            let dateObj = new Date(dateStr);
            if (!isNaN(dateObj.getTime())) {
                // Formatting: "December 2025"
                let month = dateObj.toLocaleString('default', { month: 'long' });
                let year = dateObj.getFullYear();
                finalDate = `${month} ${year}`;
            } else {
                finalDate = dateStr;
            }
        }

        // SEND
        console.log(`Sending: ${finalName} | ${level} | ${finalDate}`);
        
        fetch(GOOGLE_SCRIPT_URL, {
            method: "POST",
            mode: "no-cors",
            headers: { "Content-Type": "application/json" },
            body: JSON.stringify({ name: finalName, level: level, month: finalDate })
        })
        .then(() => {
            localStorage.setItem("scraped_" + submissionId, "true");
            console.log("%c SUCCESS! Data sent.", "background: #4CAF50; color: #fff;");
        })
        .catch(err => console.error("Error:", err));

        return true; // Success, stop retrying
    }

    // --- RETRY LOOP ---
    // Check every 500ms for the table
    let attempts = 0;
    let interval = setInterval(() => {
        attempts++;
        let done = tryScrape();
        
        if (done) {
            clearInterval(interval);
        } else if (attempts > 20) { 
            // Stop after 10 seconds (20 attempts)
            console.log("Gave up waiting for table after 10 seconds.");
            clearInterval(interval);
        }
    }, 500);

})();
</script><script>
(function() {
    // 0. URL CHECK (Commented for preview)-EDIT: UNCOMMENTING SINCE THIS BROKE ALL CONDITIONS ON ALL FORMS- NEVER DO THIS AGAIN ON THE LIVE SITE PLEASE!
    if (window.location.href.indexOf('7266255') === -1) { return; }
    
    console.log("Bel Air Form Script: Initializing...");

    // CONFIGURATION: GOOGLE SHEET
    const GOOGLE_SHEET_CSV_URL = "https://docs.google.com/spreadsheets/d/e/2PACX-1vSRSYZrV-0XCNdqNJIxgGasAWIhrkpS_9AmV3H5xuf9LRbqDvSzyGG7YOczAfRSehH59xxAYhSDXcL9/pub?output=csv"; 

    // 1. STYLE INJECTION
    var belairStyles = `
        @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Spectral:wght@300;400;500;600;700;800&family=Commissioner:wght@400;700;800&display=swap');

        /* PAGE BACKGROUND UPDATE: PEACH */
        body { 
            font-family: "Spectral", serif !important; 
            color: rgb(66, 66, 66) !important; 
            margin: 0 !important; 
            background: #ffded6 !important; 
        }

        .form-label-auto, .form-label-left, .form-label-right, .form-label-top {
            font-family: "Outfit" !important;
            font-size: 18px !important;
            color: rgb(66, 66, 66) !important
        }

        /* Default: Hide Mobile images, Show Desktop images */
        .belair-img-mobile { display: none !important; }
        .belair-img-desktop { display: block !important; }

        /* On screens smaller than 768px (Mobile): Hide Desktop, Show Mobile */
        @media only screen and (max-width: 768px) {
            .belair-img-mobile { display: block !important; }
            .belair-img-desktop { display: none !important;}
            .belair-chai-donors-wrapper{ width: 100% !important;}
            .chai-belair-highlight {color: white !important;}
        }

        /* --- NEW CHAI BELAIR STYLES --- */
        .chai-belair-container { max-width: 1000px !important; margin: 0 auto 40px auto !important; width: 100% !important; box-sizing: border-box !important; }
        .chai-belair-row-top { display: flex !important; gap: 20px !important; margin-bottom: 20px !important; align-items: stretch !important; }
        .chai-belair-row-bottom { display: grid !important; grid-template-columns: 1fr 1fr 1fr !important; gap: 20px !important; }
        
        /* CARD STYLES WITH OUTLINE */
        .chai-belair-card { 
            border-radius: 15px !important; 
            padding: 30px !important; 
            box-sizing: border-box !important; 
            box-shadow: 5px 5px 0px #e69681 !important;
            border: 2px solid #e69681 !important;
        }
        
        .chai-belair-bg-blue { background-color: #263F1E !important; color: #ffffff !important; }
        .chai-belair-bg-white { background-color: #ffffff !important; color: #333333 !important; }
        
        /* HEARTBEAT CARD SPECIFIC BACKGROUND */
        #row-2 { background-color: #CA4D2F !important; }

        .chai-belair-gift-card { display: flex !important; align-items: center !important; justify-content: center !important; flex: 0 0 45% !important; }
        .chai-belair-gift-icon-wrapper { margin-right: 20px !important; border-right: 2px solid rgba(255, 255, 255, 0.3) !important; padding-right: 20px !important; }
        .chai-belair-icon-gift { width: 80px !important; height: auto !important; display: block !important; }
        .chai-belair-title { font-family: 'Commissioner', sans-serif !important; font-weight: 700 !important; font-size: 28px !important; line-height: 1.2 !important; margin: 0 !important; color: #ffffff !important; }
        .chai-belair-text-card { flex: 1 !important; display: flex !important; flex-direction: column !important; justify-content: center !important; font-family: 'Spectral', serif !important; font-size: 17px !important; line-height: 1.5 !important; text-align: left !important; }
        .chai-belair-text-card p { margin-bottom: 15px !important; margin-top: 0 !important; }
        .chai-belair-text-card p:last-child { margin-bottom: 0 !important; }
        .chai-belair-text-bold { font-weight: 700 !important; }
        .chai-belair-feature-card { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; min-height: 200px !important; }
        .chai-belair-icon-feature { height: 60px !important; width: auto !important; margin-bottom: 20px !important; object-fit: contain !important; }
        .chai-belair-feature-text { font-family: 'Commissioner', sans-serif !important; font-size: 18px !important; line-height: 1.4 !important; margin: 0 !important; color: #263F1E !important; }
        .chai-belair-bg-blue .chai-belair-feature-text { color: #ffffff !important; }
        .chai-belair-highlight { color: #263F1E; font-weight: 700 !important; }
        .chai-belair-highlight-white { color: #ffffff; font-weight: 700 !important; }

        @media (max-width: 768px) {
            .chai-belair-row-top { flex-direction: column !important; }
            .chai-belair-gift-card { flex: auto !important; justify-content: flex-start !important; }
            .chai-belair-row-bottom { grid-template-columns: 1fr !important; }
            #id_4 .form-sub-label-container {width: 45% !important;}
        }

        /* --- WRAPPER BOX STYLE (The Form) --- */
        .belair-white-box {
            background-color: #FFE8E2 !important; /* LIGHT PEACH BACKGROUND */
            border-radius: 15px !important;
            padding: 40px !important;
            max-width: 1000px !important; 
            margin: 0 auto 40px auto !important;
            box-sizing: border-box !important;
        }

        /* --- HEADER & NAV STYLES --- */
        .belair-chai-container { font-family: "Spectral", serif !important; color: rgb(66, 66, 66) !important; width: 100% !important; margin: 0 auto !important; background-color: transparent !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
        .belair-chai-nav { display: flex !important; justify-content: space-between !important; align-items: center !important; padding: 20px 0px !important; width: 100% !important; max-width: 1000px !important; box-sizing: border-box !important; }
        .belair-chai-nav-left { display: flex !important; align-items: center !important; }
        .belair-chai-nav-logo-top { height: 60px !important; width: auto !important; object-fit: contain !important; }
        .belair-chai-nav-right { display: flex !important; gap: 30px !important; align-items: center !important; }
        .belair-chai-nav-item { font-size: 20px !important; font-weight: 300 !important; text-transform: capitalize !important; cursor: pointer !important; white-space: nowrap !important; transition: color 0.3s !important; }
        .belair-chai-nav-item:hover { color: #263F1E !important; }

        /* HEADER TEXT UPDATE (CHAI PARTNER) */
        .belair-chai-title-wrapper { 
            display: flex !important; 
            flex-direction: column !important; 
            justify-content: center !important; 
            line-height: 0.9 !important; 
            text-align: left !important; 
        }
        .belair-chai-title-chai { 
            font-family: 'Commissioner', sans-serif !important;
            font-size: 140px !important; 
            font-weight: 800 !important; 
            color: #263F1E !important; 
            text-transform: uppercase !important; 
            text-shadow: 5px 5px 0px #e69681 !important;
        }
        .belair-chai-title-club { 
            font-family: 'Commissioner', sans-serif !important;
            font-size: 160px !important; 
            font-weight: 800 !important; 
            color: #CA4D2F !important; 
            text-transform: uppercase !important; 
            letter-spacing: -2px !important; 
            margin-left: 0 !important;
            line-height: 0.8 !important;
            text-shadow: 5px 5px 0px #e69681 !important;
        }

        /* HERO IMAGE HEIGHT */
        .belair-chai-hero-image { 
            width: 100% !important; 
            max-width: 1000px !important; 
            max-height: 650px !important; 
            overflow: hidden !important; 
            margin-bottom: 40px !important; 
            padding: 0 !important; 
            box-sizing: border-box !important; 
        }
        .belair-chai-hero-image img { 
            width: 100% !important; 
            height: 100% !important; 
            object-fit: cover !important; 
            display: block; 
            border-radius: 8px !important;
        }

        .belair-chai-header-wrapper { display: flex !important; flex-direction: column !important; align-items: center !important; margin-bottom: 40px !important; text-align: center !important; }
        .belair-chai-top-text { font-size: 30px !important; font-weight: 500 !important; letter-spacing: 0.1em !important; color: rgb(66, 66, 66) !important; text-transform: capitalize !important; margin-bottom: 20px !important; }
        .belair-chai-title-section { display: flex !important; align-items: center !important; justify-content: center !important; gap: 20px !important; padding: 0 20px !important; }
        .belair-chai-logo-img { width: 100% !important; height: auto !important; object-fit: contain !important; }
        
        .belair-chai-cta-container { margin-bottom: 60px !important; }
        .belair-chai-cta-btn-large { font-size: 28px !important; padding: 15px 40px !important; } 

        /* --- BUTTONS --- */
        .belair-btn-blue {
            display: flex !important;
            align-items: center !important;
            gap: 12px !important;
            background-color: #263F1E !important;
            color: #fff !important;
            padding: 10px 24px !important;
            border-radius: 50px !important;
            font-weight: 600 !important;
            font-size: 18px;
            cursor: pointer !important;
            text-decoration: none !important;
            white-space: nowrap !important;
            border: 2px solid #263F1E !important;
            transition: all 0.3s ease !important;
            font-family: "Spectral", serif !important;
        }
        .belair-btn-blue:hover { background-color: #fff !important; color: #263F1E !important; }
        .belair-btn-blue svg { fill: #fff !important; width: 18px !important; height: 18px !important; }
        .belair-btn-blue:hover svg { fill: #263F1E !important; }

        /* --- DONORS SECTION UPDATES --- */
        .belair-chai-donors-wrapper { 
            width: 1000px ; 
            background-color: #263F1E !important; /* DARK BLUE BG */
            padding: 60px 0 !important; 
            border-top: 1px solid #eee !important; 
            display: flex !important; 
            flex-direction: column !important; 
            align-items: center !important; 
            text-align: center !important; 
            scroll-margin-top: 80px !important;
            border-radius: 15px !important;
        }
        
        .belair-chai-partners-title { 
            font-size: 80px !important; 
            margin-bottom: 15px !important; 
            display: flex !important;
            align-items: baseline !important;
            gap: 10px !important;
            line-height: 1 !important;
            font-family: 'Commissioner', sans-serif !important;
        }
        .word-chai {
            font-weight: 800 !important;
            color: #EBBCC1 !important; /* PINK COLOR */
            text-transform: uppercase !important;
        }
        .word-partners {
            font-weight: 300 !important;
            color: #EBBCC1 !important; /* PINK COLOR */
            text-transform: uppercase !important;
        }
        .belair-chai-partners-logo { width: 60px !important; margin-bottom: 10px !important; height: auto !important; }

        .belair-chai-thank-you {
            font-size: 22px !important;
            font-weight: 400 !important;
            color: #fff !important; 
            margin-bottom: 10px !important;
            display: flex !important;
            align-items: center !important;
            gap: 10px !important;
            font-family: "Spectral", serif !important;
        }
        .thank-you-header-heart {
            height: 30px !important;
            width: 30px !important;
            margin-right: 10px !important;
            fill: #EBBCC1 !important; /* PINK HEART */
        }

        .belair-chai-active-count {
            font-size: 18px !important;
            font-weight: 300 !important;
            color: #FFD0D5 !important; /* LIGHT PINK */
            margin-bottom: 40px !important;
        }

        /* DONOR GRID */
        .belair-chai-donors-grid {
            display: grid !important;
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 20px !important;
            width: 100% !important;
            max-width: 900px !important;
            padding: 0 !important;
            box-sizing: border-box !important;
        }

        /* DONOR CARD STYLES */
        .belair-chai-donor-card {
            background-color: #FFE9EB !important; /* PINKISH BG */
            border-radius: 5px !important; 
            padding: 25px 20px !important;
            min-height: 120px !important;
            text-align: left !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: space-between !important;
            box-shadow: none !important;
            border: 3px solid #e6bbae !important; 
        }
        
        .belair-chai-card-top { margin-bottom: 15px !important; }
        
        .belair-chai-name-row {
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            margin-bottom: 5px !important;
        }
        
        .belair-chai-name { 
            font-size: 20px !important; 
            font-weight: 700 !important; 
            color: rgb(57, 57, 57) !important; 
            line-height: 1.2 !important;
        }
        
        .belair-chai-card-divider {
            width: 100% !important;
            height: 1px !important;
            background-color: rgba(178, 95, 50, 0.2) !important;
            margin: 10px 0 !important;
        }
        
        .belair-chai-level { 
            font-size: 13px !important; 
            text-transform: uppercase !important; 
            color: rgb(100, 100, 100) !important; 
            letter-spacing: 0.5px !important;
        }
        
        .belair-chai-card-bottom { 
            font-size: 12px !important; 
            font-weight: 600 !important; 
            color: rgb(167, 167, 167) !important; 
            display: flex !important;
            align-items: center !important;
            gap: 5px !important;
        }
        
        .donor-card-heart svg {
            width: 14px !important;
            height: 14px !important;
        }

        /* VIEW ALL BUTTON */
        .belair-view-all-container {
            width: 100% !important;
            display: flex !important;
            justify-content: center !important;
            margin-top: 30px !important;
        }
        .belair-view-all-btn {
            background: transparent !important;
            border: 1px solid #fff !important; 
            color: #fff !important;
            padding: 10px 30px !important;
            border-radius: 50px !important;
            font-family: "Outfit", sans-serif !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            font-size: 14px !important;
            display: flex !important;
            align-items: center !important;
            gap: 8px !important;
        }
        .belair-view-all-btn:hover {
            background: #fff !important;
            color: #C95E25 !important;
        }
        
        /* --- GENERAL FORM OVERRIDES --- */
        .form-line { padding: 15px 0 !important; margin: 0 auto !important; max-width: 100% !important; box-sizing: border-box !important; display: block !important; }
        
        .form-label, .form-sub-label { 
            font-family: "Outfit", sans-serif !important; 
            font-size: 16px !important; 
            font-weight: 300 !important; 
            color: #777 !important; 
            margin-bottom: 8px !important; 
            display: block !important; 
            width: 100% !important; 
            text-align: left !important;
            float: none !important;
        }
        
        .form-address-table th { display: table-cell !important; color: #777 !important; font-weight: 600 !important; padding-bottom: 10px !important; text-align: left !important; }

        .form-textbox, .form-dropdown, .form-textarea { 
            width: 100% !important; 
            max-width: 100% !important; 
            padding: 12px 15px !important; 
            border: 1px solid #ddd !important; 
            border-radius: 6px !important; 
            font-family: "Outfit", sans-serif !important; 
            font-size: 16px !important; 
            box-sizing: border-box !important; 
            transition: border-color 0.3s !important; 
            background-color: #f9f9f9 !important; 
        }
        .form-textbox:focus, .form-dropdown:focus { 
            border-color: #263F1E !important; 
            outline: none !important; 
            background-color: #fff !important; 
        }

        /* --- TIER SECTION STYLES (id_1) --- */
        #cid_1 .form-single-column {
            display: grid !important;
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 20px !important;
            width: 100% !important;
        }

        #label_1 {
            float: none !important;
            display: block !important;
            width: 100% !important;
            text-align: center !important;
            margin-bottom: 20px !important;
        }
        li#id_1 {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
        }

        .tier-card {
            position: relative !important;
            border-radius: 12px !important;
            padding: 20px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            min-height: 180px !important;
            cursor: pointer !important;
            transition: transform 0.2s !important;
            box-sizing: border-box !important;
            margin-bottom: 0 !important;
            width: 100% !important;
            border-width: 3px !important;
            border-style: solid !important;
        }

        .form-submit-button {box-shadow: unset !important;}
        .tier-card:hover { transform: translateY(-3px) !important; box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important; }

        .tier-card-orange { 
            border: 2px solid #CA4D2F !important; 
            background-color: #FFF5F2 !important; 
        }
        .tier-card-blue { 
            border: 2px solid #263F1E !important; 
            background-color: #E6F1FA !important; 
        }
        
        .tier-card-orange .tier-price { color: #CA4D2F !important; }
        .tier-card-blue .tier-price { color: #263F1E !important; }

        .tier-card-orange:hover { 
            background-color: #FFE9EB !important; 
            border: 2px solid #CA4D2F !important; 
        }
        .tier-card-orange.tier-selected { 
            background-color: #FFE9EB !important; 
            border: 4px solid #CA4D2F !important; 
        }
        .tier-card-blue:hover { 
            background-color: #D6E8F8 !important; 
            border: 2px solid #263F1E !important; 
        }
        .tier-card-blue.tier-selected { 
            background-color: #D6E8F8 !important; 
            border: 4px solid #263F1E !important; 
        }

        .tier-card-other { grid-column: 1 / -1 !important; margin-top: 10px !important; }
        .tier-card-other .tier-card-content { flex-direction: row !important; gap: 15px !important; justify-content: center !important;  height: 5em !important;}
        .tier-card-other .tier-name { margin-bottom: 0 !important; white-space: nowrap !important; }
        .tier-other-wrapper { width: auto !important; flex-grow: 1 !important; max-width: 300px !important; }
        .tier-card input[type="text"], .tier-card input[type="number"] { width: 100% !important; }

        /* Custom Radio Buttons */
        .tier-card input[type="radio"] { 
            appearance: none !important;
            width: 24px !important;
            height: 24px !important;
            border-radius: 50% !important;
            border: 2px solid #ccc !important;
            background: #fff !important;
            cursor: pointer !important;
            position: absolute !important;
            top: 15px !important;
            right: 15px !important;
        }
        .tier-card-orange input[type="radio"]:checked {
            background-color: #CA4D2F !important;
            border-color: #CA4D2F !important;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") !important;
        }
        .tier-card-blue input[type="radio"]:checked {
            background-color: #263F1E !important;
            border-color: #263F1E !important;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") !important;
        }

        .tier-card-content { display: flex !important; flex-direction: column !important; align-items: center !important; width: 100% !important; text-align: center !important; }
        
        .tier-name { 
            font-size: 18px !important; 
            font-weight: 600 !important;
            margin-bottom: 10px !important; 
            color: #333 !important; 
            text-transform: uppercase !important; 
            letter-spacing: 0.5px !important; 
            font-family: "Spectral", serif !important; 
        }
        .tier-line { width: 80% !important; height: 1px !important; background-color: rgba(0,0,0,0.1) !important; margin: 10px 0 !important; }
        .tier-price { 
            font-size: 16px !important; 
            font-weight: 800 !important;
            color: #555 !important; 
            font-family: "Spectral", serif !important; 
        }
        
        .tier-main-title { font-size: 26px !important; font-weight: 800 !important; color: rgb(66, 66, 66) !important; margin-bottom: 5px !important; text-align: center !important; display: block !important; font-family: "Spectral", serif !important; }
        .tier-sub-title { font-size: 18px !important; font-weight: 400 !important; color: #666 !important; margin-bottom: 25px !important; text-align: center !important; display: block !important; font-family: "Spectral", serif !important; }
        .tier-other-wrapper { display: flex !important; align-items: center !important; justify-content: center !important; margin-top: 0 !important; }
        .tier-currency { font-size: 18px !important; font-weight: 600 !important; margin-right: 2px !important; color: #263F1E !important; }
        
        #cid_1 br, #cid_1 .clearfix { display: none !important; }

        /* --- PAYMENT SECTION SPECIFIC STYLES --- */
        #header_3 {
            text-align: center !important;
            font-size: 32px !important;
            color: rgb(66, 66, 66) !important;
            font-family: "Spectral", serif !important;
            font-weight: 700 !important;
            margin: 10px 0 20px 0 !important;
            position: relative !important;
            padding-bottom: 15px !important;
            display: block !important;
        }
        
        #id_4 .form-sub-label-container { width: 49%; display: inline-block !important; }
        #id_4 .form-sub-label-container:first-child { margin-right: 1% !important; }
        #id_4 [data-type="control_fullname"] { display: flex !important; gap: 10px !important; }
        
        /* Make sure all labels display properly */
        #id_4 .form-label-top, #id_5 .form-label-top, #id_6 .form-label-top, #id_7 .form-label-top {
            float: none !important;
            display: block !important;
            text-align: left !important;
        }
        .form-input {
            margin-left: 0 !important;
            width: 100% !important;
        }
        
        /* TOTAL AMOUNT BOX / PAYMENT WRAPPER */
        #id_9 { 
            padding: 20px !important; 
            margin-top: 20px !important; 
            width: 100% !important; 
            display: flex !important; 
            flex-direction: column !important; 
            background-color: #F6F6F6 !important;
            border: 1px solid #D8D8D8 !important;
            border-radius: 8px !important;
            box-sizing: border-box !important;
        }
        
        #label_9 { font-family: "Outfit", sans-serif !important; font-size: 16px !important; color: rgb(66, 66, 66) !important; margin: 0 !important; }
        #total_amount { font-size: 24px !important; font-weight: 700 !important; color: #263F1E !important; display: flex !important; align-items: baseline !important; font-family: "Outfit", sans-serif !important; }
        #total_amount:after { content: "/Month" !important; font-size: 16px !important; color: #777 !important; font-weight: 400 !important; margin-left: 5px !important; text-transform: capitalize !important; } 
        #div_offset_gift_9 { display: block !important; width: 100% !important; margin-top: 5px !important; text-align: center !important; }

        /* ==========================================================
           --- PAYMENT METHODS GRID STYLES (FIXED ALIGNMENT) --- 
           ========================================================== */

        /* Remove box styles from Main Container */
        #cid_9 {
            background: transparent !important;
            border: none !important;
            border-radius: 0 !important;
            padding: 0 !important;
            margin-top: 10px !important;
            box-sizing: border-box !important;
        }

        /* Flex Layout for Payment Method Cards */
        #cid_9 .form-payment-methods {
            display: flex !important;
            flex-direction: row !important;
            gap: 15px !important;
            width: 100% !important;
            margin-bottom: 20px !important;
            padding: 0 !important;
            box-sizing: border-box !important;
        }

        /* Individual Payment Cards */
        #cid_9 .form-payment-methods .form-radio-item {
            flex: 1 1 0 !important; /* Forces them to share row equally */
            display: flex !important;
            flex-direction: row-reverse !important;
            justify-content: center !important;
            align-items: center !important;
            background-color: #fff !important;
            border: 1px solid #D8D8D8 !important;
            border-radius: 15px !important;
            padding: 15px 10px !important;
            cursor: pointer !important;
            box-sizing: border-box !important;
            float: none !important;
            margin: 0 !important;
            transition: all 0.2s ease;
        }

        .form-payment-methods .form-radio-item.active-payment-card {
            background-color: #d3e9eb !important;
            border-color: #95c3db !important;
        }

        .form-payment-methods label {
            font-size: 16px !important;
            font-family: 'Outfit', sans-serif !important;
            color: #535353 !important;
            cursor: pointer !important;
            white-space: nowrap !important;
        }

        .form-payment-methods input[type="radio"] {
            accent-color: #0000FF !important;
            transform: scale(1.1) !important;
            margin-left: 5px !important;
        }

        /* Force Table Elements to Block for Layout Control */
        #cid_9 .form-address-table,
        #cid_9 .form-address-table tbody {
            display: block !important;
            width: 100% !important;
        }
        .form-address-table {max-width: 100% !important;}
        
        /* Only apply flex layout to visible rows (respect CMS .hide class) */
        #cid_9 .form-address-table tr:not(.hide) {
            display: flex !important;
            flex-wrap: wrap !important;
            width: 100% !important;
            margin-bottom: 15px !important;
        }
        #cid_9 .form-address-table td {
            padding: 0 !important;
            width: 100% !important;
            display: block !important;
        }

        /* Add box style to specific visible payment rows */
        #cid_9 tr.credit_card:not(.hide),
        #cid_9 tr.paypal:not(.hide),
        #cid_9 tr.e_check:not(.hide),
        #cid_9 tr.other:not(.hide),
        #cid_9 tr.billing_address:not(.hide) {
             border-radius: 8px !important;
             padding: 0px !important;
             box-sizing: border-box !important;
             margin-top: 15px !important;
        }

        /* Payment Input Styles */
        #cid_9 .form-textbox, 
        #cid_9 .form-dropdown {
            width: 100% !important;
            max-width: 100% !important;
            padding: 12px 15px !important;
            border: 1px solid #ddd !important;
            border-radius: 6px !important;
            font-family: "Outfit", sans-serif !important;
            font-size: 16px !important;
            box-sizing: border-box !important;
            background-color: #f9f9f9 !important;
            transition: border-color 0.3s !important;
        }
        #cid_9 .form-textbox:focus, 
        #cid_9 .form-dropdown:focus {
            border-color: #3065B4 !important;
            background-color: #fff !important;
            outline: none !important;
        }
        
        /* Headers inside Payment (Credit Card, Billing Address) */
        #cid_9 th {
            font-family: "Outfit", sans-serif !important;
            font-weight: 600 !important;
            color: #535353 !important;
            text-align: left !important;
            padding-bottom: 10px !important;
            display: block !important;
            border-bottom: 1px solid #eee !important;
            margin-bottom: 15px !important;
            margin-top: 5px !important;
            width: 100% !important;
        }

        /* Layout Fixes for CC Fields */
        #cid_9 .cc-field-wrapper { width: 100% !important; }
        #cid_9 .cc_ccv { width: 100% !important; margin-top: 10px !important; }
        
        /* Sub-labels */
        #cid_9 .form-sub-label {
            font-family: "Outfit", sans-serif !important;
            font-size: 14px !important;
            color: #777 !important;
            margin-top: 5px !important;
            display: block !important;
        }

        /* --- SUBMIT BUTTON --- */
        #id_2 { margin-top: 20px !important; padding-bottom: 20px !important; }
        #input_2 {
            width: 100% !important;
            background-color: #263F1E !important;
            color: #fff !important;
            font-family: "Spectral", serif !important;
            font-size: 22px !important;
            padding: 15px 25px !important;
            border-radius: 50px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 15px !important;
            position: relative !important;
            cursor: pointer !important;
            border: 2px solid #263F1E !important;
            transition: all 0.3s ease !important;
        }
        #input_2:hover {
            background-color: #ffffff !important;
            color: #3166b5 !important;
            border-color: #3166b5 !important;
        }
        #input_2:hover .belair-submit-arrow svg {
            fill: #3166b5 !important;
            transition: fill 0.3s ease !important;
        }

        /* --- RESPONSIVE / MOBILE QUERIES --- */
        @media (max-width: 768px) {
            .belair-chai-nav { display: none !important; flex-direction: column !important; padding: 10px !important; }
            .belair-chai-nav-right { flex-direction: column !important; gap: 15px !important; margin-top: 15px !important; }
            .belair-white-box { padding: 20px !important; }
            
            #row-1, #row-3 { background-color: #263F1E !important;}
            .chai-belair-feature-text{ color: white !important;}
            #row-2{ background-color: #CA4D2F !important;}
            
            .belair-chai-partners-title { font-size: 45px !important;}
            .belair-chai-logo-img { width: 120px !important;}
            .belair-chai-title-club { font-size: 80px !important;}
            .belair-chai-title-chai { font-size: 70px !important;}
            
            .belair-chai-donors-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; width: 95% !important;} 
            #cid_1 .form-single-column { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
            .tier-card-other { grid-column: 1 / -1 !important; }
            
            /* Make Payment methods wrap cleanly on mobile */
            #cid_9 .form-payment-methods {
                flex-wrap: wrap !important;
            }
            #cid_9 .form-payment-methods .form-radio-item {
                flex: 0 0 calc(50% - 10px) !important;
            }
        }

        /* --- SCROLL ANIMATION STYLES (NEW) --- */
        .belair-animate-hidden {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
            will-change: opacity, transform;
        }
        .belair-animate-visible {
            opacity: 1;
            transform: translateY(0);
        }
    `;

    // Inject the styles
    var styleSheet = document.createElement("style");
    styleSheet.textContent = belairStyles;
    document.head.appendChild(styleSheet);


    // 2. LOGIC: INJECT SVGS INTO HTML
    // ----------------------------
    function injectSVGs() {
        const ARROW_SVG = `<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" fill="#ffffff">
            <path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"/>
        </svg>`;
        
        const arrowTargets = document.querySelectorAll('.box-arrow-target');
        arrowTargets.forEach(el => { el.innerHTML = ARROW_SVG; });

        const submitBtn = document.getElementById('input_2');
        if(submitBtn && !submitBtn.querySelector('.belair-submit-arrow')) {
            const arrowDiv = document.createElement('div');
            arrowDiv.className = 'belair-submit-arrow'; 
            arrowDiv.style.marginLeft = "12px";
            arrowDiv.style.display = "flex";
            arrowDiv.style.alignItems = "center";
            arrowDiv.innerHTML = ARROW_SVG;
            const overrideStyle = document.createElement('style');
            overrideStyle.innerHTML = `#input_2::after { display: none !important; content: none !important; }`;
            document.head.appendChild(overrideStyle);
            submitBtn.appendChild(arrowDiv);
        }
        
        function scrollToTiers() {
            var formStart = document.getElementById('id_1'); // Mapped to Tier Radio Buttons ID
            if(formStart) formStart.scrollIntoView({behavior: 'smooth'});
            else {
                 var cid1 = document.getElementById('cid_1');
                 if(cid1) cid1.scrollIntoView({behavior: 'smooth'});
            }
        }

        var joinButtons = document.querySelectorAll('.nav-join-action');
        joinButtons.forEach(function(btn) {
            btn.addEventListener('click', function(e) {
                e.preventDefault();
                scrollToTiers();
            });
        });
    }

    // 3. LOGIC: FETCH AND RENDER DONORS
    // ---------------------------------
    function fetchAndRenderDonors() {
        // Automatically inject missing grid container if it wasnt added into the custom HTML wrapper block
        let grid = document.getElementById('belair-chai-donors-grid');
        const countDisplay = document.getElementById('donor-count-display');
        const viewAllBtn = document.getElementById('btn-view-all-donors');
        
        if (!grid && countDisplay) {
            grid = document.createElement('div');
            grid.id = 'belair-chai-donors-grid';
            grid.className = 'belair-chai-donors-grid';
            countDisplay.parentNode.insertBefore(grid, viewAllBtn.parentNode);
        }
        
        if (!grid) return;

        const HEART_ORANGE = `<svg viewBox="0 0 24 24" style="fill:#CA4D2F"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>`;
        const HEART_BLUE = `<svg viewBox="0 0 24 24" style="fill:#263F1E"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>`;

        function csvToArray(str, delimiter = ",") {
            const headers = str.slice(0, str.indexOf("\n")).split(delimiter).map(h => h.trim());
            const rows = str.slice(str.indexOf("\n") + 1).split("\n");
            return rows.map(function (row) {
                const values = row.split(delimiter);
                const el = headers.reduce(function (object, header, index) {
                    object[header] = values[index] ? values[index].trim() : "";
                    return object;
                }, {});
                return el;
            });
        }

        function renderCards(data) {
            var filteredData = data.filter(function(donor) {
                var rawLevel = donor['Level'] || donor['Category'] || "";
                var cleanLevel = rawLevel.replace(/^"|"$/g, '').trim().toLowerCase();
                return cleanLevel !== 'no category';
            });

            grid.innerHTML = "";
            countDisplay.innerText = `${filteredData.length} active partners`;

            if (filteredData.length <= 9) { viewAllBtn.style.display = 'none'; } 
            else { viewAllBtn.style.display = 'flex'; }

            let showCount = 9;
            let isExpanded = false;

            function draw(limit) {
                grid.innerHTML = ""; 
                filteredData.forEach((donor, index) => {
                    if (index >= limit && limit !== -1) return;
                    
                    let heartIcon = (index % 2 === 0) ? HEART_ORANGE : HEART_BLUE;
                    let name = donor['Name'] || donor['name'] || "Anonymous";
                    let rawLevel = donor['Level'] || donor['Category'] || "Chai Partner";
                    let level = rawLevel.replace(/^"|"$/g, '').trim(); 
                    let date = donor['Since'] || donor['Date'] || "Nov 2025";

                    let card = document.createElement('div');
                    card.className = 'belair-chai-donor-card';
                    card.innerHTML = `
                        <div class="belair-chai-card-top">
                            <div class="belair-chai-name-row">
                                <div class="belair-chai-name">${name}</div>
                            </div>
                            <div class="belair-chai-level">${level}</div>
                        </div>
                        <div class="belair-chai-card-divider"></div>
                        <div class="belair-chai-card-bottom">
                            <div class="donor-card-heart">${heartIcon}</div>
                            Partner since ${date}
                        </div>
                    `;
                    grid.appendChild(card);
                });
            }

            draw(showCount);

            viewAllBtn.addEventListener('click', function(e) {
                e.preventDefault(); 
                if (!isExpanded) {
                    draw(-1); 
                    viewAllBtn.innerHTML = `Show Less <span class="arrow-up"></span>`;
                    isExpanded = true;
                } else {
                    draw(showCount); 
                    viewAllBtn.innerHTML = `View All <span class="arrow-down"></span>`;
                    isExpanded = false;
                }
            });
        }

        if (GOOGLE_SHEET_CSV_URL && GOOGLE_SHEET_CSV_URL.startsWith('http')) {
            fetch(GOOGLE_SHEET_CSV_URL)
                .then(response => response.text())
                .then(text => {
                    const data = csvToArray(text);
                    renderCards(data);
                })
                .catch(err => { console.error("Error fetching sheet:", err); });
        }
    }


    // 4. WRAP FORM
    function wrapFormContent() {
        var startElement = document.getElementById('id_1'); // Updated to Form Tiers ID
        var endElement = document.getElementById('id_2');   // Submit Button
        if (startElement && endElement) {
            var parent = startElement.parentNode;
            var wrapper = document.createElement('div');
            wrapper.className = 'belair-white-box';
            parent.insertBefore(wrapper, startElement);
            var current = startElement;
            var elementsToMove = [];
            while (current) {
                elementsToMove.push(current);
                if (current === endElement) break;
                current = current.nextElementSibling;
            }
            elementsToMove.forEach(function(el) { wrapper.appendChild(el); });
        }
    }

    // 5. RESTRUCTURE TIERS
    function restructureTierSection() {
        var headerLabelContainer = document.querySelector('#label_1'); // Updated mapped ID
        var headerLabel = headerLabelContainer ? headerLabelContainer.querySelector('label') : null;
        if (headerLabel) {
            var text = headerLabel.innerHTML; 
            var parts = text.split('/n');
            if (parts.length > 1) {
                headerLabel.innerHTML = `
                    <span class="tier-main-title">${parts[0].trim()}</span>
                    <span class="tier-sub-title">${parts[1].trim()}</span>
                `;
            }
        }
        var container = document.querySelector('#cid_1 .form-single-column'); // Updated mapped ID
        if (container) {
            var items = container.querySelectorAll('.form-radio-item');
            items.forEach(function(item, index) {
                item.classList.add('tier-card');
                
                item.addEventListener('click', function(e) {
                    items.forEach(i => i.classList.remove('tier-selected'));
                    item.classList.add('tier-selected');
                    
                    if (e.target.tagName === 'INPUT') return;
                    var radio = item.querySelector('input[type="radio"]');
                    if (radio) radio.click(); 
                    var otherInput = item.querySelector('.form-radio-other-input');
                    if (otherInput) otherInput.focus();
                });
                
                if (index % 2 === 0) item.classList.add('tier-card-orange');
                else item.classList.add('tier-card-blue');

                var isOther = item.querySelector('.form-radio-other'); 
                if (!isOther) {
                    var label = item.querySelector('label');
                    if (label) {
                        var fullText = label.innerText.trim(); 
                        var dollarIndex = fullText.lastIndexOf('$');
                        if (dollarIndex !== -1) {
                            var title = fullText.substring(0, dollarIndex).trim();
                            var price = fullText.substring(dollarIndex).trim();
                            label.innerHTML = `
                                <div class="tier-card-content">
                                    <div class="tier-name">${title}</div>
                                    <div class="tier-line"></div>
                                    <div class="tier-price">${price}</div>
                                </div>
                            `;
                        }
                    }
                }
            });
        }
    }

    // 6. ENHANCE PAYMENT
    function enhancePaymentSection() {
        var ccNumber = document.querySelector('[id*="cc_number"]');
        if (ccNumber) ccNumber.placeholder = "0000 0000 0000 0000";
        var ccCvv = document.querySelector('[id*="cc_ccv"]');
        if (ccCvv) ccCvv.placeholder = "CVV";
        
        var expiryRow = document.querySelector('.credit_card:last-of-type'); 
        var cvvInput = document.getElementById('input_9_cc_ccv'); // Updated mapped ID
        if (expiryRow && cvvInput) {
            var cvvContainer = cvvInput.closest('td');
            if (cvvContainer && cvvContainer.parentNode !== expiryRow) {
                expiryRow.appendChild(cvvContainer);
            }
        }

        // ===============================================
        // --- NEW: PAYMENT METHOD SELECTION LOGIC ---
        // ===============================================
        var paymentMethodItems = document.querySelectorAll('#cid_9 .form-payment-methods .form-radio-item');
        if (paymentMethodItems.length > 0) {
            paymentMethodItems.forEach(function(item) {
                item.addEventListener('click', function(e) {
                    // Remove active class from all
                    paymentMethodItems.forEach(i => i.classList.remove('active-payment-card'));
                    // Add active class to clicked item
                    item.classList.add('active-payment-card');
                    
                    // Trigger native click on the radio button to open the form section
                    if (e.target.tagName !== 'INPUT') {
                        var radio = item.querySelector('input[type="radio"]');
                        if (radio && !radio.checked) {
                            radio.click(); // Fires the inline BuildSource onclick event
                        }
                    }
                });

                // Set initial active state based on default checked radio
                var radio = item.querySelector('input[type="radio"]');
                if (radio && radio.checked) {
                    item.classList.add('active-payment-card');
                }
            });
        }
    }

    // 7. HIDE MONTHLY
    function handleMonthlyRecurrence() {
        var monthlyCheckbox = document.getElementById('input_8'); // Updated ID for Monthly Recurrence checkbox
        var monthlyRow = document.getElementById('id_8');         // Updated ID for Monthly Recurrence container
        if (monthlyCheckbox) monthlyCheckbox.checked = true;
        if (monthlyRow) {
            monthlyRow.style.display = 'none';
            monthlyRow.style.visibility = 'hidden';
        }
    }

    // 8. ANIMATION LOGIC (INTERSECTION OBSERVER)
    function setupScrollAnimations() {
        const observerOptions = {
            root: null, 
            rootMargin: '0px',
            threshold: 0.1 
        };

        const observer = new IntersectionObserver((entries, observer) => {
            entries.forEach(entry => {
                if (entry.isIntersecting) {
                    entry.target.classList.add('belair-animate-visible');
                    observer.unobserve(entry.target); 
                }
            });
        }, observerOptions);

        const targets = [
            '.belair-chai-nav',                 
            '.belair-chai-header-wrapper',      
            '.belair-chai-hero-image',          
            '.chai-belair-container',           
            '.belair-chai-donors-wrapper',      
            '#id_1',                            // Form: Tiers Section
            '#id_4',                            // Form: Full Name
            '#id_5',                            // Form: Display Name
            '#id_9',                            // Form: Payment Details Container
            '#id_2'                             // Form: Submit Button
        ];

        targets.forEach(selector => {
            const elements = document.querySelectorAll(selector);
            elements.forEach(el => {
                el.classList.add('belair-animate-hidden'); 
                observer.observe(el); 
            });
        });
    }

    function init() {
        injectSVGs();
        handleMonthlyRecurrence();
        fetchAndRenderDonors(); 
        wrapFormContent(); 
        restructureTierSection(); 
        enhancePaymentSection(); 
        
        // Trigger animations last
        setupScrollAnimations();
    }
    
    window.addEventListener('load', init);
    if (typeof jQuery !== 'undefined') { jQuery(document).ready(init); }

})();
</script>
</body>
</html>