1 Month FREE on All NEW Leases moving in by 4/21 for a limited time only!! Learn More
1 Month FREE on All NEW Leases moving in by 4/21 for a limited time only!
Expires on April 21st, 2025
{"id":11290,"unique_id":"be758718-5ad0-4020-991c-eaaa9d765820","vsa_type":"regular","show":true,"teaser_placements":[],"config":{"config":{"pk":1434,"providerID":13126,"userID":11241,"name":"The Elaine","useCronofyCalendar":false,"showPricingUnavailable":true,"coordinates":[null,null],"advisorName":"Community Assistant","amenities":["On Site Maintenance","Controlled Access","Online Payments Available","Covered Garage","Cats Allowed","Laundry Facilities"],"backgroundColor":"#f5f5f7","brandColor":"#56B6ED","buttonColor":"#56B6ED","color":"#121212","chatWidth":350,"fontFamily":"Roboto;","fontSize":"13px","iconLogo":"https://images.talkfurther.com/uploaded_facility/34522dd97b1114ad69b3cd09682c1afb.png","backdropImage":null,"banner":null,"bannerEndDate":null,"events":[],"position":"right","introText":"Hi! Nice to meet you.","showMaxTimes":null,"pause":1,"phoneInputAdditionalWarningText":"By entering your phone, you agree to The Elaine contacting you via SMS/email in response to inquiries. Message frequency varies and message and data may apply. Text HELP for help. Text STOP to unsubscribe. Links to [Privacy Policy](https://cdn.talkfurther.com/Further’s%20Privacy%20Policy.pdf) and [Terms](https://cdn.talkfurther.com/Further's%20Terms.pdf).","hasActiveNurtureCampaigns":true,"webpageUrl":"https://www.elaineapartments.com/","teaserScrollDelay":"0px","teaser":"Hello, Welcome to The Elaine!","teaserVersion":1,"customJavascript":"fetch('https://script.google.com/macros/s/AKfycbzO4BUr01_mek1cMFAe--Ql42EyHp57_mUWuyDrL7DYd4BDWvklBX6StMiYLkocHZtE3w/exec')\n .then(response => response.json())\n .then(data => {\n window.pricingData=data; // This will log your Google Sheets data\n })\n .catch(error => console.error('Error fetching data:', error));\n\nfunction findBrandColor(furtherSiteConfiguration) {\n for (let item of furtherSiteConfiguration) {\n \n if (item.vsa_type === 'regular') {\n // Assuming the structure is as described and nested correctly\n const brandColor = item.config.config.brandColor;\n \n return brandColor;\n }\n }\n return '#000000'; // Return #000000 if not found\n}\n\nlet brandColor = findBrandColor(FurtherSiteManager.siteSetup.properties);\n\nfunction updateBotMessage(pricingObject, appendLast = false) {\n // Get the bot message elements from the shadow root\n let shadowRootHTML = document.querySelector(\"body > family-assets-chat\").shadowRoot;\n let results = shadowRootHTML?.querySelectorAll(\"#react-root > div > div.chat > div > div > div > div.BotMessage__MessageBubble-sc-16sg9x2-1\");\n\n // Convert NodeList to Array to use Array methods\n let botMessages = Array.from(results).filter(item => item.innerHTML.includes(\"Thank you for letting us know\"));\n\n // Check if any bot messages were found\n if (botMessages.length === 0) {\n console.log(\"Bot message element not found.\");\n return;\n }\n\n // Determine the target messages based on the appendLast flag\n const targetMessages = appendLast ? [botMessages[botMessages.length - 1]] : botMessages;\n\n // Process each target bot message\n targetMessages.forEach(botMessage => {\n // Check if the 'altPricingSuggestions' ID already exists to prevent duplication\n if (botMessage.querySelector('#altPricingSuggestions')) {\n return; // Skip if already added\n }\n\n // Add additional text\n let additionalText = document.createElement(\"p\");\n additionalText.textContent = \"Based on your budget, we have some nearby properties that might be a better fit. We encourage you to explore the alternative options below.\";\n additionalText.style.fontWeight = '400';\n additionalText.style.color = '#282923';\n botMessage.appendChild(additionalText);\n\n // Create a list to hold the locations\n let list = document.createElement(\"ul\");\n list.id = 'altPricingSuggestions'; // Assign ID to the list\n list.style.listStyleType = \"none\"; // Remove bullet points\n list.style.paddingLeft = \"0\"; // Remove padding on the left\n\n // Iterate through keys in the pricingObject to create list items\n Object.entries(pricingObject).forEach(([url, details], index) => {\n if (index < 3) { // Limit to 3 entries\n let listItem = document.createElement(\"li\");\n listItem.style.display = \"flex\"; // Use flexbox for layout\n listItem.style.alignItems = \"center\"; // Vertically center the content\n listItem.style.marginBottom = \"10px\"; // Add space between items\n\n // Create a link for the community name\n let link = document.createElement(\"a\");\n link.href = url;\n link.textContent = details.communityName;\n link.target = \"_blank\";\n link.style.color = brandColor; // brandColor is not a property\n link.style.marginLeft = \"5px\"; // Space between icon and text\n\n // Create an image element for the icon\n let icon = document.createElement(\"img\");\n icon.src = details.communityIcon;\n icon.alt = details.name + \" icon\";\n icon.style.borderRadius = \"50%\"; // Make the icon a circle\n icon.style.width = \"50px\";\n icon.style.height = \"50px\";\n icon.style.objectFit = \"cover\"; // Ensure the image covers the circle\n\n // Append icon and link to the list item\n listItem.appendChild(icon);\n listItem.appendChild(link);\n\n // Append the list item to the list\n list.appendChild(listItem);\n }\n });\n\n // Append the list to the bot message\n botMessage.appendChild(list);\n });\n}\n\n\n\n\nfunction pricingFilter(structuredData, inputPrice) {\n // Filter the entries to only those with a price less than the input price\n const currentOrigin = window.location.origin; // Get the current origin from the window object\n\n // Filter the entries to only those with a price less than the input price and not matching the current origin\n const eligibleEntries = Object.entries(structuredData).filter(([key, value]) => {\n return value.communityPrice < inputPrice && key !== currentOrigin;\n });\n\n // Sort these entries by how close their price is to the input price\n const sortedByClosestUnderPrice = eligibleEntries.sort((a, b) => {\n return (inputPrice - a[1].communityPrice) - (inputPrice - b[1].communityPrice);\n });\n\n // Get up to the first three entries\n const closestUnderPrices = sortedByClosestUnderPrice.slice(0, 3);\n\n // Return the keys of these entries\n const closestUnderPricesKeys = closestUnderPrices.map(entry => entry[0]);\n\n // Optional: If you want to keep the structured data in the result\n const closestUnderPricesStructured = closestUnderPrices.reduce((acc, [key, value]) => {\n acc[key] = value;\n return acc;\n }, {});\n\n return closestUnderPricesStructured; // You can return closestUnderPricesStructured if you want the full data\n}\n\n\n\nfunction addOOMBPricingOptions() {\n // Return early if no budget is defined\n if (!window.leadBudget) {\n return;\n }\n\n let pricingObject;\n\n // Ensure both leadBudget and pricingData are available before proceeding\n if (window.leadBudget && window.pricingData) {\n pricingObject = pricingFilter(window.pricingData, window.leadBudget);\n \n // Check if the pricingObject is empty\n if (Object.keys(pricingObject).length < 1) {\n return;\n }\n\n // Update the bot message with the obtained pricing object\n updateBotMessage(pricingObject, true);\n }\n}\n\nfunction addPricing() {\n let shadowRoot = document.querySelector(\"body > family-assets-chat\")?.shadowRoot;\n if (!shadowRoot) return; // Exit if no shadow root\nif (!window.pricingData) return; //Exit if no window.pricingData\n let outputPrice = window.pricingData[window.location.origin].communityPrice;\n let outputCommunityName = window.pricingData[window.location.origin].communityName;\n let formattedPrice = new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD', minimumFractionDigits: 0, maximumFractionDigits: 0 }).format(outputPrice);\n \n let htmlContent = `<table style=\"width: 100%; border-collapse: collapse; border: none;\">\n <tbody>\n <tr class=\"PricingV1V3__DetailedPricingItem-sc-1o8egff-3\">\n <td class=\"left\"><div class=\"name\" style=\"color:${brandColor};\">${outputCommunityName}</div></td>\n <td class=\"right\" style=\"text-align: right;\">\n <div class=\"right-container\">\n <span class=\"starting-from dscnt\" style=\"border:none;\">starting from \n <b style=\"color:${brandColor};\">${formattedPrice}</b>\n </span>\n </div>\n </td>\n </tr>\n </tbody>\n </table>`;\n\n // Find all target elements within the shadow root\n let targetElements = shadowRoot.querySelectorAll(\"#react-root > div > div.chat > div > div > div > div > div > div.top\");\n targetElements.forEach(targetElement => {\n // Check if the pricing info has already been added\n if (!targetElement.querySelector(\"#pricingInfo\")) {\n // Clear existing content before inserting new HTML\n targetElement.innerHTML = '';\n\n // Create a div to wrap the table for further styling\n let wrapperDiv = document.createElement('div');\n wrapperDiv.id = \"pricingInfo\"; // Set an ID for the wrapper div\n wrapperDiv.innerHTML = htmlContent;\n wrapperDiv.style.width = \"100%\"; // Ensure the div takes full width to align content to the right\n wrapperDiv.style.border = \"none\"; // No border for the wrapper\n\n // Append the wrapper div to the target element\n targetElement.appendChild(wrapperDiv);\n }\n });\n}\n\nsetInterval(addPricing,400)\n\nsetInterval(addOOMBPricingOptions,400)","cssTheme":{},"customCss":"\n\n\n","createURL":"https://api.talkfurther.com/api/create/profiles/13126","spaceBarHijacked":true,"apiUpdateLeadURL":"https://api.talkfurther.com/api/leads/:lead_id","apiChatStartURL":"https://api.talkfurther.com/api/chat/start/13126","apiChatUpdateURL":"https://api.talkfurther.com/api/chat/update/13126","apiLocationsURL":"https://api.talkfurther.com/api/chat/search/13126","apiChatEventURL":"https://api.talkfurther.com/api/chat/store_event?community_id=13126&user_id=11241","apiLoggingUrl":"https://api.talkfurther.com/api/chat/log","apiChatOutOfBudgetURL":"https://api.talkfurther.com/api/chat/out_of_budget","apiResendLeadEmailURL":"https://api.talkfurther.com/api/chat/resend-lead-email","apiJobApplicantURL":"https://api.talkfurther.com/api/chat/applicants","apiOptOutUrl":"https://api.talkfurther.com/api/chat/opt-out","apiCommunityTestimonialsURL":"https://api.talkfurther.com/api/chat/communities/04396c40-f593-4e16-8603-ec303160a0a1/testimonials","apiButtonURL":"https://api.talkfurther.com/api/chat/button/update/13126","buttons":[],"images":["https://images.talkfurther.com/uploaded_facility/4092d2b9b0bc5bf4f5f9e7a10a5c78ce.jpeg","https://images.talkfurther.com/uploaded_facility/1b1eb742564da398264f52ef6171e8ee.jpeg","https://images.talkfurther.com/uploaded_facility/916ad599b4b6e54996aef8d610676748.jpeg","https://images.talkfurther.com/uploaded_facility/b091a312a4ea1e2872e782d6b21510e5.jpeg","https://images.talkfurther.com/uploaded_facility/507c3905031a0d2dde3ea2c88b7629b8.jpeg","https://images.talkfurther.com/uploaded_facility/4ed238e1fd926d0220c1a08bae1221f8.jpeg","https://images.talkfurther.com/uploaded_facility/22814b44e91f0ed715a92e2703ecb89c.jpeg","https://images.talkfurther.com/uploaded_facility/4533696315684f727cab51a2a6a32926.jpeg","https://images.talkfurther.com/uploaded_facility/1fb5f40b54cba7ba76bcf8e691114a94.jpeg","https://images.talkfurther.com/uploaded_facility/c8048bf8182846109a9b02025f7eacdc.jpeg","https://images.talkfurther.com/uploaded_facility/b3b3b31ed0b5751f81fb65cfbc8d9b55.jpeg","https://images.talkfurther.com/uploaded_facility/3c71fbcf22b635de3317ffd84594530b.jpeg"],"imagesUrl":"","floorplans":[{"id":10487,"name":"Studio","room_size":"Studio","care_description":null,"care_types":["Independent Living"],"image":"https://images.talkfurther.com/uploaded_facility/3b18f8c5b22ff02581dba2cc882aac65.jpeg","sq_feet":472,"num_baths":1},{"id":10488,"name":"Junior 1-Bedroom","room_size":"One Bedroom","care_description":null,"care_types":["Independent Living"],"image":"https://images.talkfurther.com/uploaded_facility/b5b13b6b6c49c4c1cba3c4ee1cd074a6.jpeg","sq_feet":457,"num_baths":1},{"id":10489,"name":"1 Bedroom","room_size":"One Bedroom","care_description":null,"care_types":["Independent Living"],"image":"https://images.talkfurther.com/uploaded_facility/48f0379de8eb39d85a1c6ba7568a7280.jpeg","sq_feet":877,"num_baths":1},{"id":10490,"name":"1 Bedroom + Den","room_size":"One Bedroom","care_description":null,"care_types":["Independent Living"],"image":"https://images.talkfurther.com/uploaded_facility/75717f776eb3a964a65c6b88c744bcf5.jpeg","sq_feet":808,"num_baths":1},{"id":10491,"name":"2 Bedroom","room_size":"Two Bedroom","care_description":null,"care_types":["Independent Living"],"image":"https://images.talkfurther.com/uploaded_facility/b27563d6bbeaeee1c9f4136c61990abe.jpeg","sq_feet":1192,"num_baths":2}],"floorPlanUrl":"","videos":[],"videosUrl":null,"digital_tours":[],"staff":[],"sameDayTour":false,"nextDayTour":true,"showTitleFlash":true,"startingCost":0,"endingCost":null,"prices":[],"pricingServicesText":"Services included with monthly rent","pricingGalleryText":"View Photos","pricingType":"Monthly Rent","weekendInactive":false,"disableSmallerDevices":false,"disableMobile":false,"filterPricing":false,"fullNameRequired":true,"timesAvailable":{},"timezoneName":"America/New_York","timezoneOffset":"-04:00","modulesByName":{"OPEN_PRICING":2,"OPEN_SCHEDULE_TOUR":9,"ANSWER_FLOW":44,"OPEN_FLOORPLAN":31,"OPEN_GALLERY":60,"CLICKABLE_IA":62},"maxPhoneAttempts":null,"disabledDays":[],"iaMaxAttempts":2,"iaProceedMessage":"","iaProceedOnError":true,"iaScheduleTourButtonText":"","showIaFeedback":true,"teaserShowAllAnswers":false,"showFurtherLogo":false,"showSMSandCallBadges":false,"isSherpa":false,"tourSlideButtonText":"","useFancyTourButton":false,"buttonsBorderRadius":6,"webFormInstances":[],"captureWebforms":false,"communityPhoneNumber":"(202) 363-8282","interestedCount":14,"useClientSideRouting":true,"isFloatingChat":false,"isDynamicFlowsChat":false,"minimizeChatOnOutsideClick":false,"delayLoading":0,"useProgressPanel":false,"allowWebCalls":false,"buttonOverrides":[]},"modules":{"1":{"text":"How can I help you today?","number":1,"type":"option","key":"what","pk":56383,"skip_answered":false,"action":null,"content":{},"answers":[{"text":"Pricing","icon":null,"action":2,"id":605021,"action_id":169567,"rank":0},{"text":"Schedule A Tour","icon":null,"action":9,"id":121617,"action_id":169568,"rank":1},{"text":"View Images","icon":null,"action":60,"id":121619,"action_id":169569,"rank":2},{"text":"View Floor Plans","icon":null,"action":31,"id":121620,"action_id":169570,"rank":3},{"text":"Resident Question","icon":null,"action":25,"id":121679,"action_id":169571,"rank":4},{"text":"Ask Us Something","icon":null,"action":62,"id":154166,"action_id":169572,"rank":5},{"text":"Ask Question To Community","icon":null,"action":44,"id":178189,"action_id":169573,"rank":6}]},"2":{"text":"What apartment size are you looking for?","number":2,"type":"option","key":"room_size","pk":56393,"skip_answered":false,"action":null,"content":{},"answers":[{"text":"Studio","icon":null,"action":4,"id":121675,"action_id":169556,"rank":0},{"text":"One Bed","icon":null,"action":4,"id":121676,"action_id":169557,"rank":1},{"text":"Two Bed","icon":null,"action":4,"id":121677,"action_id":169558,"rank":2},{"text":"Three Bed","icon":null,"action":4,"id":121678,"action_id":169559,"rank":3},{"text":"Not Sure","icon":null,"action":4,"id":121639,"action_id":169560,"rank":4}]},"4":{"text":"What is your timeline?","number":4,"type":"option","key":"timing","pk":56395,"skip_answered":false,"action":null,"content":{},"answers":[{"text":"Immediately","icon":null,"action":5,"id":121647,"action_id":169574,"rank":0},{"text":"1 to 3 Months","icon":null,"action":5,"id":121648,"action_id":169576,"rank":1},{"text":"3 Months +","icon":null,"action":5,"id":121649,"action_id":169578,"rank":2},{"text":"Just Researching","icon":null,"action":5,"id":121650,"action_id":169580,"rank":3}]},"5":{"text":"What is your first and last name?","number":5,"type":"text","key":"first_name","pk":56396,"skip_answered":false,"action":6,"content":{},"action_id":169584},"6":{"text":"What is your cell phone number?","number":6,"type":"phone","key":"phone","pk":56397,"skip_answered":false,"action":7,"content":{},"action_id":169585},"7":{"text":"What is your email address? We will use this to identify your request in our system.","number":7,"type":"email","key":"email","pk":56398,"skip_answered":false,"action":8,"content":{},"action_id":169587},"8":{"text":"try{window.dataLayer.push({\"event\": \"FurtherLead\"});}catch(err){};","number":8,"type":"submit","key":null,"pk":56399,"skip_answered":false,"action":10,"content":{},"action_id":169588},"9":{"text":"When would you like to visit?","number":9,"type":"date_picker","key":"tour_date","pk":56385,"skip_answered":false,"action":14,"content":{},"action_id":169589},"10":{"text":"Please schedule a visit to learn more about The Elaine.","number":10,"type":"option","key":"more","pk":56400,"skip_answered":false,"action":null,"content":{},"answers":[{"text":"Schedule A Tour","icon":null,"action":9,"id":253137,"action_id":169551,"rank":0},{"text":"Ask A Question","icon":null,"action":62,"id":253139,"action_id":169552,"rank":1},{"text":"Out Of My Budget","icon":null,"action":507,"id":354431,"action_id":169553,"rank":2}],"role":"pricing"},"14":{"text":"What is your first and last name?","number":14,"type":"text","key":"first_name","pk":56387,"skip_answered":false,"action":15,"content":{},"action_id":169591},"15":{"text":"What is your email address? We will use this to identify your request in our system.","number":15,"type":"email","key":"email","pk":56388,"skip_answered":false,"action":16,"content":{},"action_id":169592},"16":{"text":"What is your phone number?","number":16,"type":"phone","key":"phone","pk":56389,"skip_answered":false,"action":17,"content":{},"action_id":169564},"17":{"text":"try{window.dataLayer.push({\"event\": \"FurtherLead\"});}catch(err){};","number":17,"type":"submit","key":null,"pk":56390,"skip_answered":false,"action":18,"content":{},"action_id":169586},"18":{"text":"Your tour has been requested and someone will be in touch shortly to confirm. Please let us know if there is anything else we can help with.","number":18,"type":"option","key":"more","pk":56391,"skip_answered":false,"action":null,"content":{},"answers":[{"text":"Go Back To Start","icon":null,"action":1,"id":354432,"action_id":169554,"rank":0},{"text":"Close Chat","icon":null,"action":null,"id":123489,"action_id":169555,"rank":1}]},"25":{"text":"","number":25,"type":"link","key":null,"pk":56407,"skip_answered":false,"action":1,"content":{},"answers":[{"text":"Next","icon":null,"action":1,"id":null,"action_id":169563,"rank":1}],"link_href":"https://elaineapartments.securecafe.com/residentservices/the-elaine/userlogin.aspx?utm_nooverride=1&_yTrackUser=MTA3NDg0ODYyNyM0MzU5NjUwMjI%3d-NmW0UmgSCB8%3d&_yTrackVisit=MTkyMjIxNTI1MyMxNTY2NzI0MjAx-TyJXKOpvWUA%3d&_yTrackReqDT=10102120212602&_ga=2.68762322.299340300.1614372836-624605081.1614372836"},"31":{"text":"","number":31,"type":"option","key":null,"pk":56413,"skip_answered":false,"action":null,"content":{},"answers":[{"text":"Go Back To Start","icon":null,"action":1,"id":354434,"action_id":169561,"rank":0},{"text":"Pricing","icon":null,"action":2,"id":315694,"action_id":169562,"rank":1}],"role":"floorplan","link_href":"https://www.elaineapartments.com/floorplans.aspx"},"44":{"text":"Please enter your question below.","number":44,"type":"text","key":"lead_additional_information","pk":56417,"skip_answered":false,"action":61,"content":{},"action_id":169593},"46":{"text":"What is your email address?","number":46,"type":"email","key":"email","pk":56419,"skip_answered":false,"action":501,"content":{},"action_id":169595},"60":{"text":"","number":60,"type":"option","key":"what","pk":56384,"skip_answered":false,"action":null,"content":{},"answers":[{"text":"Pricing","icon":null,"action":2,"id":121622,"action_id":169596,"rank":0},{"text":"Schedule A Tour","icon":null,"action":9,"id":121623,"action_id":169597,"rank":1},{"text":"View Floor Plans","icon":null,"action":31,"id":123488,"action_id":169598,"rank":2},{"text":"Ask A Question","icon":null,"action":62,"id":253138,"action_id":169599,"rank":3}],"role":"gallery"},"61":{"text":"What is your first and last name?","number":61,"type":"text","key":"first_name","pk":56421,"skip_answered":false,"action":46,"content":{},"action_id":169600},"62":{"text":"Please click on an option below to learn more about our property","number":62,"type":"clickable_ia","key":null,"pk":74014,"skip_answered":false,"action":null,"content":{},"action_id":804343},"500":{"text":"We are excited to welcome you to tour The Elaine. Would you like to come for an in person tour, or do a virtual tour?","number":500,"type":"option","key":"tour_type","pk":74218,"skip_answered":false,"action":null,"content":{},"answers":[{"text":"Schedule A Tour","icon":null,"action":9,"id":154575,"action_id":169565,"rank":0}]},"501":{"text":"What is your phone number?","number":501,"type":"phone","key":"phone","pk":87870,"skip_answered":false,"action":502,"content":{},"action_id":169601},"502":{"text":null,"number":502,"type":"submit","key":null,"pk":87871,"skip_answered":false,"action":503,"content":{},"action_id":169602},"503":{"text":"Thank you for your question. Someone will be in touch shortly.","number":503,"type":"option","key":"more","pk":87872,"skip_answered":false,"action":null,"content":{},"answers":[{"text":"Go Back To Start","icon":null,"action":1,"id":354435,"action_id":169603,"rank":0},{"text":"Close Chat","icon":null,"action":null,"id":178192,"action_id":169604,"rank":1}]},"507":{"text":null,"number":507,"type":"out_of_budget","key":null,"pk":87876,"skip_answered":false,"action":510,"content":{},"action_id":169605},"508":{"text":"Thank you for letting us know.","number":508,"type":"option","key":"more","pk":87877,"skip_answered":false,"action":null,"content":{},"answers":[{"text":"Go Back To Start","icon":null,"action":1,"id":354436,"action_id":169582,"rank":0},{"text":"Close Chat","icon":null,"action":null,"id":178200,"action_id":169583,"rank":1}]},"510":{"text":"What is your budget?","number":510,"type":"text","key":"budget","pk":87879,"skip_answered":false,"action":511,"content":{},"action_id":804344},"511":{"text":"function assignLeadBudget() {\n let leadInfo = FurtherChat.getLeadInfo();\n\n // Check if leadInfo exists and budget is defined\n if (leadInfo && leadInfo.budget !== undefined) {\n let budgetString = String(leadInfo.budget).trim(); // Convert to string and trim whitespace\n let normalizedBudget = budgetString.replace(/[$,\\s]/g, ''); // Remove dollar signs, commas, and spaces\n\n // Validate the normalized budget: it should be purely numeric after removing $ and ,\n if (normalizedBudget && !isNaN(normalizedBudget) && Number(normalizedBudget) >= 100) {\n window.leadBudget = Number(normalizedBudget); // Assign to window.leadBudget as a number\n } else {\n window.leadBudget = false; // Set leadBudget to false if the budget is invalid\n }\n } else {\n window.leadBudget = false; // Also set to false if budget is undefined or leadInfo is not valid\n }\n}\n\nassignLeadBudget();","number":511,"type":"eval","key":null,"pk":382543,"skip_answered":false,"action":508,"content":{},"action_id":804345}}}}