Mind Management Services Inc. 

Norwich Connecticut

Book an Appointment

CONTACT

Mind Management Services Inc.

20 Central Avenue Norwich CT, 06360

860+-889+4944

 

 

This website is created and hosted by Website.com's Site Builder.

", "_blank"); }); $('#el-2747616').hover( function () { $(this).addClass("hover"); }, function () { $(this).removeClass("hover"); } ); $("body").on("changeMode", function(event, mode) { if(mode === "desktop") { } else { var $el = $('#el-64263'); if($el.hasClass("disableMobileParallax")) { $el.css("background-attachment", "scroll"); } else { $('#el-64263').css("background-attachment", "fixed").parallax("50%", 0.4); } } }); $("body").on("changeMode", function(event, mode) { if(mode === "desktop") { $('#el-64323').css("background-attachment", "fixed").parallax("50%", 0.4); } else { var $el = $('#el-64323'); if($el.hasClass("disableMobileParallax")) { $el.css("background-attachment", "scroll"); } else { $('#el-64323').css("background-attachment", "fixed").parallax("50%", 0.4); } } }); $.validator.addMethod("phone", function(value, element) { return this.optional(element) || /^[01]?[- .]?\(?[2-9]\d{2}\)?[- .]?\d{3}[- .]?\d{4}$/.test(value); }, "Please enter a valid phone number." ); $.validator.addMethod("ssn", function(value, element) { return this.optional(element) || /[/,,/.,/=,\s]([0-6]\d{2}|7[0-6]\d|77[0-2])(\s|\-)?(\d{2})\2(\d{4})[/,,/.,\s]/.test(value); }, "Please enter a valid SSN number." ); $.validator.addMethod("zipcode", function(value, element) { return this.optional(element) || /^\d{5}(-\d{4})?$/.test(value); }, "Please enter a valid zip code." ); $.validator.addMethod("creditcard", function(value, element) { //return this.optional(element) || /^((4\d{3})|(5[1-5]\d{2})|(6011))-?\d{4}-?\d{4}-?\d{4}|3[4,7]\d{13}$/.test(value); if (this.optional(element)) { return true; } else { function luhn(cardnumber) { // Build an array with the digits in the card number var digits = cardnumber.split(''); for (var i = 0; i < digits.length; i++) { digits[i] = parseInt(digits[i], 10); } // Run the Luhn algorithm on the array var sum = 0; var alt = false; for (i = digits.length - 1; i >= 0; i--) { if (alt) { digits[i] *= 2; if (digits[i] > 9) { digits[i] -= 9; } } sum += digits[i]; alt = !alt; } // Check the result if (sum % 10 == 0) { return true; } else { return false; } } value = value.replace(/[\-\s]/g, ""); var isValidFormat = /^(?:(4\d{12}(?:\d{3})?)|(5[1-5]\d{14})|(2[2-7]2\d{13})|(6(?:011|5\d{2})\d{12})|(3[47]\d{13})|(3(?:0[0-5]|[68]\d)\d{11})|((?:2131|1800|35\d{3})\d{11}))$/.test(value); if (isValidFormat) { return luhn(value); } else { return false; } } }, "Please enter a valid credit card number." ); $("#el-64330 form").validate(); var renderRecaptcha81197 = function(){ window.setTimeout(function(){ if (recaptchaScriptLoaded) { var $recaptcha = $("#g-recaptcha-"+81197); if ($recaptcha.length) { grecaptcha.render('g-recaptcha-'+81197, { 'sitekey': '6LcJboAUAAAAAJl8hWw5lWAJ8j-e8zPU8XYqGM0T' }); adjustRecaptcha81197(); } } else { renderRecaptcha81197(); } }, 200); }; var adjustRecaptcha81197 = function(){ var recaptchaWidth = 304; var formID = 81197; var $recaptcha = $("#g-recaptcha-"+formID); if ($recaptcha.length) { var inputWidth = $recaptcha.parents(".controls").width(); if (inputWidth < recaptchaWidth) { $recaptcha.css({ "transform": "scale(" + (inputWidth/recaptchaWidth) + ")", "transform-origin": "0 0" }); } else { $recaptcha.css({ "transform": "none", "transform-origin": "initial" }); } } } $(function(){ renderRecaptcha81197(); }); var $mobileMenu = $("#el-64283"); if($mobileMenu.find(".mobile-menu-links li").length) { $mobileMenu.show(); $mobileMenu.find(".submenu").each(function() { var $this = $(this); if(!$this.find("ul li").length) { $this.find(".mobile-arrow").remove(); } }); $mobileMenu.find(".mobile-menu").height($(window).height()).mCustomScrollbar({ theme: 'mobile-menu-light' }); var openMobileMenu = function(event) { $mobileMenu.addClass("open"); var $doc = $(document); var overlayCSS = { position: 'absolute', 'z-index': 99999, width: $doc.width(), height: $doc.height(), left: 240, top: 0 }; $(".body-overlay").remove(); $("
") .appendTo("body") .css(overlayCSS) .on("mousedown touchstart", function(e) { e.stopPropagation(); e.preventDefault(); closeMobileMenu(); }); // for demo header, if it exists var $demoHeader = $("#demoHeader"); if ($demoHeader.css("display") !== "none") { var winWidth = $(window).width(); $demoHeader.width(winWidth); } }; closeMobileMenu = function() { $mobileMenu.removeClass("open"); $(".body-overlay").remove(); }; $mobileMenu.find(".mobile-menu-open-icon").on("touchstart mousedown", function(e) { e.stopPropagation(); e.preventDefault(); openMobileMenu(); }); $(window).resize(function() { closeMobileMenu(); $mobileMenu.find(".mobile-menu").height($(window).height()); }); $mobileMenu.find(".mobile-arrow, #el-64283 .submenu.toggle > a").on("touchstart mousedown", function(e) { e.stopPropagation(); e.preventDefault(); $(this).parent().toggleClass("opened closed"); }); } $("body").on("changeMode", function(event, mode) { if(mode === "desktop") { } else { var $el = $('#el-64284'); if($el.hasClass("disableMobileParallax")) { $el.css("background-attachment", "scroll"); } else { $('#el-64284').css("background-attachment", "fixed").parallax("50%", 0.4); } } }); gaTrackEvent = function (category, action, label, value, nonInteraction) { var fields = { eventCategory: category, eventAction: action + ($('body').hasClass('mobile-mode') ? " (mobile)" : " (desktop)"), eventLabel: label || '' }; if (typeof value !== 'undefined') { fields.eventLabel = value; } if (typeof nonInteraction !== 'undefined') { fields.nonInteraction = nonInteraction; } ga('send', 'event', fields); }; if(typeof ga !== 'undefined') { ga('send', 'pageview'); } });