/*open_enrollment*/(function(n){var m=n.getMonth(),d=n.getDate();if(m<8||m>11)return;if(m===8&&d<15)return;if(m===11&&d>7)return;$('body').addClass('openEnrollment');})(new Date);
var _userway_config = {
/* uncomment the following line to override default position*/
position: '3',
/* uncomment the following line to override default size (values: small, large)*/
size: 'large',
/* uncomment the following line to override default language (e.g., fr, de, es, he, nl, etc.)*/
language: 'en-US',
/* uncomment the following line to override color set via widget (e.g., #053f67)*/
color: '#053f67',
/* uncomment the following line to override type set via widget(1=person, 2=chair, 3=eye)*/
type: '1',
/* uncomment the following line to override support on mobile devices*/
mobile: true,
account: '2g8VFZzkRL'
};
$('.blockWrap_e47e8d1410bc4211ac7258ea821e3611').prependTo('.headerAndNavContainer');
// Privacy Policy on Mobile
$('.navContent > ul > li:nth-last-of-type(-n+2)').clone().appendTo('.mobileFooterContainer').addClass('mobilePrivacyTerms');
//NAV Wrap a new div around last three nav items
$('.navContent > ul > li:nth-child(-n+2)').wrapAll( $('
').addClass('navButtonWrap') );
/* HEALTH NEWS RSS FEED */
$('li.rss-item div:first-of-type').addClass('thumbnail');
/* Config Initialization Script */
var mcall = document.createElement('script');
mcall.src = '//api-web.rxwiki.com/portal/shared_config/configRemote.js';
mcall.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(mcall);
//NAV secondary nav above nav
$('.blockWrap_a77f4e9650a7434e904c7be524d412e2').appendTo('.headerContainer');
//javaScript
// Favicon
var favicon = document.createElement('link');
favicon.type = 'image/png';
favicon.rel = 'icon';
favicon.href = 'https://static.spacecrafted.com/a3ab7af614084aadb2de592bc7e7817d/i/f96bc296f84d48e9986a949abf440ebf/1/5feFb8zhrk/Autauga%20App%20Icon2.png';
document.getElementsByTagName('head')[0].appendChild(favicon);
var slideIndex = 1;
showSlides(slideIndex);
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
}
/*------------ HOMEPAGE BUTTONS -----------*/
$('.block_da4ee04ddd5b41e791a032b2a0045750 .blockInnerContent p a:nth-of-type(1)').addClass('button ctaButton');
$('.block_da4ee04ddd5b41e791a032b2a0045750 .blockInnerContent p a:nth-of-type(2)').addClass('button ctaButton');
$('.block_e50e325e73b7461196c09804565937b1 .itemInnerContent a').addClass('button ctaButton');
/* HEALTH NEWS RSS FEED */
$('li.rss-item div:first-of-type').addClass('thumbnail');
$('.block_b960ebf134bd4ebf8940caa4e40bdf02').appendTo('.headerContainer');
/* Config Initialization Script */
var mcall = document.createElement('script');
mcall.src = '//caas.rxwiki.com/sites/all/themes/tseven/js/external/config_remote_web.min.js';
mcall.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(mcall);