var u = 'https://embed.growform.co/modalClient/670923856c832e000bfc3888'; if(window.location.search) { u = u + window.location.search } document.write(` `); document .getElementsByTagName("head")[0] .insertAdjacentHTML( "beforeend", '' ); function closeGrowformModal() { document.getElementById("growformModal").classList.add("growformClosedModal"); document .getElementById("growformModal") .classList.remove("growformOpenModal"); document.body.classList.remove("noScrollBody"); } function openModal() { document.getElementById("growformModal").classList.add("growformOpenModal"); document.getElementById("growformModal").classList.remove("growformClosedModal"); document.getElementById("growformModal").removeAttribute("style"); document.body.classList.add("noScrollBody"); } if((typeof targetId !== 'undefined' && document.getElementById(targetId))) { document.getElementById(targetId).onclick = function() { openModal(); }; } if((typeof growformTargetId !== 'undefined' && document.getElementById(growformTargetId))) { document.getElementById(growformTargetId).onclick = function() { openModal(); }; } if(typeof growformTargetClass !== 'undefined') { var growformTargetClassElements = document.getElementsByClassName(growformTargetClass); for (var i = 0; i < growformTargetClassElements.length; i++) { growformTargetClassElements[i].onclick = function() { openModal(); } } }