function toggleMobileMenu(){$(".mobile-nav").toggleClass("nav-reveal");$(".mobile-nav").removeClass("lvl-2")}if($(".mobile-menu-toggle").click(toggleMobileMenu),$(".mobile-nav .back").click(function(n){n.preventDefault();$(".mobile-nav").removeClass("lvl-2")}),$('.mobile-nav .top-level a[aria-haspopup="true"]').click(function(n){n.preventDefault();$(".mobile-nav").addClass("lvl-2");var t=$($(this).attr("href"));t.addClass("selected");t.siblings().removeClass("selected")}),(new WOW).init(),window.location.hash){var targetOffset=$(window.location.hash).offset().top-$(".site-header").outerHeight()+1;setTimeout(function(){$("html, body").scrollTop(targetOffset)},1)}$("a").click(function(n){var t=$(this).attr("href"),i;t&&t.indexOf("#")===0&&t.length>1&&(n.preventDefault(),i=$(t).offset().top-$(".site-header").outerHeight()+1,$("html, body").animate({scrollTop:i},500,function(){location.hash=t}))});$(".reliability-facts .fact a").click(function(n){n.preventDefault();$(this).parent().next("p").slideToggle();$(this).find("i.zmdi").toggleClass("rotate")});$(".licensees h3").click(function(){$(this).next(".row").slideToggle();$(this).find("i.zmdi").toggleClass("zmdi-hc-rotate-90")}),function(n){n('div#mainContent_contactForm input[type="text"], div#mainContent_contactForm textarea').focus(function(){var t=n(this);t.val()===t.attr("data-text")&&t.val("")}).blur(function(){var t=n(this);t.val()===""&&t.val(t.attr("data-text"))})}(jQuery);this.fitie=function(n){function u(){var s={boxSizing:"content-box",display:"inline-block",overflow:"hidden"},l,o;"backgroundColor backgroundImage borderColor borderStyle borderWidth bottom fontSize lineHeight height left margin position right top visibility width".replace(/\w+/g,function(n){s[n]=e[n]});t.border=t.margin=t.padding=0;t.display="block";t.height=t.width="auto";t.opacity=1;var a=n.videoWidth||n.width,v=n.videoHeight||n.height,h=a/v,c=document.createElement("object-fit");c.appendChild(n.parentNode.replaceChild(c,n));for(l in s)c.runtimeStyle[l]=s[l];h>f?(o=r*h,t.width=Math.round(o)+"px",t.height=r+"px",t.marginLeft=Math.round((i-o)/2)+"px"):(o=i/h,t.width=i+"px",t.height=Math.round(o)+"px",t.marginTop=Math.round((r-o)/2)+"px");$("video.home-video").off("play",u);n.play()}var i=$("video.home-video").width(),r=$("video.home-video").height(),f=i/r,o=n.nodeName.toLowerCase(),t=n.runtimeStyle,e=n.currentStyle;$(n).on("play",u)};$(document).ready(function(){$("section.hero").hasClass("home")&&(/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)&&($("section.hero video").remove(),$("section.hero").addClass("no-video")),/MSIE|Trident/.test(navigator.userAgent)&&fitie($("video.home-video")[0]))});$(document).scroll(function(){document.body.scrollTop>=50&&!$(".two-col-content nav").hasClass("stuck")?$(".two-col-content nav").addClass("stuck"):document.body.scrollTop<50&&$(".two-col-content nav").hasClass("stuck")&&$(".two-col-content nav").removeClass("stuck")})