(function($){function goBack(){window.history.go(-2)}jQuery(document).ready(function(){var n,o;window.location.hostname;$(".carousel-inner .item").each(function(){var n=$(this).find("a").attr("href");$(this).find(".img-responsive").click(function(){}),$(this).find(".LargerCaption").click(function(){window.location=n}),$(this).find("p").click(function(){window.location=n}),$(this).find(".carousel-caption-background").click(function(){window.location=n}),$(this).find(".carousel-caption").click(function(){window.location=n})}),$(window).on('load',function(){equalheight(".products-page-list")}),$(window).resize(function(){equalheight(".products-page-list")}),n=$(".equal-height"),o=300,n.each(function(){var n=$(this).height();n>o&&(o=n)}),n.height(o),equalheight=function(n){var o,i=0,c=0,t=new Array;$(n).each(function(){if(o=$(this),$(o).height("auto"),topPostion=o.position().top,c!=topPostion){for(currentDiv=0;currentDiv<t.length;currentDiv++)t[currentDiv].height(i);t.length=0,c=topPostion,i=o.height(),t.push(o)}else t.push(o),i=i<o.height()?o.height():i;for(currentDiv=0;currentDiv<t.length;currentDiv++)t[currentDiv].height(i)})},$(".contact-link").click(function(){window.location="/contact/"}),$(".contact-link-map").click(function(){window.location="/map-client-services/contact-map-client-services/"}),$(".sn-about-us-link").click(function(){window.location="/our-company/about-us"}),$(".sn-executive-management-link").click(function(){window.location="/our-company/executive-management"}),$(".sn-brand-promise-link").click(function(){window.location="/our-company/brand-promise"}),$(".sn-our-core-values-link").click(function(){window.location="/our-company/our-core-values"}),$(".sn-vision-link").click(function(){window.location="/our-company/vision"}),$(".sn-Tokio-Marine-Group-link").click(function(){window.location="/our-company/tokio-marine-group"}),$(".sn-diversity-link").click(function(){window.location="/our-company/diversity-inclusion/"}),$(".sn-csr-link").click(function(){window.location="/corporate-social-responsibility/"}),$(".sn-careers-link").click(function(){window.location="/careers-page/"}),$(".solutions-insurance-solutions").click(function(){window.location="/solutions/insurance-solutions/"}),$(".solutions-safety-national-re").click(function(){window.location="/solutions/safety-national-re/"}),$(".press-releases-link").click(function(){window.location="/thought-leadership/press-releases/"}),$(".in-the-news-link").click(function(){window.location="/thought-leadership/in-the-news/"}),$(".events-page-link").click(function(){window.location="/sneventstaxonomy/sn-events/"}),$(".webinars-link").click(function(){window.location="/webinarstaxonomy/webinar-library/"}),$(".conference-chronicles-link").click(function(){window.location="/conferencechronicles/"}),$(".carrier-chronicles-link").click(function(){window.location="https://carrierchronicles.com/"}),$(".sn-claims-expertise-link").click(function(){window.location="/claims-expertise"}),$(".sn-map-client-services-link").click(function(){window.location="/map-client-services"}),$(".sn-risk-control-services-link").click(function(){window.location="/map-client-services/risk-control-services"}),$(".sn-safety-first-grant-program-link").click(function(){window.location="/safety-first-grant-program"}),$(".sn-risk-services-network-link").click(function(){window.location="/map-client-services/risk-resources-network/"}),$(".sn-commercial-auto-resource-network-link").click(function(){window.location="/map-client-services/risk-resources-network/commercial-auto-resource-network/"}),$(".sn-school-risk-mgmt-network-link").click(function(){window.location="/map-client-services/risk-resources-network/school-risk-management-network/"}),$("#product-loss-portfolio-transfer").click(function(){window.location="/solutions/insurance-solutions/loss-portfolio-transfer"}),$("#product-self-insurance-bonds").click(function(){window.location="/solutions/insurance-solutions/self-insurance-bonds"}),$("#product-opt-out-programs").click(function(){window.location="/solutions/insurance-solutions/opt-out"}),$("#product-safety-national-re").click(function(){window.location="/solutions/safety-national-re"}),$("#product-large-casualty").click(function(){window.location="/solutions/insurance-solutions/large-casualty-program"}),$("#product-excess-workers-comp").click(function(){window.location="/solutions/insurance-solutions/excess-workers-compensation"}),$("#product-public-entity-mutiline").click(function(){window.location="/solutions/insurance-solutions/public-entity-multi-line-program"}),$("#product-large-guaranteed-cost").click(function(){window.location="/solutions/insurance-solutions/large-guaranteed-cost-workers-compensation"}),$("#product-multinational-casualty").click(function(){window.location="/solutions/insurance-solutions/multinational-casualty"}),$("#product-captive-services").click(function(){window.location="/solutions/insurance-solutions/captives"}),$("#product-cyber-risk").click(function(){window.location="/solutions/insurance-solutions/cyber-risk/"}),$("#product-construction-risk").click(function(){window.location="/solutions/insurance-solutions/construction-risk/"}),$("#product-defense-base-act").click(function(){window.location="/solutions/insurance-solutions/defense-base-act/"}),$(".view-products").click(function(){window.location="/solutions/insurance-solutions/"}),$(".view-reinsurance-products").click(function(){window.location="/solutions/safety-national-re/"}),$("#solutions-self-insurance").click(function(){window.location="why-self-insurance/"}),$("#solutions-insurance-solutions").click(function(){window.location="insurance-solutions/"}),$("#solutions-safety-national-re").click(function(){window.location="safety-national-re"}),$("#solutions-brochures").click(function(){window.location="brochures/"}),$("#solutions-applications").click(function(){window.location="applications/"}),"Your message was sent successfully. Thanks."==$(".wpcf7-response-output").text()&&(window.location="/thank-you/"),$(".content-brochures").each(function(){var n=$(this).find("a").attr("href");$(this).find(".icon-wrap").click(function(){window.open(n,"_new")})}),$(".content-applications").each(function(){var n=$(this).find("a").attr("href");$(this).find(".icon-wrap").click(function(){window.open(n,"_blank")})}),$(".ewc-brochure").click(function(){window.open("/wp-content/uploads/2018/06/ExcessWorkersComp_Web.pdf")}),$(".lc-brochure").click(function(){window.open("/wp-content/uploads/2018/06/LargeCasualty_Brochure.pdf")}),$(".public-entity-brochure").click(function(){window.open("/wp-content/uploads/2018/06/PublicEntityProgram.pdf")}),$(".treaty-re-brochure").click(function(){window.open("/wp-content/uploads/2018/06/SNRe_Placemat.pdf")}),$(".treaty-re-pl-brochure").click(function(){window.open("/wp-content/uploads/2017/10/TreatyRe_ProfLiability_Placemat.pdf")}),$(".treaty-re-wc-brochure").click(function(){window.open("/wp-content/uploads/2017/10/TreatyRe_WC_Placemat.pdf")}),$(".snre-link").click(function(){window.open("/map-client-services/map-client-services-registration/?page=sntreatyre")}),$(".lpt-brochure").click(function(){window.open("/wp-content/uploads/2018/06/LPT_Brochure.pdf")}),$(".texcess-brochure").click(function(){window.open("/wp-content/uploads/2018/06/Texcess.pdf")}),$(".oklahoma-brochure").click(function(){window.open("/wp-content/uploads/2015/03/OK_Elect_2016-web.pdf")}),$(".public-entity-multiline-brochure").click(function(){window.open("/wp-content/uploads/2018/06/PublicEntityProgram.pdf")}),$(".large-guaranteed-cost-brochure").click(function(){window.open("/wp-content/uploads/2020/10/GuaranteedCostWC.pdf")}),$(".captive-services-brochure").click(function(){window.open("/wp-content/uploads/2018/06/CaptiveServices.pdf")}),$(".cyber-brochure").click(function(){window.open("/wp-content/uploads/2018/06/CyberRisk_Brochure.pdf")}),$(".wpcf7 form div").hasClass("wpcf7-mail-sent-ok")&&(window.location="/thank-you/"),$(".claims-success-link").click(function(){window.open("/category/success-stories/","_self",!1)}),$(".claims-expertise-brochure").click(function(){window.open("/wp-content/uploads/2018/06/Claims_Expertise_Flyer.pdf","_self",!1)}),$(".upcoming-webinars").click(function(){window.location="/webinarstaxonomy/webinar-library/"}),$(".dressbarn-solution").click(function(){window.open("https://business.directr.co/movies/c99158c99cbb4211a6b3e68f9aeb7f9a","_blank")}),$(".atlas-lifttech").click(function(){window.open("https://www.safetynational.com/wp-content/uploads/2016/01/Safe-Patient-Handling-Evaluation-Resource-8.5x11_2015-1.pdf")}), [...document.querySelectorAll('div[role="button"], a[role="button"],li[role="button"]')].forEach(el => el.addEventListener("keydown",function(e){let t=void 0!==e.key?e.key:e.keyCode;("Enter"===t||13===t||["Spacebar"," "].indexOf(t)>=0||32===t)&&(/*e.preventDefault(),*/this.click())}))}),function(n,o,i,c,t,e,s){n.GoogleAnalyticsObject=t,n.ga=n.ga||function(){(n.ga.q=n.ga.q||[]).push(arguments)},n.ga.l=1*new Date,e=o.createElement(i),s=o.getElementsByTagName(i)[0],e.async=1,e.src="//www.google-analytics.com/analytics.js",s.parentNode.insertBefore(e,s)}(window,document,"script",0,"ga"),ga("create","UA-9858371-1","auto"),ga("send","pageview");})(jQuery);