validated successfully
"), $("form#" + t).find(".cp").val("captcha"), !0) : ($("form#" + t + " .BotRecaptcha").html("Security Code is Wrong
"), !1) } $().ready(function () { $ = jQuery; $(".form").length > 0 && $(".form").validate(), $(".sidebarform").length > 0 && $(".sidebarform").validate({ submitHandler: function (t) { if (!ValidBotBoot("sidebarcontactForm")) return !1; t.submit() } }), $(".htmlform").length > 0 && $(".htmlform").validate({ submitHandler: function (t) { if (!ValidBotBoot("htmlcontactForm")) return !1; t.submit() } }); $("img[data-link='1']").each(function (t, a) { 0 == $(a).parents("a").length && $(a).wrap("") }), $("body").find("a.imgPOP").on("click", function (t) { t.preventDefault(), $.fn.prettyPhoto(), $.prettyPhoto.open($(this).attr("href"), $(this).attr("title"), "") }); $("span.maskVar").each(function () { let value = $(this).attr('data-val'); let parent = $(this).parent('a'); if (parent.length) { let type = parent.attr('href').split(':'); if (type.length >= 2) { parent.attr('href', type[0] + ':' + value); } else { //parent.attr('href', '#'); } } $(this).html(value).contents().unwrap(); }); $(".custom-cta-btn").each(function () { let href = $(this).attr('href').split(':'); let action, start, end; if (href.length == 1) { action = ''; href = href[0]; } else { action = href[0]; href = href[1]; } if (href.includes('data-val')) { start = href.indexOf('data-val') + 10; end = href.indexOf("'>") - start; href = href.substr(start, end); if (action == '') { $(this).attr('href', href); } else { $(this).attr('href', action + ":" + href); } } }); }); $(window).scroll(function () { if ($(this).scrollTop() > 300) { $('.custom-cta-btn').stop(true, true).fadeIn(); } else { $('.custom-cta-btn').stop(true, true).fadeOut(); } }); let value = `Get Connected: Call 626-284-9278`; $("body").append(value); $("head").append(''); function closeJoinUs() { $("div.join-us").remove(); }