function navigateTo(n){document.forms.aspnetForm.navigateNameHiddenField.value=n;document.forms.aspnetForm.submit()}function showFAQPopup(){CheckAndPopup("","/v/faqs","resizable,location=1,height=620,width=820,top=100,left=100,scrollbars=yes")}function showAmendmentsOrAgencyFAQPopup(){CheckAndPopup("","/faqs","resizable,location=1,height=620,width=820,top=100,left=100,scrollbars=yes")}function showFaq13(){CheckAndPopup("","/faqs#faqProcessingQ13","resizable,location=1,height=620,width=820,top=100,left=100,scrollbars=yes")}function showFaq14(){CheckAndPopup("","/faqs#faqProcessingQ14","resizable,location=1,height=620,width=820,top=100,left=100,scrollbars=yes")}function showFaq2(){CheckAndPopup("","/faqs#faqProcessingQ2","resizable,location=1,height=620,width=820,top=100,left=100,scrollbars=yes")}function showFaq3(){CheckAndPopup("","/faqs#faqProcessingQ3","resizable,location=1,height=620,width=820,top=100,left=100,scrollbars=yes")}function showTestimonials(){CheckAndPopup("/content/customer_testimonials.aspx","/content/customer_testimonials.aspx","resizable,height=740,width=900,top=0,left=100,scrollbars=yes")}function showSiteMap(){CheckAndPopup("/content/site_map.aspx","/content/site_map.aspx","resizable,height=740,width=900,top=0,left=100,scrollbars=yes")}function showSiteSecurity(){CheckAndPopup("/content/site_security.aspx","/content/site_security.aspx","resizable,height=740,width=900,top=0,left=100,scrollbars=yes")}function showAccessibility(){CheckAndPopup("/content/accessibility","/content/accessibility","resizable,height=740,width=900,top=0,left=100,scrollbars=yes")}function showPrivacy(){CheckAndPopup("/content/privacy","/content/privacy","resizable,height=740,width=900,top=0,left=100,scrollbars=yes")}function showChoicePointPrivacy(){CheckAndPopup("http://www.privacyatchoicepoint.com","http://www.privacyatchoicepoint.com","resizable,height=700,width=845,top=0,left=100,scrollbars=yes")}function showLegal(){CheckAndPopup("legal.html","http://www.choicepoint.com/legal.html","resizable,height=700,width=845,top=0,left=100,scrollbars=yes")}function setDesiredLanguage(n){var t={url:PathInfo.getRootPath()+"api/UIData/SetLanguage/"+n,type:"get"},i=function(n){n.languageCode!==""&&location.reload(!0)},r=function(){};$.ajax(t).done(i).fail(r)}function CheckAndPopup(n,t,i){var r,f,u;i===""&&(i=getDefaultPopUpArgs());r=window.location.toString();n!==""?r.lastIndexOf(n)===-1&&window.open(t,"",i):r.includes("ancestry")||r.includes("amendments")||r.includes("agency-florida-newborn")?(f=r.includes("ancestry")?"/ancestry":r.includes("amendments")?"/amendments":"/agency-florida-newborn",u=t.toString(),u.includes("/v")?(f="/v".concat(f),u=u.split("v").pop(),t=f.concat("",u)):t=f.concat("",u),window.open(t,"new",i)):window.open(t,"new",i)}function getViewportHeight(){return window.innerHeight!==window.undefined?window.innerHeight:document.compatMode==="CSS1Compat"?document.documentElement.clientHeight:document.body?document.body.clientHeight:window.undefined}function getViewportWidth(){return window.innerWidth!==window.undefined?window.innerWidth:document.compatMode==="CSS1Compat"?document.documentElement.clientWidth:document.body?document.body.clientWidth:void 0}function scrollAgencyInfo(){$("html, body").animate({scrollTop:500},"swing")}function scrollCertTypes(){$("html, body").animate({scrollTop:760},"swing")}function scrollAboutVitalChek(){$("html, body").animate({scrollTop:2e3},"swing")}function changeContent(n){var f=document.getElementById("info_menu"),t=f.getElementsByTagName("a"),e=t.length,r;for(i=0;i<e;i++)t[i].setAttribute("class",""),t[i].setAttribute("className","");r=document.getElementById("info_menu_item"+n);r.setAttribute("class","active");r.setAttribute("className","active");var u=document.getElementById("info_text"),o=u.getElementsByTagName("div"),s=u.getElementsByTagName("div").length;for(i=0;i<s;i++)o[i].style.display="none";document.getElementById("info_menu_item"+n+"_content").style.display="block"}function showDesktop(){jQuery.ajax({url:"AjaxDataServer.aspx",method:"post",data:"Data=showDesktop"}).done(function(){location.reload(!0)}).fail(function(){location.reload(!0)});location.reload(!0)}function GetIsMobilePhone(){return typeof IsMobilePhone!="undefined"?IsMobilePhone:!1}var ShoppingCartReader,MobileAdjustments;PathInfo={};PathInfo.getRootPath=function(){var n=document.location.pathname.toLowerCase(),i=function(n,t){return n.indexOf(t)===0},r=function(n){var t=n.indexOf("/"),i=n.indexOf("/",t+1);return i<t?n+"/":n.substring(t,i+1)},t="/";return i(n,"/amendments")?t="/amendments/":i(n,"/cookcounty")?t="/cookcounty/":i(n,"/ancestry")?t="/ancestry/":i(n,"/vitalchek")?t="/vitalchek/":i(n,"/agency")&&(t=r(n)),t};ShoppingCartReader={};ShoppingCartReader.getCurrentCertType=function(n){var t="";return n!==null&&n.OrderDetail!==null&&n.OrderDetail.CertType!==null&&(t=n.OrderDetail.CertType.toLowerCase()),t};MobileAdjustments=typeof MutationObserver=="undefined"?{init:function(){return}}:{config:{attributes:!0,childList:!0,characterData:!0,subtree:!0,attributeOldValue:!1,characterDataOldValue:!1,attributeFilter:["style"]},observer:new MutationObserver(function(n){var d,i,o,t,s,h,c,l,a,v,g,y,p,u,w,b,r,f,nt,tt,k,rt;if(n&&typeof Portal!="undefined"&&typeof Scenario!="undefined"&&Portal==="VitalChekPortal"&&Scenario!=="ScenarioLSP"&&GetIsMobilePhone()){for(d=n.length,MobileAdjustments.logToConsole&&console.log("MobileAdjustments observing "+d+" mutations."),i=!1,o=0;o<d;o++){t=n[o];MobileAdjustments.logToConsole&&console.log("MobileAdjustments handling - TagName["+(t.target.tagName?t.target.tagName:"no tag name")+"] - ID["+(t.target.id?"# "+t.target.id:"target has no id")+"].");try{i=t&&t.target&&t.target.id.match(MobileAdjustments.reIgnoreNodeIds)}catch(et){console.log("Exception caught in MobileAdjustments");i=!1}if(s=h=c=l=a=v=g=y=p="",!i&&t.addedNodes&&t.addedNodes.length)for(u=0;u<t.addedNodes.length;u++)w=t.addedNodes[u],s=w.nodeName,h=w.id,c=w.className,(s&&s.match(MobileAdjustments.reIgnoreNodeNames)||h&&h.match(MobileAdjustments.reIgnoreNodeIds)||c&&c.match(MobileAdjustments.reIgnoreNodeClasses))&&(i=!0);if(!i&&t.removedNodes&&t.removedNodes.length)for(u=0;u<t.removedNodes.length;u++)b=t.removedNodes[u],l=b.nodeName,a=b.id,v=b.className,(l&&l.match(MobileAdjustments.reIgnoreNodeNames)||a&&a.match(MobileAdjustments.reIgnoreNodeIds)||v&&v.match(MobileAdjustments.reIgnoreNodeClasses))&&(i=!0);(!i||t.target&&t.target.nodeName)&&(g=t.target.nodeName,y=t.target.id,p=t.target.className,(g.match(MobileAdjustments.reIgnoreTargetNodeNames)||y&&y.match(MobileAdjustments.reIgnoreTargetIds)||p&&p.match(MobileAdjustments.reIgnoreTargetClasses))&&(i=!0))}if(!i){try{if(MobileAdjustments.observer.disconnect(),r=$("[data-mobileposition='navbutton']"),f=r.length?r[0]:null,r=$("[data-mobileposition='content']"),nt=r.length?r[0]:null,r=$("[data-mobileposition='footer']"),tt=r.length?r[0]:null,k=MobileAdjustments.knownSizes[Portal],f||nt||tt){var st=window.visualViewport?window.visualViewport.height:window.innerHeight,it=tt,ht=it?it.clientHeight:k.footerHeight,e=f,ot=f?f.clientHeight:k.navBtnHeight,ct=$("#header").length?$("#header")[0].clientHeight:k.headerHeight,ut=nt,ft=ut?ut.clientHeight:0;stepH=$("#stepContent").length?$("#stepContent")[0].clientHeight:$("#questionDiv").length?$("#questionDiv")[0].clientHeight:$("#orderContentDiv").length?$("#orderContentDiv")[0].clientHeight:$("#orderPageDiv").length?$("#orderPageDiv")[0].clientHeight:0;stepH||(stepH=$("#fullOrderCenterStepContent").length?$("#fullOrderCenterStepContent")[0].clientHeight:$("#fullOrderStepContent").length?$("#fullOrderStepContent")[0].clientHeight:$("#fullOrderQuestionDiv").length?$("#fullOrderQuestionDiv")[0].clientHeight:$("#fullOrderContentDiv").length?$("#fullOrderContentDiv")[0].clientHeight:$("#fullOrderPageDiv").length?$("#fullOrderPageDiv")[0].clientHeight:0);it?e&&($(e).css("position")==="absolute"?stepH+ot>ft&&$(e).css("position","relative"):$(e).css("position")==="relative"&&stepH<ft&&$(e).css("position","absolute").css("bottom","0").css("left","0").css("top","unset")):MobileAdjustments.logToConsole&&console.log("No footer found for MobileAdjustments.")}else MobileAdjustments.logToConsole&&console.log("No positionable elements found for MobileAdjustments.")}catch(et){MobileAdjustments.logToConsole&&console.error("Exception in MobileAdjustments.\r\n",et)}rt=$("[data-mobileposition='content']");rt.length&&MobileAdjustments.observer.observe(rt[0],MobileAdjustments.config)}}}),init:function(n){this.logToConsole=n;this.observer.disconnect();var t=$("[data-mobileposition='content']");t.length&&(this.observer.observe(t[0],this.config),this.reIgnoreTargetNodeNames=new RegExp("(SELECT|INPUT)","i"),this.reIgnoreTargetIds=new RegExp("(dialog|hourglassDiv|stepButtonDiv|orderSummary|orderFAQ)","i"),this.reIgnoreTargetClasses=new RegExp("(dialog|tooltip|select2|-dte)","i"),this.reIgnoreNodeNames=new RegExp("(OPTION)","i"),this.reIgnoreNodeIds=new RegExp("(dialog)","i"),this.reIgnoreNodeClasses=new RegExp("(dialog|tooltip|select2|-dte)","i"),t.append("<div id='MobileAdjustmentInitializer'><\/div>"))},_logToConsole:Boolean,get logToConsole(){return this._logToConsole},set logToConsole(n){this._logToConsole=n},knownSizes:{VitalChekPortal:{headerHeight:96,footerHeight:129,navBtnHeight:60}}};$(document).ready(function(){if(GetIsMobilePhone()){var n=window.matchMedia("(orientation:landscape)");n.addEventListener("change",function(n){if(Scenario==="ScenarioLSP")location.reload(),console.info("detected an orientation change, so reloading to correct layout issues");else{var t=$("#orientationOverlayContainer"),i=$("#bodyDiv");n.matches?($(":focus").trigger("blur"),t.fadeIn(),i.fadeOut()):(t.fadeOut(),i.fadeIn())}});MobileAdjustments.init&&MobileAdjustments.init(!1)}});$(function(){if($.fn.datetextentry&&$.fn.datetextentry.defaults){var n=$.fn.datetextentry.defaults;n.min_year=1760;n.max_year=2099;n.format_date=function(n){return n.month+"/"+n.day+"/"+n.year};n.parse_date=function(n){return n&&n.match(/^(\d\d)\/(\d\d)\/(\d\d\d\d)/)?{day:RegExp.$2,month:RegExp.$1,year:RegExp.$3}:null};n.on_error=function(n){if(n){var t=this.input_day.$input.val(),i=this.input_month.$input.val(),r=this.input_year.$input.val();t=t==="DD"?"00":t;i=i==="MM"?"00":i;r=r==="YYYY"?"0000":r;this.$element.val(i+"/"+t+"/"+r);this.save_data!==undefined&&this.save_data()}};n.field_order="MDY";n.errorbox_y=0;n.field_width_day=10;n.field_width_month=10;n.field_width_year=15;n.field_tip_text_day=IsSpanish?"Día":"Day";n.field_tip_text_month=IsSpanish?"Mes":"Month";n.field_tip_text_year=IsSpanish?"Año":"Year";n.field_hint_text_year=IsSpanish?"AAAA":"YYYY";n.E_DAY_NAN=IsSpanish?"Día debe ser un número":"Day must be a number";n.E_DAY_TOO_BIG=IsSpanish?"Día debe ser 1 a 31":"Day must be 1 to 31";n.E_DAY_TOO_SMALL=IsSpanish?"Día debe ser 1 a 31":"Day must be 1 to 31";n.E_BAD_DAY_FOR_MONTH=IsSpanish?"Sólo %d días en %m %y":"Only %d days in %m %y";n.E_MONTH_NAN=IsSpanish?"Mes debe ser un número":"Month must be a number";n.E_MONTH_TOO_BIG=IsSpanish?"Mes debe ser 1 a 12":"Month must be 1 to 12";n.E_MONTH_TOO_SMALL=IsSpanish?"Mes debe ser 1 a 12":"Month must be 1 to 12";n.E_YEAR_NAN=IsSpanish?"Año debe ser un núSmero":"Year must be a number";n.E_YEAR_LENGTH=IsSpanish?"Año debe ser 4 digitos":"Year must be 4 digits";n.E_YEAR_TOO_SMALL=IsSpanish?"Año no debe ser antes %y":"Year must not be before %y";n.E_YEAR_TOO_BIG=IsSpanish?"Año no debe ser después de %y":"Year must not be after %y";n.E_MIN_DATE=IsSpanish?"Fecha no debe ser anterior a %DATE":"Date must not be before %DATE";n.E_MAX_DATE=IsSpanish?"Fecha no debe ser posterior a %DATE":"Date must not be later than %DATE";n.month_name=IsSpanish?["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","dicembre"]:["January","February","March","April","May","June","July","August","September","October","November","December"]}})