nih-gov/magazine.medlineplus.gov/article/rethinking-10000-steps/index.html
2025-02-26 13:17:41 -05:00

717 lines
32 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html dir="ltr" lang="en">
<head>
<!-- meta data -->
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1">
<link rel='canonical' href='https://magazine.medlineplus.gov/article/rethinking-10000-steps'>
<title>Rethinking 10,000 steps | NIH MedlinePlus Magazine</title>
<meta property="og:site_name" content="NIH MedlinePlus Magazine">
<meta property="og:type" content="article">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@medlineplus">
<meta name="twitter:creator" content="@medlineplus">
<meta name='description' content='Walking fewer than 10,000 steps a day can still produce significant health benefits for older women.'>
<meta property="og:locale" content="en_US">
<meta property="og:locale:alternate" content="es_ES">
<meta property="og:description" content="Walking fewer than 10,000 steps a day can still produce significant health benefits for older women.">
<meta name="twitter:description" content="Walking fewer than 10,000 steps a day can still produce significant health benefits for older women.">
<meta property="fb:app_id" content="240215103329416">
<!-- generated by seo_lite template -->
<meta name="twitter:title" content="Rethinking 10,000 steps | NIH MedlinePlus Magazine">
<meta property="og:title" content="Rethinking 10,000 steps | NIH MedlinePlus Magazine">
<meta property="og:image" content="https://magazine.medlineplus.gov//images/uploads/main_images/walking-women-seniors.jpg">
<meta name="twitter:image" content="https://magazine.medlineplus.gov//images/uploads/main_images/walking-women-seniors.jpg">
<meta property="og:url" content="https://magazine.medlineplus.gov/article/rethinking-10000-steps">
<link rel="alternate" hreflang="en" href="https://magazine.medlineplus.gov/article/rethinking-10000-steps/">
<link rel="alternate" hreflang="es" href="https://magazine.medlineplus.gov/es/artículo/reconsiderando-los-10000-pasos/">
<meta name="google-site-verification" content="1vqBPMloWNSvBFlS5qlOUjpWHxdv1TfmfFrH-tfYpcs" />
<!-- styles -->
<link rel="shortcut icon" type="image/x-icon" href="/images/design/favicon.ico">
<link href="/css/font-awesome.css" rel="stylesheet" type="text/css" media="all">
<link href="/css/uswds.min.css" rel="stylesheet" type="text/css" media="all">
<!-- link rel="stylesheet" type="text/css" media="all" href="https://magazine.medlineplus.gov/?css=custom/styles-2020.v.1632316900" / -->
<link href="/css/style.css" rel="stylesheet" type="text/css" media="all">
<link href="/css/slick.css" rel="stylesheet" type="text/css">
<link href="/css/responsive.css" rel="stylesheet" type="text/css" media="all">
<!-- fluid styles -->
<link rel="stylesheet" type="text/css" media="all" href="https://magazine.medlineplus.gov/?css=custom/fluid-styles.v.1702498498" />
<!-- google tag manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-MMVM77');</script>
</head>
<body>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MMVM77" height="0" width="0" style="display:none;visibility:hidden" title="googletagmanager"></iframe></noscript>
<a class="usa-skipnav" href="#main-content">Skip to main content</a>
<!-- Wrapper -->
<div class="wrapper">
<div id="top"></div>
<!-- Container -->
<header role="banner">
<div class="usa-accordion">
<div class="usa-header-top">
<div class="usa-grid">
<div class="usa-width-one-half top_logo">
<div class="usa-top-logo ">
<img src="/themes/ee/site/default/asset/img/common/nlm-logo-new.svg" alt="National Library of Medicine">
</div>
</div>
</div>
<!--<div class="usa-banner-content usa-grid usa-accordion-content" id="gov-banner">
<div class="usa-banner-guidance-gov usa-width-one-half">
<img class="usa-banner-icon usa-media_block-img" src="/images/design/icon-dot-gov-white.svg" alt="Dot gov">
<div class="usa-media_block-body">
<p>
The .gov means its official.<br>Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you're on a federal government site.
</p>
</div>
</div>
<div class="usa-banner-guidance-ssl usa-width-one-half">
<img class="usa-banner-icon usa-media_block-img" src="/images/design/icon-https-white.svg" alt="Https">
<div class="usa-media_block-body">
<p>
The site is secure.<br> The <em>https://</em> ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
</p>
</div>
</div>
</div>-->
</div>
</div>
<div class="usa-grid usa-logo-grid">
<div class="nih-logo">
<img src="/images/design/nih-mobile.svg" alt="NIH logo">
</div>
<div class="usa-width-two-thirds">
<div class="usa-logo">
<a href="/"><img src="/images/design/medlineplus-logo2.png" alt="Medlineplus"></a>
</div>
<div class="tagline">
<p>Trusted Health Information from the National Institutes of Health</p>
</div>
<button class="usa-menu-btn">Menu</button>
</div>
<div class="usa-width-one-third">
<div class="lang-mobile">
<a href="https://magazine.medlineplus.gov/es/artículo/reconsiderando-los-10000-pasos/">Español</a>
</div>
<div class="usa-social">
<ul>
<li>
<a href="https://magazine.medlineplus.gov/es/artículo/reconsiderando-los-10000-pasos/">Español</a>
</li>
<li><a href="https://magazine.medlineplus.gov/home/nih-medlineplus-magazine.feed"><i class="fa fa-rss-square" aria-hidden="true"></i>rss</a></li>
<li><a href="https://www.facebook.com/nationallibraryofmedicine"><i class="fa fa-facebook-square" aria-hidden="true"></i>facebook</a></li>
<li><a href="https://twitter.com/NLM_NIH" target="_blank"><img src=/images/uploads/multimedia/twitter.svg class="twit" alt="Twitter"></a></li>
<li><a href="https://www.youtube.com/user/NLMNIH"><i class="fa fa-youtube-square" aria-hidden="true"></i>youtube</a></li>
<li><a href="https://public.govdelivery.com/accounts/USNLMOCPL/subscriber/new?preferences=true"><i class="fa fa-envelope" aria-hidden="true"></i></a></li>
</ul>
</div>
<div class="usa-search-box">
<form class="usa-search usa-search-small" id="search_form" action="https://search.usa.gov/search" accept-charset="UTF-8" method="get" data-publisher-ignored="yes">
<input name="utf8" type="hidden" value="&#x2713;" /><input type="hidden" name="affiliate" id="affiliate" value="mlp-mag" />
<div role="search">
<label for="basic-search-field-small">Search</label>
<input id="basic-search-field-small" type="search" class="search-form usagov-search-autocomplete" placeholder="Search..." name="query" autocomplete="off" >
<button type="submit" name="commit"><i class="fa fa-search"></i>Search</button>
</div>
</form>
</div>
</div>
</div>
</header>
<div class="usa-navbar-section" role="navigation">
<!-- navbar -->
<div class="usa-grid">
<nav role="navigation" class="usa-nav">
<div class="usa-nav-inner">
<button class="usa-nav-close">
<img src="/images/design/close.svg" alt="close">
</button>
<ul class="usa-nav-primary usa-accordion">
<li>
<button class="usa-accordion-button usa-nav-link" aria-expanded="false" aria-controls="extended-nav-section-one">
<span>Health A-Z</span>
</button>
<ul id="extended-nav-section-one" class="usa-nav-submenu" aria-hidden="true">
<li>
<a href="/topic/anxiety/">Anxiety</a>
</li>
<li>
<a href="/topic/antidepressants/">Antidepressants</a>
</li>
<li>
<a href="/topic/breast-cancer/">Breast Cancer</a>
</li>
<li>
<a href="/topic/cholesterol/">Cholesterol</a>
</li>
<li>
<a href="/topic/COVID-19/">COVID-19</a>
</li>
<li>
<a href="/topic/hypothyroidism/">Hypothyroidism</a>
</li>
<li>
<a href="/topic/palliative-care/">Palliative Care</a>
</li>
<li>
<a href="/topic/physical-activity/">Physical Activity</a>
</li>
<li>
<a href="/topic/skin-conditions/">Skin Conditions</a>
</li>
<li>
<a href="/topics/"><strong>View all topics</strong></a>
</li>
</ul>
</li>
<li>
<button class="usa-accordion-button usa-nav-link" aria-expanded="false" aria-controls="extended-nav-section-two">
<span>NIH Research</span>
</button>
<ul id="extended-nav-section-two" class="usa-nav-submenu" aria-hidden="true">
<li>
<a href="/research-highlights/">Research Highlights</a>
</li>
<li>
<a href="/nih-technology-breakthroughs/">NIH Technology Breakthroughs</a>
</li>
<li>
<a href="/meet-the-researcher/">Meet the Researchers</a>
</li>
<li>
<a href="/nih-resources/">Resources at NIH</a>
</li>
</ul>
</li>
<li>
<button class="usa-accordion-button usa-nav-link" aria-expanded="false" aria-controls="extended-nav-section-three">
<span>Issues</span>
</button>
<ul id="extended-nav-section-three" class="usa-nav-submenu" aria-hidden="true">
<li>
<a href="/issues/current">Current Issue</a>
</li>
<li>
<a href="/issues/past-issues/">Past Issues</a>
</li>
<li>
<a href="/issues/issue-archive">Archived Issues</a>
</li>
</ul>
</li>
<li>
<button class="usa-accordion-button usa-nav-link" aria-expanded="false" aria-controls="extended-nav-section-five">
<span>Multimedia</span>
</button>
<ul id="extended-nav-section-five" class="usa-nav-submenu" aria-hidden="true">
<li>
<a href="/multimedia/video/">Video</a>
</li>
<li>
<a href="/multimedia/infographics/">Infographics</a>
</li>
<li>
<a href="/multimedia/health-fast-facts/">Health Fast Facts</a>
</li>
<li>
<a href="/multimedia/landing/">All Multimedia</a>
</li>
</ul>
</li>
<li>
<button class="usa-accordion-button usa-nav-link" aria-expanded="false" aria-controls="extended-nav-section-six">
<span>About</span>
</button>
<ul id="extended-nav-section-six" class="usa-nav-submenu" aria-hidden="true">
<li>
<a href="/about/the-magazine-team">Contact us</a>
</li>
</ul>
</li>
<li>
<button class="usa-accordion-button usa-nav-link" aria-expanded="false" aria-controls="extended-nav-section-four">
<span>Subscribe</span>
</button>
<ul id="extended-nav-section-four" class="usa-nav-submenu" aria-hidden="true">
<li>
<a href="/subscribe/">Email Updates</a>
</li>
</ul>
</li>
</ul>
<div class="usa-search-box">
<form class="usa-search usa-search-small" id="search_form_mobile" action="https://search.usa.gov/search" accept-charset="UTF-8" method="get" data-publisher-ignored="yes">
<input name="utf8" type="hidden" value="&#x2713;" /><input type="hidden" name="affiliate" id="affiliate-mobile" value="mlp-mag" />
<div role="search">
<label for="basic-search-field-small-mobile">Search</label>
<input id="basic-search-field-small-mobile" type="search" class="search-form" placeholder="Search..." name="query" autocomplete="off" >
<button type="submit" name="commit"><i class="fa fa-search"></i>Search</button>
</div>
</form>
</div>
</div>
</nav>
</div>
</div>
<main>
<!--banner-->
<section class="usa-grid usa-section article_section" role="main" aria-labelledby="main" id="main-content">
<a href="/topic/exercise/" class="article_btn">Exercise</a>
<div class="inner_heading">
<h1 id="main">Rethinking 10,000 steps</h1>
<!-- article/rethinking-10000-steps rethinking-10000-steps -->
</div>
<h2 class="lead_text">New study investigates how much walking older women really need</h2>
<div class="inner_article_img article_banner_img">
<img src="/images/uploads/main_images/walking-women-seniors.jpg" alt="Health benefits from walking can start at 4,000 steps a day for some people, according to a new NIH study. ">
<div class="article_caption" aria-hidden="true">
<p><i class="fa fa-camera"></i> Health benefits from walking can start at 4,000 steps a day for some people, according to a new NIH study. </p>
</div>
</div>
</section>
<section class="usa-grid article_section" role="region" aria-labelledby="article">
<article id="article">
<div class="usa-width-two-thirds inner-article_content inner_article_content" id="feature">
<p class="lead_text">If you have a fitness tracker or use your smartwatch to count your steps, you might be tracking a goal of walking 10,000 steps a day. But is that many steps really needed for good health? And what if you can&#39;t quite reach that number?</p>
<p>A new NIH-supported study suggests that 10,000 may not be the magic number after all. For older women, significant health benefits start at a modest 4,400 steps daily and level off at 7,500 steps.</p>
<p>In the study, a team of researchers from Brigham and Women&#39;s Hospital in Boston and Harvard Medical School followed nearly 17,000 women ages 62 to 101, with an average age of 72.</p>
<p>The women were given a fitness tracker to wear on their hip during waking hours for seven days, which measured both the number and speed of steps they took.</p>
<p>Researchers then analyzed the women&#39;s daily activity and tracked their deaths from any cause for more than four years.</p>
<p>The study had two important findings.</p>
<p>The first is that even a modest amount of activity can help you live longer. The women who achieved 4,400 steps a day had a 41% lower risk of death than those who took only 2,700 steps.</p>
<p>Their risk of death continued to decrease the more steps they took until they reached about 7,500 steps a day, when the effect leveled off.</p>
<p>Secondly, the study found that the number of steps was more important than the speed of the steps. In other words, it didn&#39;t matter whether the woman walked quickly or slowly, it was the total number of steps they took daily that provided the benefit.</p>
<p>The bottom line is walking more, even a little, is helpful for your health.</p>
<div class="article-meta">
<p><strong>Source</strong>:&nbsp;NIH Research Matters</p>
<div class="mt-1 mb-2"><strong>Image credit:</strong> iStock </div>
<p><i class="fa fa-calendar"></i> December 30, 2019</p>
</div>
</div>
</article>
<div class="usa-width-one-third aside_content" id="complementary" role="complementary" aria-labelledby="complementary">
<aside>
<div class="usa-grid find_section padding-0">
<div class="heading">
<h3 id="sidebar">Find Out More</h3>
</div>
<ul>
<li><a href="https://www.nih.gov/news-events/nih-research-matters/how-many-steps-better-health" target="_blank">NIH Research Matters: How many steps for better health?</a></li>
</ul>
</div>
<div class="usa-grid inner_article_img padding-0">
<aside role="complementary" aria-label="NCI Contact Center">
<figure class="nih-caption">
<img src="/images/uploads/ad_images/nci_bckgrnd2_302x384.jpg" alt="NCI Contact Center">
<figcaption class="nih-caption-text"><p>Not just another 1-800 Number.</p>
<p>1-800-4-CANCER</p>
<div><a class="usa-external_link-alt" href="https://www.cancer.gov/contact?utm_source=nih%20medlineplus%20magazine&amp;utm_medium=banner&amp;utm_campaign=nci-spring-19" target="_blank">Get free information and services and confidential support.</a></div>
</figcaption>
</figure>
</aside>
</div>
<div class="usa-grid health_fast_fact padding-0">
<div class="heading">
<h3>Health Fast Facts </h3>
</div>
<p style="text-align: center;"><span class="ff-30-purple"><i aria-hidden="true" class="fa fa-heart">&nbsp;</i></span></p>
<p>Wondering if you&#39;re doing <strong><span class="ff-purple">moderate or vigorous exercise</span></strong>? Try talking! If you&#39;re breathing hard but can talk easily, it&#39;s moderate intensity activity. If you can only say a few words before you have to take a breath, it&#39;s vigorous intensity activity.</p>
<small><strong>Source:</strong> Move Your Way</small>
</div>
<div class="usa-grid explore_section padding-0">
<div class="heading">
<h3>Explore More on MedlinePlus.gov</h3>
</div>
<div class="explore_link"><a href="https://medlineplus.gov/exerciseforolderadults.html" class="usa-external_link" target="_blank">Exercise for Older Adults</a><a href="https://medlineplus.gov/healthyaging.html" class="usa-external_link" target="_blank">Healthy Aging</a></div><div class="explore_link"><a href="https://medlineplus.gov/benefitsofexercise.html" class="usa-external_link" target="_blank">Benefits of Exercise</a> </div>
<a href="/topics/" class="load_btn usa-external_link" target="_blank">More health topics on MedlinePlus.gov »</a>
</div>
</aside>
</div>
</section>
</main>
<!-- Segment 1: article -->
<!-- Related Articles : -->
<!-- Related Articles from entry : 2958 : 273|2902|2859 -->
<section class="usa-grid usa-section" role="region" aria-labelledby="related-articles">
<div class="heading">
<h3 id="related-articles">You May Also Like</h3>
</div>
<div class="usa-width-one-third">
<div class="feature_box">
<a href="/article/just-30-minutes-of-daily-exercise-can-help-correct-a-day-of-sitting/">
<div class="feature_img">
<img src="/images/uploads/main_images/_main_article_list/exercise-su19.jpg" class="feature_img" alt=" ">
<span class="feature_tag">
Exercise</span>
</div>
<h4>Just 30 minutes of daily exercise can help correct a day of sitting</h4>
<p>Americans spend a lot of time sitting&mdash;at their desk, in the car, and on the couch. This can take a...</p>
</a>
</div>
</div>
<div class="usa-width-one-third">
<div class="feature_box">
<a href="/article/nih-study-tracks-exercise-with-mobile-apps-to-improve-heart-health/">
<div class="feature_img">
<img src="/images/uploads/main_images/_main_article_list/walking-exercise.png" class="feature_img" alt="D.C. resident Deborah Nix, left, helps lead a walking program with NIH. ">
<span class="feature_tag">
Exercise</span>
</div>
<h4>NIH study tracks exercise with mobile apps to improve heart health</h4>
<p>Tiffany Powell-Wiley, M.D., M.P.H., is dedicated to making Americans healthier.
She focuses on research related to heart...</p>
</a>
</div>
</div>
<div class="usa-width-one-third">
<div class="feature_box">
<a href="/article/exercise-key-to-keeping-weight-off/">
<div class="feature_img">
<img src="/images/uploads/main_images/_main_article_list/biggestloser-wt18.jpg" class="feature_img" alt=" ">
<span class="feature_tag">
Weight Control</span>
</div>
<h4>Exercise key to keeping weight off</h4>
<p>Losing weight is not easy but keeping it off can prove even harder. NIH researchers are studying ways to keep...</p>
</a>
</div>
</div>
</section>
<!-- <section class="inbox_section" role="region" aria-labelledby="subscribe">
<div class="usa-grid" id="subscribe">
<h2>Trusted health information delivered to your inbox</h2>
<form id="GD-snippet-form" action=
"https://public.govdelivery.com/accounts/USNLMMP/subscribers/qualify" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="&#x2713;" data-publisher-ignored="yes" /><input type="hidden" name="authenticity_token" value="yZ0SpTi1i9jOE2hqCnIK4EjbIKRWglj/Ltq7aX3F3KkWcqkCFRAIpzz0areoLIpVXiD7vKKJdHug07v6QWruaQ==" />
<p>Enter your email below</p>
<label for="signup">Sign</label>
<input id="signup" type="email" class="input_form" placeholder="Enter email address here ..." required>
<button type="submit" class="submit_btn">Sign up</button>
</form>
</div>
</section> -->
<footer role="contentinfo">
<div class="footer_top">
<div class="usa-grid">
<div class="usa-width-one-fourth footer_bottom_right">
<div class="" aria-label="Social Links">
<p class="font-white mt-1 mb--1"><a href="https://www.nlm.nih.gov/socialmedia/index.html"> Connect with NLM</a></p>
<ul>
<!--<li><a href="/home/nih-medlineplus-magazine" target="_blank"><i class="fa fa-rss-square" aria-hidden="true"></i>rss</a></li> -->
<li><a href="https://www.facebook.com/nationallibraryofmedicine" target="_blank"><img src=/images/uploads/multimedia/facebook.svg alt="Facebook"></a></li>
<li><a href="https://www.linkedin.com/company/national-library-of-medicine-nlm/" target="_blank"><img src=/images/uploads/multimedia/linkedin.svg alt="LinkedIn"></a></li>
<li><a href="https://twitter.com/NLM_NIH" target="_blank"><img src=/images/uploads/multimedia/twitter.svg alt="Twitter"></a></li>
<li><a href="https://www.youtube.com/user/NLMNIH" target="_blank"><img src=/images/uploads/multimedia/youtube.svg alt="YouTube"></a></li>
<li><a href="https://public.govdelivery.com/accounts/USNLMOCPL/subscriber/new?preferences=true" target="_blank"><img src=/images/uploads/multimedia/mail.svg alt="email"></a></li>
</ul>
</div>
</div>
<div class="usa-width-one-fourth mt-1">
<p class="font-white">National Library of Medicine
<br>8600 Rockville Pike
<br> Bethesda, MD 20894
</p>
</div>
<div class="footer_top_middle" role="navigation" aria-label="Footer Menu">
<ul class="usa-width-one-fourth footer_list mt-1">
<li><a href="https://www.nlm.nih.gov/web_policies.html" class="text-white"> Web Policies </a></li>
<li><a href="https://www.nih.gov/institutes-nih/nih-office-director/office-communications-public-liaison/freedom-information-act-office" class="" target="_blank">FOIA</a></li>
<li><a href="https://www.hhs.gov/vulnerability-disclosure-policy/index.html" class="" target="_blank" id="anch_87">HHS Vulnerability Disclosure</a></li>
</ul>
<ul class="usa-width-one-fourth mt-1">
<li><a href="https://support.nlm.nih.gov/" class="" target="_blank">NLM Support Center</a></li>
<li><a href="https://www.nlm.nih.gov/accessibility.html" class="" target="_blank">Accessibility</a></li> <li><a href="https://www.nlm.nih.gov/careers/jobopenings.html" class="" target="_blank">Careers</a></li>
</ul>
</div>
</div>
</div>
<div class="footer_bottom">
<div class="usa-grid">
<div class="footer_bottom_left" role="navigation" aria-label="Footer External Links">
<p class="text-center text-white"> <a class="text-white" href="//www.nlm.nih.gov/">NLM</a> | <a class="text-white" href="https://www.nih.gov/">NIH</a> | <a class="text-white" href="https://www.hhs.gov/">HHS</a> | <a class="text-white" href="https://www.usa.gov/">USA.gov</a></p>
</div>
</div>
</div>
<a href="#top" class="scroll-btn scroll fa fa-angle-up"><i>Go to top</i></a>
</footer>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous"></script>
<!-- script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E=" crossorigin="anonymous"></script -->
<script src="/js/uswds.min.js"></script>
<!-- script src="/js/jquery-1.9.1.min.js"></script -->
<!-- script src="/js/jquery.easing.1.3.js"></script -->
<script src="/js/slick.min.js"></script>
<script src="/js/jquery.easing.1.4.min.js"></script>
<script src="/js/custom.js?t=1740554499"></script>
<script>
//<![CDATA[
var usasearch_config = {siteHandle:"mlp-mag"};
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "//search.usa.gov/javascripts/remote.loader.js";
document.getElementsByTagName("head")[0].appendChild(script);
//]]>
</script>
<script src="https://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55ca7aa7a7dcbf94"></script>
<script src="https://www.nlm.nih.gov/coop_all.js"></script>
<script>
var createCookie = function(name, value, days) {
if (days) {
var date = new Date();AC
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
var expires = '; expires=' + date.toGMTString();
}
else var expires = '';
document.cookie = name + '=' + value + expires + '; path=/';
};
var readCookie = function(name) {
var nameEQ = name + '=';
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
}
return null;
};
var eraseCookie = function(name) {
createCookie(name, '', -1);
};
function coopcookie() {
$(".insertcoop").hide();
createCookie("coop", "hidden");
};
if (!readCookie("coop"))
{
if (coopMedlinePlusMagazineSpa && window.location.href.includes("medlineplus.gov/es/"))
{
$( "header" ).append( $(coopMedlinePlusMagazineSpa) );
}
else
{
if (coopMedlinePlusMagazineEng)
{
$( "header" ).append( $(coopMedlinePlusMagazineEng) );
}
}
}
if (readCookie("coop"))
{$(".insertcoop").hide();}
else
{$(".insertcoop").show();}
</script>
</body>
</html>