function enterKeyToSubmit(){const n=window.location.href.indexOf("hcp")>-1;document.getElementById("search").onsubmit=function(){let t=document.getElementById("searchbox").value;return t&&(location.href=n?"/search-results-hcp?q="+t:"/search-results?q="+t),!1}}function toggleMobileMenu(n){n.addEventListener("click",function(){body.classList.toggle("menu-open")})}function toggleIsiBar(n){n.addEventListener("click",function(){n.classList.toggle("more");isiFixed.classList.toggle("isi-collapse")})}function openIri(n){n.addEventListener("click",function(){event.preventDefault();header.classList.add("fixed");iriSection.scrollIntoView()})}function closeIri(n){n.addEventListener("click",function(){event.preventDefault();header.classList.remove("fixed");window.scrollTo(0,0)})}var DOMReady;const body=document.getElementsByTagName("body")[0],header=document.getElementsByClassName("header")[0],menuToggle=document.getElementsByClassName("menu-toggle")[0],isiBar=document.getElementsByClassName("isi-bar")[0],isiFixed=document.getElementById("iri-sticky"),iriOpen=document.getElementsByClassName("iri-open")[0],iriClose=document.getElementsByClassName("iri-close")[0],iriSection=document.getElementById("iri"),searchBox=document.getElementById("searchbox"),searchButton=document.querySelector(".search-button");DOMReady=function(){toggleIsiBar(isiBar);toggleMobileMenu(menuToggle);openIri(iriOpen);closeIri(iriClose);enterKeyToSubmit()};document.readyState!=="complete"&&(document.readyState==="loading"||document.documentElement.doScroll)?document.addEventListener("DOMContentLoaded",DOMReady):DOMReady();var baseScript={convertToClick:function(n){n.preventDefault?n.preventDefault():n.returnValue=!1;n.target.click()},ready:function(n){document.readyState!=="loading"?n:document.addEventListener("DOMContentLoaded",n)},posTop:function(){return typeof pageYOffset!="undefined"?window.pageYOffset:document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop?document.body.scrollTop:0},selectorArray:function(n){return Array.prototype.slice.call(document.querySelectorAll(n))}},scrollThrottler={init:function(){window.addEventListener("scroll",scrollThrottler.throttle,!1);window.addEventListener("mousewheel",scrollThrottler.throttle,!1);window.addEventListener("DOMMouseScroll",scrollThrottler.throttle,!1)},throttle:function(){scrollThrottler.scrollTimeout||(scrollThrottler.scrollTimeout=setTimeout(function(){scrollThrottler.scrollTimeout=null;pageScrollFunctions.init()},33))},scrollTimeout:""},resizeThrottler={init:function(){window.addEventListener("resize",resizeThrottler.throttle,!1)},throttle:function(){resizeThrottler.resizeTimeout||(resizeThrottler.resizeTimeout=setTimeout(function(){resizeThrottler.resizeTimeout=null;resizeFunctions.init()},66))},resizeTimeout:""},currentPage={init:function(){currentPage.pageUrl.charAt(currentPage.pageUrl.length-1)==="/"?(currentPage.cleanPageUrl=currentPage.pageUrl.substring(1,currentPage.pageUrl.length-1),currentPage.pageArray=currentPage.cleanPageUrl.split(currentPage.sectionSep)):(currentPage.cleanPageUrl=currentPage.pageUrl.substring(1,currentPage.pageUrl.length),currentPage.cleanArray=currentPage.cleanPageUrl.split(currentPage.sectionSep),currentPage.pageArray=currentPage.cleanArray.splice(currentPage.cleanArray.length-2,1))},pageUrl:document.location.pathname,cleanPageUrl:"",sectionSep:"/",cleanArray:"",pageArray:""},pageScrollFunctions={init:function(){isiCalc.stickyIsi();revealAfterScroll.init("scroll-to-top",210);parallaxScroll.scrollDifferent("#main-bg","fast");scrollAnimations.init(".animateThis")}},resizeFunctions={init:function(){equalTableHeights.init(".grid-section dl","equalheights",768);loadImage.init("main-bg",480)}},pageLoadFunctions={init:function(){currentPage.init();resizeThrottler.init();scrollThrottler.init();activeNav.init();isiCalc.init();closeDialog.init();externalScript.init(".external");interstitial.init("interstitial");scrollToTarget.init(".scroll-to-top","page-top");formMethods.radioSelect(".radiogroup input");formMethods.checkboxToggle(".checkbox input");expandAnySection.init(".expand-trigger",".expand-drawer");expandSingleSection.init(".single-expand-trigger",".single-expand-drawer");equalTableHeights.init(".grid-section dl","equalheights",768);loadImage.init(".main-bg",480);revealAfterScroll.init("scroll-to-top",210);parallaxScroll.init("#main-bg","fast");scrollAnimations.init(".animateThis");anchorLink.init(".jumplink");tabFunction.init("tab-section",".tab-trigger",".tab-expand")}};baseScript.ready(pageLoadFunctions.init);var activeNav={init:function(){currentPage.pageArray?activeNav.addActive():setTimeout(function(){activeNav.init()},200)},addActive:function(){var n,i,t,r;activeNav.topMenuItems=baseScript.selectorArray("#main-nav > ul > li > a");activeNav.subMenuItems=baseScript.selectorArray("#main-nav > ul > li > ul > li > a");for(activeNav.item in activeNav.topMenuItems)n=activeNav.topMenuItems[activeNav.item].getAttribute("href").split("/"),n.length>1&&(i=n[n.length-2].toLowerCase()),i===currentPage.pageArray[currentPage.pageArray.length-1].toLowerCase()&&(activeNav.topMenuItems[activeNav.item].parentElement.classList.add("active"),activeNav.topMenuItems[activeNav.item].parentElement.classList.add("expanded"));for(activeNav.item in activeNav.subMenuItems)t=activeNav.subMenuItems[activeNav.item].getAttribute("href").split("/"),t.length>1&&(r=t[t.length-2].toLowerCase()),activeNav.subMenuItems[activeNav.item].parentElement.parentElement.parentElement.classList.add("has-subnav"),r===currentPage.pageArray[currentPage.pageArray.length-1].toLowerCase()&&(activeNav.subMenuItems[activeNav.item].parentElement.parentElement.parentElement.classList.add("active"),activeNav.subMenuItems[activeNav.item].parentElement.parentElement.parentElement.classList.add("expanded"),activeNav.subMenuItems[activeNav.item].parentElement.parentElement.classList.add("sub-menu-active"))},item:"",topMenuItems:"",subMenuItems:"",tertiaryMenuItems:""},anchorLink={init:function(n){setTimeout(function(){anchorLink.eachJumpNav=baseScript.selectorArray(n);anchorLink.addJumpNavListeners()},200)},addJumpNavListeners:function(){if(anchorLink.jumpCheck(),anchorLink.eachJumpNav)for(anchorLink.currJumpNav in anchorLink.eachJumpNav)anchorLink.eachJumpNav[anchorLink.currJumpNav].addEventListener("click",function(){anchorLink.thisJumpPage=this.getAttribute("data-page");anchorLink.thisJumpLink=this.getAttribute("data-anchor");anchorLink.jumpToPageSection(anchorLink.thisJumpPage,anchorLink.thisJumpLink)},!1)},jumpToPageSection:function(n,t){anchorLink.currPage=window.location.pathname;anchorLink.newPage="/"+n+"/";sessionStorage.setItem("hcpsupport-whichSection",t);anchorLink.currPage!==anchorLink.newPage&&n?window.location="/"+n:anchorLink.scrollToElement(t)},jumpCheck:function(){anchorLink.whichSection=sessionStorage.getItem("hcpsupport-whichSection");anchorLink.whichSection!==null&&(anchorLink.scrollToElement(anchorLink.whichSection),sessionStorage.removeItem("hcpsupport-whichSection"))},scrollToElement:function(n){document.getElementById(n)&&(anchorLink.bodyRect=document.body.getBoundingClientRect(),anchorLink.elemRect=document.getElementById(n).getBoundingClientRect(),anchorLink.thisElementTop=anchorLink.elemRect.top-anchorLink.bodyRect.top);anchorLink.scrollAnimate(0)},scrollAnimate:function(n){if(anchorLink.distance=n,Math.abs(anchorLink.distance<anchorLink.thisElementTop))anchorLink.distance+=Math.round((anchorLink.thisElementTop-n)*.3),Math.round((anchorLink.thisElementTop-n)*.3)>1?window.scroll(0,anchorLink.distance-2):(anchorLink.distance=anchorLink.thisElementTop,window.scroll(0,anchorLink.distance-2),sessionStorage.removeItem("hcpsupport-whichSection")),setTimeout(function(){anchorLink.scrollAnimate(anchorLink.distance);scrollThrottler.scrollDistance&&(document.documentElement.scrollTop>0?scrollThrottler.scrollDistance=-document.documentElement.scrollTop:document.body.scrollTop>0&&(scrollThrottler.scrollDistance=-document.body.scrollTop))},40);else return},distance:0,currPage:"",newPage:"",eachJumpNav:"",bodyRect:"",elemRect:"",currJumpNav:"",thisJumpPage:"",thisJumpLink:"",whichSection:"",thisElementTop:""},scrollToTarget={init:function(n,t){if(scrollToTarget.scrollTriggers=baseScript.selectorArray(n),scrollToTarget.scrollTriggers)scrollToTarget.scrollNow(t);else if(scrollToTarget.count<10)setTimeout(function(){scrollToTarget.init()},50),scrollToTarget.count++;else return},scrollNow:function(n){for(scrollToTarget.trigger in scrollToTarget.scrollTriggers)scrollToTarget.scrollTriggers[scrollToTarget.trigger].addEventListener("touchend",function(){baseScript.convertToClick},!1),scrollToTarget.scrollTriggers[scrollToTarget.trigger].addEventListener("click",function(){scrollToTarget.scrollTarget=document.getElementById(n);scrollToTarget.scrollTarget&&(scrollToTarget.scrollTargetTop=scrollToTarget.scrollTarget.offsetTop,scrollToTarget.scrollTriggerTop=window.pageYOffset,scrollToTarget.scrollJump(scrollToTarget.scrollTriggerTop))},!1)},scrollJump:function(n){if(scrollToTarget.distance=n,Math.abs(scrollToTarget.distance-scrollToTarget.scrollTargetTop)>2)scrollToTarget.distance+=Math.round((scrollToTarget.scrollTargetTop-scrollToTarget.distance)*.3),window.scroll(0,scrollToTarget.distance-2),setTimeout(function(){scrollThrottler.scrollDistance&&(document.documentElement.scrollTop>0?scrollThrottler.scrollDistance=-document.documentElement.scrollTop:document.body.scrollTop>0&&(scrollThrottler.scrollDistance=-document.body.scrollTop));scrollToTarget.scrollJump(scrollToTarget.distance)},40);else return},scrollTarget:"",scrollTargetTop:"",scrollTriggers:"",scrollTriggerTop:"",trigger:"",distance:"",docEl:""},isiCalc={init:function(){if(isiCalc.iri=document.getElementById("iri"),isiCalc.iriSticky=document.getElementById("iri-sticky"),isiCalc.iriSummary=document.getElementById("iri-summary"),isiCalc.iri&&isiCalc.iriSummary)isiCalc.initialDisplay();else if(isiCalc.count<10)setTimeout(function(){isiCalc.init()},50),isiCalc.count++;else return},initialDisplay:function(){if(isiCalc.iri&&isiCalc.iriSummary)if(isiCalc.windowHeight="innerHeight"in window?window.innerHeight:document.documentElement.offsetHeight,isiCalc.iriTop=isiCalc.iri.getBoundingClientRect().top,isiCalc.iriHeight=isiCalc.iriSummary.offsetHeight,isiCalc.iriTop>isiCalc.windowHeight-isiCalc.iriHeight)isiCalc.iriSticky.classList.remove("isi-temp"),isiCalc.iriSticky.classList.add("isi-fixed");else return},stickyIsi:function(){isiCalc.iri&&isiCalc.iriSummary&&(isiCalc.windowHeight="innerHeight"in window?window.innerHeight:document.documentElement.offsetHeight,isiCalc.iriTop=isiCalc.iri.getBoundingClientRect().top,isiCalc.iriHeight=isiCalc.iriSummary.offsetHeight,isiCalc.iriTop<=isiCalc.windowHeight-isiCalc.iriHeight?isiCalc.iriSticky.classList.remove("isi-fixed"):isiCalc.iriSticky.classList.add("isi-fixed"))},iri:"",iriSticky:"",iriSummary:"",windowHeight:"",iriTop:"",iriHeight:"",count:0},externalScript={init:function(n){if(externalScript.externalLinkElement=baseScript.selectorArray(n),externalScript.leaveWarn=document.getElementById("leave-warn"),externalScript.modalLink=document.getElementById("modal-link"),externalScript.externalLinkElement.length>0&&closeDialog.cancelButton)externalScript.openDialog();else if(externalScript.count<10)setTimeout(function(){externalScript.init()},50),externalScript.count++;else return},openDialog:function(){for(externalScript.link in externalScript.externalLinkElement)externalScript.externalLinkElement[externalScript.link].addEventListener("touchend",function(){baseScript.convertToClick},!1),externalScript.externalLinkElement[externalScript.link].addEventListener("click",function(){externalScript.leaveWarn&&(externalScript.thisLink=this.getAttribute("data-link"),externalScript.leaveWarn.classList.add("open-modal"),externalScript.modalLink.setAttribute("href",externalScript.thisLink),this.getAttribute("class")==="external fda"?externalScript.leaveWarn.classList.add("fda"):externalScript.leaveWarn.classList.contains("fda")&&externalScript.leaveWarn.classList.remove("fda"))},!1);externalScript.modalLink.addEventListener("touchend",function(){baseScript.convertToClick},!1);externalScript.modalLink.addEventListener("click",function(){externalScript.openModals=baseScript.selectorArray(".open-modal");for(externalScript.modal in externalScript.openModals)externalScript.openModals[externalScript.modal].classList.remove("open-modal")},!1)},externalNodelist:"",externalLinkElement:"",leaveWarn:"",leaveWarnFDA:"",modalLink:"",thisLink:"",openModals:"",modal:"",cancel:"",link:"",count:0},interstitial={init:function(n){setTimeout(function(){if(interstitial.modalWindow=document.getElementById(n),interstitial.modalWindow)interstitial.openInterstitial();else return},200)},openInterstitial:function(){interstitial.whichSection=sessionStorage.getItem("hcpsupport-newInterstitial");interstitial.whichSection!=="oldsession"&&(sessionStorage.setItem("hcpsupport-newInterstitial","oldsession"),interstitial.modalWindow&&interstitial.modalWindow.classList.add("open-modal"))}},closeDialog={init:function(){if(closeDialog.cancelButton=baseScript.selectorArray(".overlay .cancel"),closeDialog.dialogOverlay=baseScript.selectorArray(".overlay .backdrop"),closeDialog.cancelButton&&closeDialog.dialogOverlay)closeDialog.close();else if(closeDialog.count<10)setTimeout(function(){closeDialog.init()},50),closeDialog.count++;else return},close:function(){for(closeDialog.cancel in closeDialog.cancelButton)closeDialog.cancelButton[closeDialog.cancel].addEventListener("touchend",function(){baseScript.convertToClick},!1),closeDialog.cancelButton[closeDialog.cancel].addEventListener("click",function(){closeDialog.openModals=baseScript.selectorArray(".open-modal");for(closeDialog.modal in closeDialog.openModals)closeDialog.openModals[closeDialog.modal].classList.remove("open-modal")},!1);for(closeDialog.cancel in closeDialog.dialogOverlay)closeDialog.dialogOverlay[closeDialog.cancel].addEventListener("touchend",function(){baseScript.convertToClick},!1),closeDialog.dialogOverlay[closeDialog.cancel].addEventListener("click",function(){closeDialog.openModals=baseScript.selectorArray(".open-modal");for(closeDialog.modal in closeDialog.openModals)closeDialog.openModals[closeDialog.modal].classList.remove("open-modal")},!1)},cancelButton:"",dialogOverlay:"",cancel:"",openModals:"",count:0},formMethods={checkboxToggle:function(n){if(formMethods.toggleCheck=baseScript.selectorArray(n),formMethods.attemptCounter+=1,formMethods.toggleCheck.length>0)for(formMethods.check in formMethods.toggleCheck)formMethods.toggleCheck[formMethods.check].addEventListener("touchend",baseScript.convertToClick),formMethods.toggleCheck[formMethods.check].addEventListener("click",function(){this.classList.toggle("checked");this.parentElement.classList.contains("checked")?this.parentElement.classList.remove("checked"):this.parentElement.classList.add("checked")});else if(formMethods.attemptCounter<11)setTimeout(function(){formMethods.checkboxToggle(n)},100);else return!1},radioSelect:function(n){if(formMethods.toggleRadio=baseScript.selectorArray(n),formMethods.toggleRadio)for(formMethods.radio in formMethods.toggleRadio)formMethods.toggleRadio[formMethods.radio].addEventListener("touchend",baseScript.convertToClick),formMethods.toggleRadio[formMethods.radio].addEventListener("click",function(){formMethods.radioGroup=this.getAttribute("name");formMethods.allRadioButtons=Array.prototype.slice.call(document.getElementsByName(formMethods.radioGroup));for(formMethods.individualRadio in formMethods.allRadioButtons)formMethods.allRadioButtons[formMethods.individualRadio].classList.remove("checked"),formMethods.allRadioButtons[formMethods.individualRadio].parentElement.classList.remove("checked");this.classList.add("checked");this.parentElement.classList.add("checked")})},check:"",radio:"",toggleCheck:"",toggleRadio:"",radioGroup:"",allRadioButtons:"",individualRadio:"",attemptCounter:0},expandAnySection={init:function(n,t){setTimeout(function(){if(expandAnySection.expandTrigger=baseScript.selectorArray(n),expandAnySection.expandDrawer=baseScript.selectorArray(t),expandAnySection.expandTrigger&&expandAnySection.expandDrawer)expandAnySection.applyExpand();else if(expandAnySection.count<10)setTimeout(function(){expandAnySection.init()},50),expandAnySection.count++;else return},200)},applyExpand:function(){for(expandAnySection.trigger in expandAnySection.expandTrigger)expandAnySection.expandTrigger[expandAnySection.trigger].addEventListener("click",function(){if(expandAnySection.matchingDrawer=this.getAttribute("data-menu"),this.classList.contains("expanded")){this.classList.remove("expanded");for(expandAnySection.drawer in expandAnySection.expandDrawer)expandAnySection.expandDrawer[expandAnySection.drawer].classList.contains(expandAnySection.matchingDrawer)&&expandAnySection.expandDrawer[expandAnySection.drawer].classList.remove("expanded")}else{this.classList.add("expanded");for(expandAnySection.drawer in expandAnySection.expandDrawer)expandAnySection.expandDrawer[expandAnySection.drawer].classList.contains(expandAnySection.matchingDrawer)&&expandAnySection.expandDrawer[expandAnySection.drawer].classList.add("expanded")}},!1)},expandTrigger:"",expandDrawer:"",matchingDrawer:"",trigger:"",drawer:"",count:0},expandSingleSection={init:function(n,t){setTimeout(function(){expandSingleSection.expandTrigger=baseScript.selectorArray(n);expandSingleSection.expandDrawer=baseScript.selectorArray(t);expandSingleSection.applyExpand()},200)},applyExpand:function(){for(expandSingleSection.trigger in expandSingleSection.expandTrigger)expandSingleSection.expandTrigger[expandSingleSection.trigger].addEventListener("click",function(){if(expandSingleSection.matchingDrawer=this.getAttribute("data-menu"),this.classList.contains("expanded")){this.classList.remove("expanded");for(expandSingleSection.drawer in expandSingleSection.expandDrawer)expandSingleSection.expandDrawer[expandSingleSection.drawer].classList.contains(expandSingleSection.matchingDrawer)&&expandSingleSection.expandDrawer[expandSingleSection.drawer].classList.remove("expanded")}else{for(expandSingleSection.trigger in expandSingleSection.expandTrigger)expandSingleSection.expandTrigger[expandSingleSection.trigger].classList.remove("expanded");for(expandSingleSection.drawer in expandSingleSection.expandDrawer)expandSingleSection.expandDrawer[expandSingleSection.drawer].classList.remove("expanded"),expandSingleSection.expandDrawer[expandSingleSection.drawer].classList.contains(expandSingleSection.matchingDrawer)&&expandSingleSection.expandDrawer[expandSingleSection.drawer].classList.add("expanded");this.classList.add("expanded")}},!1)},expandTrigger:"",expandDrawer:"",matchingDrawer:"",trigger:"",drawer:""},equalTableHeights={init:function(n,t,i){if(equalTableHeights.tableColumns=baseScript.selectorArray(n),equalTableHeights.tableColumns.length>0)equalTableHeights.verticalAlignCells(i,t);else if(equalTableHeights.loadcount<30)setTimeout(function(){equalTableHeights.loadcount++;equalTableHeights.init(n,t,i)},30);else return},verticalAlignCells:function(n,t){for(equalTableHeights.siblingColumn in equalTableHeights.tableColumns){equalTableHeights.rowList=Array.prototype.slice.call(equalTableHeights.tableColumns[equalTableHeights.siblingColumn].children);for(equalTableHeights.singleRow in equalTableHeights.rowList)equalTableHeights.rowList[equalTableHeights.singleRow].classList.contains(t)||equalTableHeights.rowList[equalTableHeights.singleRow].classList.contains("undefined")||(equalTableHeights.rowList[equalTableHeights.singleRow].classList.add(t),equalTableHeights.rowList[equalTableHeights.singleRow].classList.add("row-"+equalTableHeights.eachColumn+"-"+equalTableHeights.singleRow),equalTableHeights.rowList[equalTableHeights.singleRow].classList.contains("undefined")||equalTableHeights.tableRows.push(equalTableHeights.rowList[equalTableHeights.singleRow]))}if(document.body.offsetWidth>n-1)for(equalTableHeights.eachRow in equalTableHeights.tableRows){equalTableHeights.rowThisClass=equalTableHeights.tableRows[equalTableHeights.eachRow].getAttribute("class");equalTableHeights.rowSameRows=document.getElementsByClassName(equalTableHeights.rowThisClass);equalTableHeights.rowThisHeight=0;for(equalTableHeights.thisRow in equalTableHeights.rowSameRows)if(equalTableHeights.rowSameRows[equalTableHeights.thisRow].classList&&equalTableHeights.rowSameRows[equalTableHeights.thisRow].classList.contains(t)&&equalTableHeights.rowThisHeight<equalTableHeights.rowSameRows[equalTableHeights.thisRow].offsetHeight){equalTableHeights.rowThisHeight=equalTableHeights.rowSameRows[equalTableHeights.thisRow].offsetHeight;equalTableHeights.rowCheckRows=equalTableHeights.rowSameRows[equalTableHeights.thisRow].getAttribute("class");equalTableHeights.rowCheckSameRows=document.getElementsByClassName(equalTableHeights.rowCheckRows);for(equalTableHeights.shortRow in equalTableHeights.rowCheckSameRows)equalTableHeights.rowCheckSameRows[equalTableHeights.shortRow].offsetHeight<equalTableHeights.rowThisHeight&&!equalTableHeights.rowCheckSameRows[equalTableHeights.shortRow].classList.contains("undefined")&&(equalTableHeights.rowCheckSameRows[equalTableHeights.shortRow].style.height=equalTableHeights.rowThisHeight+"px")}}else for(equalTableHeights.eachRow in equalTableHeights.tableRows)equalTableHeights.tableRows[equalTableHeights.eachRow].style.height="auto"},loadcount:0,tableColumns:"",eachColumn:"",siblingColumns:"",siblingColumn:"",tableRows:[],rowList:"",singleRow:"",eachRow:"",thisRow:"",shortRow:"",rowThisClass:"",rowSameRows:"",rowThisHeight:"",rowCheckRows:"",rowCheckSameRows:""},jsonLoad={get:function(n){var t=new XMLHttpRequest;t.open("GET",n,!0);t.onload=function(){t.status>=200&&t.status<400&&(jsonLoad.data=JSON.parse(t.responseText))};t.onerror=function(){};t.send()},data:""},pollResponses={pollData:function(n){if(pollResponses.pollQuestion=document.getElementsByName("pollQuestion"),pollResponses.pollQuestion)for(var t=0;t<pollResponses.pollQuestion.length;t++)pollResponses.pollQuestion[t].checked===!0&&(pollResponses.pollAnswer=pollResponses.pollQuestion[t].value,pollResponses.calculate(n))},calculate:function(n){if(pollResponses.pollAnswer){pollResponses.answerNumber=pollResponses.pollAnswer;for(pollResponses.question in jsonLoad.data)if(jsonLoad.data[pollResponses.question].question===n){pollResponses.pollPercentage=Math.round(parseFloat(jsonLoad.data[pollResponses.question][pollResponses.answerNumber]/jsonLoad.data[pollResponses.question].totalVotes*100))/1;pollResponses.percentageContainer&&(pollResponses.percentageContainer.innerHTML=pollResponses.pollPercentage+"%");pollResponses.iteration=-1;for(pollResponses.allAnswers in jsonLoad.data[pollResponses.question])pollResponses.iteration>-1&&pollResponses.eachPercentage[pollResponses.iteration]&&(pollResponses.eachPercentage[pollResponses.iteration].innerHTML=Math.round(parseFloat(jsonLoad.data[pollResponses.question][pollResponses.allAnswers]/jsonLoad.data[pollResponses.question].totalVotes*100))+"%",pollResponses.eachGraph[pollResponses.iteration].style.width=Math.round(parseFloat(jsonLoad.data[pollResponses.question][pollResponses.allAnswers]/jsonLoad.data[pollResponses.question].totalVotes*100))+"%"),pollResponses.iteration++}}},question:"",answerNumber:"",iteration:"",pollQuestion:"",pollAnswer:"",pollPercentage:"",eachPercentage:"",eachGraph:"",percentageContainer:""},parallaxScroll={init:function(n,t){setTimeout(function(){parallaxScroll.scrollItem=baseScript.selectorArray(n);parallaxScroll.scrollDifferent(n,t)},200)},scrollDifferent:function(n,t){parallaxScroll.scrollItem=baseScript.selectorArray(n);for(parallaxScroll.item in parallaxScroll.scrollItem)t==="slow"&&parallaxScroll.scrollItem?parallaxScroll.scrollSlow(parallaxScroll.scrollItem[parallaxScroll.item]):t==="medium"&&parallaxScroll.scrollItem?parallaxScroll.scrollMedium(parallaxScroll.scrollItem[parallaxScroll.item]):t==="fast"&&parallaxScroll.scrollItem?parallaxScroll.scrollFast(parallaxScroll.scrollItem[parallaxScroll.item]):parallaxScroll.scrollFast(parallaxScroll.scrollItem[parallaxScroll.item])},scrollSlow:function(n){parallaxScroll.scrolled=baseScript.posTop();n.style.top=0-parallaxScroll.scrolled*.25+"px"},scrollMedium:function(n){parallaxScroll.scrolled=baseScript.posTop();n.style.top=0-parallaxScroll.scrolled*.5+"px"},scrollFast:function(n){parallaxScroll.scrolled=baseScript.posTop();n.style.top=0-parallaxScroll.scrolled*.75+"px"},scrolled:"",scrollItem:"",item:""},loadImage={init:function(n,t){if(loadImage.dynamicImage=baseScript.selectorArray(n),loadImage.browserWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,loadImage.dynamicImage)loadImage.addImage(t);else if(loadImage.count<10)loadImage.count++,setTimeout(function(){loadImage.init()},50);else return},addImage:function(n){for(image in loadImage.dynamicImage)loadImage.dynamicImageSrc=loadImage.dynamicImage[image].getAttribute("data-src"),loadImage.dynamicMobileImageSrc=loadImage.dynamicImage[image].getAttribute("data-mobsrc"),loadImage.dynamicImage[image].style.backgroundImage=loadImage.dynamicMobileImageSrc?loadImage.browserWidth>n-1?"url('"+loadImage.dynamicImageSrc+"')":"url('"+loadImage.dynamicMobileImageSrc+"')":"url('"+loadImage.dynamicImageSrc+"')"},dynamicImage:"",dynamicImageSrc:"",dynamicMobileImageSrc:"",browserWidth:"",count:0},scrollAnimations={init:function(n){setTimeout(function(){if(scrollAnimations.calloutSlide=baseScript.selectorArray(n),scrollAnimations.calloutSlide)scrollAnimations.animateCallouts(n);else if(scrollAnimations.count<10)scrollAnimations.count++,setTimeout(function(){scrollAnimations.init()},50);else return},200)},animateCallouts:function(n){scrollAnimations.windowHeight="innerHeight"in window?window.innerHeight:document.documentElement.offsetHeight;scrollAnimations.calloutSlide=baseScript.selectorArray(n);for(scrollAnimations.image in scrollAnimations.calloutSlide)scrollAnimations.calloutRect=scrollAnimations.calloutSlide[scrollAnimations.image].getBoundingClientRect(),scrollAnimations.calloutTop=parseInt(scrollAnimations.calloutRect.top),scrollAnimations.tempIriSummary=document.getElementById("iri-summary"),scrollAnimations.tempIriSummary?(scrollAnimations.iriHeight=parseInt(scrollAnimations.tempIriSummary.offsetHeight),scrollAnimations.calloutTop<=scrollAnimations.windowHeight-(scrollAnimations.iriHeight+15)?scrollAnimations.calloutSlide[scrollAnimations.image].classList.remove("anim-hide"):scrollAnimations.calloutSlide[scrollAnimations.image].classList.add("anim-hide")):scrollAnimations.calloutTop<=scrollAnimations.windowHeight?scrollAnimations.calloutSlide[scrollAnimations.image].classList.remove("anim-hide"):scrollAnimations.calloutSlide[scrollAnimations.image].classList.add("anim-hide")},calloutSlide:"",windowHeight:"",image:"",calloutRect:"",calloutTop:"",calloutHeight:"",tempIriSummary:"",iriHeight:"",count:0},revealAfterScroll={init:function(n,t){revealAfterScroll.revealElement=document.getElementById(n);revealAfterScroll.toggleElement(t)},toggleElement:function(n){revealAfterScroll.revealElement&&(typeof pageYOffset=="number"?revealAfterScroll.y=window.pageYOffset:(revealAfterScroll.docEl=document.compatMode&&document.compatMode==="CSS1Compat"?document.documentElement:document.body,revealAfterScroll.y=revealAfterScroll.docEl.scrollTop),revealAfterScroll.y<n?revealAfterScroll.revealElement.classList.add("anim-hide"):revealAfterScroll.revealElement.classList.remove("anim-hide"))},y:"",docEl:"",revealElement:""},tabFunction={init:function(n,t,i){if(tabFunction.tabTriggers=baseScript.selectorArray(t),tabFunction.tabAccordian=baseScript.selectorArray(i),tabFunction.tabSection=document.getElementById(n),tabFunction.videoPlayer=baseScript.selectorArray(".video-js"),tabFunction.tabUrlReader(),tabFunction.tabTriggers.length>0&&tabFunction.tabSection||tabFunction.tabAccordian.length>0&&tabFunction.tabSection)tabFunction.changeTabs(),tabFunction.count=0;else if(tabFunction.count<10)setTimeout(function(){tabFunction.init()},50),tabFunction.count++;else return},tabUrlReader:function(){tabFunction.urlParameters={};var n=window.location.search.substring(1),t=n.split("&");return tabFunction.urlParameters=t[0],tabFunction.urlParameters},changeTabs:function(){if(tabFunction.urlParameters.length>0){tabFunction.tabSection.setAttribute("class",tabFunction.urlParameters);for(trigger in tabFunction.tabTriggers)tabFunction.tabName=tabFunction.tabTriggers[trigger].getAttribute("data-tab"),tabFunction.tabName===tabFunction.urlParameters&&tabFunction.tabTriggers[trigger].classList.add("active")}for(trigger in tabFunction.tabTriggers)tabFunction.tabTriggers[trigger].addEventListener("click",function(){tabFunction.tabName=this.getAttribute("data-tab");tabFunction.tabSection.setAttribute("class",tabFunction.tabName);for(inactive in tabFunction.tabTriggers)tabFunction.tabTriggers[inactive].classList.remove("active");if(this.classList.add("active"),tabFunction.videoPlayer>0)for(video in tabFunction.videoPlayer){var n=tabFunction.videoPlayer[video].getAttribute("id");videojs(n).pause()}},!1);for(trigger in tabFunction.tabAccordian)tabFunction.tabAccordian[trigger].addEventListener("click",function(){if(tabFunction.tabName=this.getAttribute("data-tab"),tabFunction.tabSection.classList.contains(tabFunction.tabName)){tabFunction.tabSection.setAttribute("class","");for(inactive in tabFunction.tabAccordian)tabFunction.tabAccordian[inactive].classList.remove("active");if(tabFunction.videoPlayer>0)for(video in tabFunction.videoPlayer){var n=tabFunction.videoPlayer[video].getAttribute("id");videojs(n).pause()}}else{tabFunction.tabSection.setAttribute("class",tabFunction.tabName);for(inactive in tabFunction.tabAccordian)tabFunction.tabAccordian[inactive].classList.remove("active");this.classList.add("active")}},!1)},urlParameters:"",tabName:"",tabTriggers:"",tabSection:"",tabAccordian:"",count:0,videoPlayer:""};(function(){var i=new MutationObserver(function(i){i.forEach(function(){n.getAttribute("style")==="display: none;"?r.classList.remove("show"):r.classList.add("show");t.getAttribute("style")==="display: none;"?u.classList.remove("show"):u.classList.add("show")})}),n=document.getElementById("SettingOther"),r=document.getElementById("otherLabel"),t=document.getElementById("TreatmentOther"),u=document.getElementById("labelTreatmentOther");n&&i.observe(n,{attributes:!0,attributeFilter:["style"]});t&&i.observe(t,{attributes:!0,attributeFilter:["style"]})})()