THE BERNSTEIN BLOG
Vehicle Accidents Serious Injuries Medical Issues News Other
Most hospital patients are focused on receiving the medical Read more…
If you have been feeling out of sorts since the recent “sp Read more…
Drug manufacturers and distributors are no longer exempt fro Read more…
When we purchase a product, whether it is a new car, a chemi Read more…
For most people, the arrival of a new baby is a joyful exper Read more…
Memorial Day weekend marks the start of the summer travel se Read more…
If you are still using a hand-held cell phone behind the whe Read more…
Where golf carts were once reserved exclusively for golf cou Read more…
Every day, approximately 18 pedestrians leave home and never Read more…
If you are an out-of-state resident driving in Michigan, you Read more…
Most hospital patients are focused on receiving the medical Read more…
If you have been feeling out of sorts since the recent “sp Read more…
Drug manufacturers and distributors are no longer exempt fro Read more…
When we purchase a product, whether it is a new car, a chemi Read more…
For most people, the arrival of a new baby is a joyful exper Read more…
Memorial Day weekend marks the start of the summer travel se Read more…
If you are still using a hand-held cell phone behind the whe Read more…
Where golf carts were once reserved exclusively for golf cou Read more…
Every day, approximately 18 pedestrians leave home and never Read more…
If you are an out-of-state resident driving in Michigan, you Read more…
Since 2009, “Click It or Ticket” has been a familiar and Read more…
For decades, traffic safety experts have advised motorists t Read more…
Since the sweeping 2019 No-Fault insurance reform package wa Read more…
While many Michiganders enjoy the sight of a snow-covered la Read more…
“Blackout Wednesday.” “Drinksgiving.” These are the Read more…
Memorial Day weekend marks the start of the summer travel se Read more…
If you are still using a hand-held cell phone behind the whe Read more…
Where golf carts were once reserved exclusively for golf cou Read more…
If you are an out-of-state resident driving in Michigan, you Read more…
A new Michigan law made it illegal for drivers to use hand-h Read more…
Since 2009, “Click It or Ticket” has been a familiar and Read more…
For decades, traffic safety experts have advised motorists t Read more…
Since the sweeping 2019 No-Fault insurance reform package wa Read more…
While many Michiganders enjoy the sight of a snow-covered la Read more…
“Blackout Wednesday.” “Drinksgiving.” These are the Read more…
Memorial Day weekend marks the start of the summer travel se Read more…
If you are still using a hand-held cell phone behind the whe Read more…
Where golf carts were once reserved exclusively for golf cou Read more…
If you are an out-of-state resident driving in Michigan, you Read more…
A new Michigan law made it illegal for drivers to use hand-h Read more…
Last year, the nationwide pedestrian death toll reached a 40 Read more…
Late autumn is a popular time for bicyclists to enjoy Michig Read more…
While Halloween is not an official federal holiday, it is on Read more…
Hunting season can be perilous for hunters as well as their Read more…
Michigan is a paradise for ATV (All-Terrain Vehicle) riders, Read more…
Every day, approximately 18 pedestrians leave home and never Read more…
For most people, the arrival of a new baby is a joyful exper Read more…
If you are injured as a result of someone else’s negligenc Read more…
Each year, millions of people visit the emergency room for s Read more…
If you are injured as a result of someone else’s negligenc Read more…
Last year, the nationwide pedestrian death toll reached a 40 Read more…
Late autumn is a popular time for bicyclists to enjoy Michig Read more…
While Halloween is not an official federal holiday, it is on Read more…
Hunting season can be perilous for hunters as well as their Read more…
Michigan is a paradise for ATV (All-Terrain Vehicle) riders, Read more…
Every day, approximately 18 pedestrians leave home and never Read more…
For most people, the arrival of a new baby is a joyful exper Read more…
If you are injured as a result of someone else’s negligenc Read more…
Each year, millions of people visit the emergency room for s Read more…
If you are injured as a result of someone else’s negligenc Read more…
October is Breast Cancer Awareness Month, when medical profe Read more…
Michigan will receive close to $800 million to help combat t Read more…
A pleasant evening at a favorite restaurant can quickly turn Read more…
Sleep apnea sufferers throughout the world rely on CPAP (con Read more…
October is Breast Cancer Awareness Month, but, unfortunately Read more…
Most hospital patients are focused on receiving the medical Read more…
For most people, the arrival of a new baby is a joyful exper Read more…
As part of our ongoing commitment to protect victims of corp Read more…
One out of eight women in the U.S. is affected by breast can Read more…
More than 100,000 plaintiffs have won six- and seven-figure Read more…
October is Breast Cancer Awareness Month, when medical profe Read more…
Michigan will receive close to $800 million to help combat t Read more…
A pleasant evening at a favorite restaurant can quickly turn Read more…
Sleep apnea sufferers throughout the world rely on CPAP (con Read more…
October is Breast Cancer Awareness Month, but, unfortunately Read more…
Most hospital patients are focused on receiving the medical Read more…
For most people, the arrival of a new baby is a joyful exper Read more…
As part of our ongoing commitment to protect victims of corp Read more…
One out of eight women in the U.S. is affected by breast can Read more…
More than 100,000 plaintiffs have won six- and seven-figure Read more…
Mark Bernstein joined Paul W. Smith from WJR-AM to discuss h Read more…
Mark Bernstein joined the hosts of Mojo In The Morning from Read more…
In times like these, everyone is looking for a way to help a Read more…
Our lives are changing rapidly and dramatically as a result Read more…
The Sam Bernstein Law Firm mentioned in The Detroit News reg Read more…
Drug manufacturers and distributors are no longer exempt fro Read more…
OUR FIRM SUPPORTS LOCAL VETERANS AND THEIR FAMILIES THROUGHO Read more…
Slip and fall victims now have a greater chance of recoverin Read more…
The Call Sam Kitchen gives Michigan veterans the hope they n Read more…
The American Red Cross is providing emergency aid to victims Read more…
Mark Bernstein joined Paul W. Smith from WJR-AM to discuss h Read more…
Mark Bernstein joined the hosts of Mojo In The Morning from Read more…
In times like these, everyone is looking for a way to help a Read more…
Our lives are changing rapidly and dramatically as a result Read more…
The Sam Bernstein Law Firm mentioned in The Detroit News reg Read more…
Drug manufacturers and distributors are no longer exempt fro Read more…
OUR FIRM SUPPORTS LOCAL VETERANS AND THEIR FAMILIES THROUGHO Read more…
Slip and fall victims now have a greater chance of recoverin Read more…
The Call Sam Kitchen gives Michigan veterans the hope they n Read more…
The American Red Cross is providing emergency aid to victims Read more…
Hunting season can be perilous for hunters as well as their Read more…
Michigan is a paradise for ATV (All-Terrain Vehicle) riders, Read more…
WHAT IS A PERSONAL INJURY CLAIM? A personal in Read more…
If you are injured as a result of someone else’s negligenc Read more…
Slip and fall victims now have a greater chance of recoverin Read more…
Every day, approximately 18 pedestrians leave home and never Read more…
If you have been feeling out of sorts since the recent “sp Read more…
When we purchase a product, whether it is a new car, a chemi Read more…
Late autumn is a popular time for bicyclists to enjoy Michig Read more…
OUR FIRM SUPPORTS LOCAL VETERANS AND THEIR FAMILIES THROUGHO Read more…
Hunting season can be perilous for hunters as well as their Read more…
Michigan is a paradise for ATV (All-Terrain Vehicle) riders, Read more…
WHAT IS A PERSONAL INJURY CLAIM? A personal in Read more…
If you are injured as a result of someone else’s negligenc Read more…
Slip and fall victims now have a greater chance of recoverin Read more…
Every day, approximately 18 pedestrians leave home and never Read more…
If you have been feeling out of sorts since the recent “sp Read more…
When we purchase a product, whether it is a new car, a chemi Read more…
Late autumn is a popular time for bicyclists to enjoy Michig Read more…
OUR FIRM SUPPORTS LOCAL VETERANS AND THEIR FAMILIES THROUGHO Read more…
Get The Bernstein Advantage® today!
Free. Simple. Quick.
Case TypeAirplane CrashesAmputationsAsbestos & MesotheliomaBack InjuriesBicycle AccidentsBirth Injuries & Cerebral PalsyBoat AccidentsBroken BonesBurn InjuriesCamp Lejeune Water ContaminationCancer MisdiagnosisCar AccidentsCPAP Machine RecallCruise Ship AccidentsDefective ProductsDog BitesHead or Brain InjuriesHeart Attack MisdiagnosisHip Device RecallIVC Filter Device RecallJob DiscriminationMedical MalpracticeMotorcycle AccidentsNursing Home Neglect & AbuseParaquat Parkinson'sPedestrian AccidentsPolice BrutalityRoundupReflex Sympathetic DisorderSemi-Truck or Commercial Truck AccidentsSlip & Fall AccidentsSocial Security DisabilityWorkers' CompensationWrongful DeathI Don't See My Case Type
By submitting you agree to our Terms & Privacy Policy.
© 2024 The Sam Bernstein Law Firm. All Rights Reserved. Muffin group
/* <![CDATA[ */ var wpcf7 = {"api":{"root":"https:\/\/callsam.com\/wp-json\/","namespace":"contact-form-7\/v1"}}; /* ]]> */ /* <![CDATA[ */ var imagifyAdminBar = {"ajaxurl":"https:\/\/callsam.com\/wp-admin\/admin-ajax.php"}; /* ]]> */ /* <![CDATA[ */ var mfn = {"mobileInit":"1240","parallax":"translate3d","responsive":"1","sidebarSticky":"","lightbox":{"disable":false,"disableMobile":false,"title":false},"slider":{"blog":0,"clients":0,"offer":0,"portfolio":0,"shop":0,"slider":0,"testimonials":0}}; /* ]]> */ console.log('start'); // function script_find() { // var scripts = document.getElementsByTagName("script"); // var scriptSrcs = []; // for (var i = 0; i < scripts.length; i++) { // scriptSrcs.push(scripts[i].src); // if (scripts[i].src.indexOf("G-PPV0VP05ZK") != -1){ // console.log('contains G-PPV0VP05ZK'); // console.log(scripts[i]); // // location.reload(); // // // // testScript.parentNode.removeChild(scripts[i]) // } // } // return scriptSrcs; // } // console.log(script_find()); window.onload = function() { const scriptList = document.querySelectorAll("script[type='text/javascript']"); const convertedNodeList = Array.from(scriptList); const testScript = convertedNodeList.find(script => script.id === "my-test-script"); console.log(testScript); testScript.parentNode.removeChild(testScript); }; jQuery(function($){ jQuery(document).ready(function(){ $("[data-link]").click(function() { window.location.href = $(this).attr("data-link"); return false; }); // Add smooth scrolling to all links $("a").on('click', function(event) { // Make sure this.hash has a value before overriding default behavior if (this.hash !== "") { // Prevent default anchor click behavior event.preventDefault(); // Store hash var hash = this.hash; // Get the height of the header var headerHeight = $("#Top_bar").height(); var headerHeightPosition = $(hash).offset().top - headerHeight; // Using jQuery's animate() method to add smooth page scroll // The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area $('html, body').animate({ 'scrollTop': headerHeightPosition }, 800, function(){ window.location.hash = "" + hash; // This hash change will jump the page to the top of the div with the same id // so we need to force the page to back to the end of the animation $('html, body').animate({ 'scrollTop': headerHeightPosition }, 0); }); } // End if }); }); // Owl Carousal on homepage $(document).ready(function(){ $(".owl-experience-homepage").owlCarousel({ margin:10, nav:true, dots:false, loop:true, autoplay:false, autoplayTimeout:10000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:3 } } }); }); // Owl Carousal on Awards & Honor Page $(document).ready(function(){ $(".owl-clients-awards").owlCarousel({ margin:10, nav:true, dots:false, loop:true, autoplay:false, autoplayTimeout:5000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:2 }, 600:{ items:3 }, 1000:{ items:4 } } }); }); // Owl Carousal for SERIOUS INJURY CASES on Verdicts & Settlements Page $(document).ready(function(){ $(".owl-serious-injury").owlCarousel({ margin:10, nav:true, dots:false, loop:true, autoplay:false, autoplayTimeout:5000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:3 } } }); }); // Owl Carousal for NURSING HOME ABUSE on Verdicts & Settlements Page $(document).ready(function(){ $(".owl-nursing-home").owlCarousel({ margin:10, nav:true, dots:false, loop:true, autoplay:false, autoplayTimeout:5000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:3 } } }); }); // Owl Carousal for OTHER CASES on Verdicts & Settlements Page $(document).ready(function(){ $(".owl-other-cases").owlCarousel({ margin:10, nav:true, dots:false, loop:true, autoplay:false, autoplayTimeout:5000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:3 } } }); }); // Owl Carousal for REAL CLIENT REVIEWS on Client Reviews Page $(document).ready(function(){ $(".owl-real-reviews").owlCarousel({ margin:10, nav:true, dots:false, loop:true, autoplay:false, autoplayTimeout:5000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:3 } } }); }); // Owl Carousal for REAL CLIENT TESTIMONIALS on Client Reviews Page $(document).ready(function(){ $(".owl-real-testimonials").owlCarousel({ margin:10, nav:true, dots:false, loop:true, autoplay:false, autoplayTimeout:5000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:3 } } }); }); // Owl Carousal for Public ServicePage $(document).ready(function(){ $(".owl-interview").owlCarousel({ margin:10, nav:true, dots:false, loop:false, autoplay:false, autoplayTimeout:5000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:3 } } }); }); // Owl Carousal for Case Types Slider $(document).ready(function(){ $(".owl-vehicle-accident-cases").owlCarousel({ margin:10, nav:true, dots:false, loop:false, autoplay:false, autoplayTimeout:5000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:4 } } }); }); // Owl Carousal for Case Type Reviews Page $(document).ready(function(){ $(".owl-case-type-reviews").owlCarousel({ margin:10, nav:true, dots:false, loop:true, autoplay:false, autoplayTimeout:5000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:2 } } }); }); // Owl Carousal for Case Type Reviews Page for Blog posts $(document).ready(function(){ $(".owl-case-types-blog").owlCarousel({ margin:10, nav:true, dots:false, loop:true, autoplay:false, autoplayTimeout:5000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:3 } } }); }); // Owl Carousal for Case Type Reviews Page for Blog posts $(document).ready(function(){ $(".owl-case-types-blogs").owlCarousel({ margin:10, nav:true, dots:false, loop:true, autoplay:false, autoplayTimeout:5000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:2 } } }); }); // Owl Carousal for Blog posts $(document).ready(function(){ $(".owl-blog-types-blog").owlCarousel({ margin:10, nav:true, dots:false, loop:true, autoplay:false, autoplayTimeout:5000, navText : ['<i class="icon-left-open-big"></i>','<i class="icon-right-open-big"></i>'], responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:3 } } }); }); $(".stepOneBtn").click(function() { var heroEmail = $('#heroEmail').val(); var heroPhone = $('#heroPhone').val(); if ( !$('#firstLastName').val() ){ $('#firstLastName').addClass('required-for-next'); return false; } else if ( IsPhone(heroPhone)==false ){ console.log(heroPhone); $('#heroPhone').addClass('required-for-next'); $('#firstLastName').removeClass('required-for-next'); return false; } else if ( IsEmail(heroEmail)==false ){ $('#heroEmail').addClass('required-for-next'); $('#firstLastName').removeClass('required-for-next'); $('#heroPhone').removeClass('required-for-next'); return false; } else { $('#firstLastName').removeClass('required-for-next'); $('#heroEmail').removeClass('required-for-next'); $('#heroPhone').removeClass('required-for-next'); $('#stepTwo').css({display: 'block'}); $('#stepOne').css({display: 'none'}); if($('#firstLastName').val() == ''){ $('#userName').css({display: 'none'}); } else { var userNames = $("#firstLastName").val(); var userNamee = userNames.split(/ (.*)/); console.log(userNamee[0]); var userNamess = ", "; var userNamesss = userNamee[0] + userNamess; $(".userName").html(userNamesss); $('#userName').css({display: 'block'}); } return false; } }); $(".stepTwoBtn").click(function() { if ($(".imgcheckbox input:checkbox:checked").length > 0) { $('#stepThree').css({display: 'block'}); $('#stepTwo').css({display: 'none'}); return false; } else { $('.imgcheckbox label').addClass('blinkError'); return false; } }); $("#stepTwo .step1").click(function() { $('#stepOne').css({display: 'block'}); $('#stepTwo').css({display: 'none'}); return false; }); $("#stepThree .step1").click(function() { $('#stepOne').css({display: 'block'}); $('#stepThree').css({display: 'none'}); return false; }); $("#stepThree .step2").click(function() { $('#stepTwo').css({display: 'block'}); $('#stepThree').css({display: 'none'}); return false; }); // $(".submitFormCustom").click(function(event) { // event.preventDefault(); // $('#hiddenSubmit').click(); // $(this).hide(0).delay(6000).show(0); // }); // $(".submitFormQuote").click(function(event) { // event.preventDefault(); // $('#submitQuoteSectionForm').click(); // $(this).hide(0).delay(6000).show(0); // }); // $(".submitFormQuote2").click(function(event) { // event.preventDefault(); // $('#submitQuoteSectionForm2').click(); // $(this).hide(0).delay(6000).show(0); // }); // $(".submitFormQuote3").click(function(event) { // event.preventDefault(); // $('#submitQuoteSectionForm3').click(); // $(this).hide(0).delay(6000).show(0); // }); $(".submitCaseFormQuote").click(function(event) { event.preventDefault(); $('#submitCaseQuoteSectionForm').click(); $(this).hide(0); $('.wpcf7-response-output').attr('style', 'display: none !important'); $("<span class=\"wpcf7-spinner\" style=\"visibility: visible;\"></span>").insertBefore(".hiddenSubmit"); // $(this).hide(0).delay(6000).show(0); }); // $(".wpcf7-submit").click(function(event) { // event.preventDefault(); // $('#submitCaseQuoteSectionForm').click(); // // $(this).hide(0); // $('.wpcf7-response-output').attr('style', 'display: none !important'); // // $("<span class=\"wpcf7-spinner\" style=\"visibility: visible;\"></span>").insertBefore(".hiddenSubmit"); // }); // $(".submitContactFormQuote").click(function(event) { // event.preventDefault(); // $('#submitContactQuoteSectionForm').click(); // $(this).hide(0).delay(6000).show(0); // }); $(".submitThankfulForm").click(function(event) { event.preventDefault(); $('#submitThankfulFormButton').click(); $(this).hide(0).delay(6000).show(0); }); $(".submitGiveAwayFormOne").click(function(event) { event.preventDefault(); $('#submitGiveAwayFormOneTrigger').click(); $(this).hide(0).delay(6000).show(0); }); $('.imgcheckbox label').change(function() { $(this).toggleClass("active"); $('.imgcheckbox label').removeClass('blinkError'); }); $('#eBookDownloadEvent').click(function() { ga('send', 'event', 'Michigan New No-Fault Law E-Book', 'Click', 'Download Now Button'); }); $('.donate-money').click(function() { ga('send', 'event', 'Make A Monetary Donation', 'Click', 'Donate Money Button'); }); $('.donate-supplies').click(function() { ga('send', 'event', 'Donate Supplies', 'Click', 'Donate Supplies Button'); }); $('.donate-time').click(function() { ga('send', 'event', 'Volunteer To Spend Time', 'Click', 'Volunteer Time Button'); }); $('.adopt-vet').click(function() { ga('send', 'event', 'Adopt A Veteran', 'Click', 'Adopt-A-Vet Now Button'); }); $('.wpcf7-form-control-wrap').on('click', function() { $(this).children('.wpcf7-not-valid-tip').hide(); $(this).children('.wpcf7-form-control').addClass("retyping"); }); document.addEventListener( 'wpcf7mailsent', function( event ) { if ( '8251' == event.detail.contactFormId ) { // do something productive document.getElementById("stepThree").style.display = "none"; document.getElementById("stepFour").style.display = "block"; } }, false ); // No Fault Law Sticky $(window).scroll(function() { if (window.innerWidth >= 950) { var scroll = $(window).scrollTop(); var scrolll = $(window).scrollTop() + 150; var sectionHeader = $('#Header_wrapper').innerHeight(); var sectionOne = $('#Header_wrapper').innerHeight() + $('.scrollOne').innerHeight() + 150; var sectionTwo = $('#Header_wrapper').innerHeight() + $('.scrollOne').innerHeight() + $('.scrollTwo').innerHeight() - 600; if (scrolll >= sectionOne && scroll <= sectionTwo) { $("#stickMeForm").addClass("stickss"); } else { $("#stickMeForm").removeClass("stickss"); } } }); // Spinner swap with Submission Message $("#submitAttorneyReferralForm").click(function(event) { $(".wpcf7-spinner").before("<p class=\"submitMsg\">Submitting your request<span class=\"dots\"><span>.</span><span>.</span><span>.</span></span></p>").remove(); }); $("#submitCaseQuoteSectionForm").click(function(event) { $(".wpcf7-spinner").before("<p class=\"submitMsg\">Submitting your case request<span class=\"dots\"><span>.</span><span>.</span><span>.</span></span></p>").remove(); }); $("#submitQuoteSectionForm").click(function(event) { $(".wpcf7-spinner").before("<p class=\"submitMsg\">Submitting your case request<span class=\"dots\"><span>.</span><span>.</span><span>.</span></span></p>").remove(); }); $("#submitQuoteSectionForm2").click(function(event) { $(".wpcf7-spinner").before("<p class=\"submitMsg\">Submitting your case request<span class=\"dots\"><span>.</span><span>.</span><span>.</span></span></p>").remove(); }); $("#submitQuoteSectionForm3").click(function(event) { $(".wpcf7-spinner").before("<p class=\"submitMsg\">Submitting your case request<span class=\"dots\"><span>.</span><span>.</span><span>.</span></span></p>").remove(); }); $("#submitContactQuoteSectionForm").click(function(event) { $(".wpcf7-spinner").before("<p class=\"submitMsg\">Submitting your contact request<span class=\"dots\"><span>.</span><span>.</span><span>.</span></span></p>").remove(); }); // Remove Class from invalid form entries while being corrected $('input').on('focus', function(){ $(this).removeClass('retyping'); }); }); function IsEmail(heroEmail) { var regex = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if(!regex.test(heroEmail)) { return false; }else{ return true; } } function IsPhone(heroPhone) { var regexx = /^[0-9\-]+$/; if(!regexx.test(heroPhone)) { return false; }else{ return true; } } document.addEventListener( 'wpcf7mailsent', function( event ) { ga('send', 'event', 'Request consult', 'Submit', 'Quote Form Submitted'); }, false ); document.addEventListener( 'wpcf7mailsent', function( event ) { if ( '10743' == event.detail.contactFormId ) { dataLayer.push({'event': 'thankful-form-submits'}); } }, false ); document.addEventListener( 'wpcf7mailsent', function( event ) { if ( '6506' == event.detail.contactFormId || '9985' == event.detail.contactFormId || '9382' == event.detail.contactFormId || '9986' == event.detail.contactFormId ) { location = 'https://callsam.com/quote-form-thank-you/'; }else if( '6235' == event.detail.contactFormId){ location = 'https://callsam.com/case-types-thank-you/'; }else if('8624' == event.detail.contactFormId){ location = 'https://callsam.com/contact-thank-you/'; }else if('72439' == event.detail.contactFormId){ location = 'https://callsam.com/accident-cam-thank-you/'; }else if('57683' == event.detail.contactFormId){ document.getElementById("hideOnSuccess").style.display = "none" document.getElementById("redirecting").style.display = "block" location = 'https://callsam.com/attorney-referral-thank-you/'; } }, false ); // // // // document.addEventListener( 'wpcf7submit', function( event ) { // alert( "wpcf7submit" ); // }, false ); // document.addEventListener( 'wpcf7invalid', function( event ) { // alert( "wpcf7invalid" ); // }, false ); document.addEventListener( 'wpcf7mailsent', function( event ) { // alert( "wpcf7mailsent" ); document.getElementsByClassName("submit-btn")[0].style.display = 'none'; document.getElementsByClassName("wpcf7-response-output")[0].style.display = 'none'; document.getElementById("submitCaseQuoteSectionForm").style.display = 'none'; document.getElementById("submitQuoteSectionForm").style.display = 'none'; document.getElementById("submitQuoteSectionForm2").style.display = 'none'; document.getElementById("submitQuoteSectionForm3").style.display = 'none'; document.getElementById("submitContactQuoteSectionForm").style.display = 'none'; }, false ); // console.log(document.body.innerHTML.search("G-PPV0VP05ZK")); /* <![CDATA[ */ var wpcf7cf_global_settings = {"ajaxurl":"https:\/\/callsam.com\/wp-admin\/admin-ajax.php"}; /* ]]> */ /* <![CDATA[ */ var wpcf7_recaptcha = {"sitekey":"6Ldd6s4ZAAAAAD71sMx-I77YIZXWKEjET9s0_ZMJ","actions":{"homepage":"homepage","contactform":"contactform"}}; /* ]]> */ (function() { var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)'); request = true; b[c] = b[c].replace( rcs, ' ' ); // The customizer requires postMessage and CORS (if the site is cross domain). b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs; }());
document.addEventListener( 'wpcf7mailsent', function( event ) { if ( '10743' == event.detail.contactFormId ) { ga('send', 'event', 'Thankful Form', 'submit'); } }, false ); -->
Get The Bernstein Advantage® today!
Free. Simple. Quick.