C. diff. Infections Double Death Risk

Check Your Facts on Crohn’s

<span class="archive-tag" data-popover-text="

This article is from the WebMD News Archive

This content has not been reviewed within the past year and may not represent WebMD’s most up-to-date information.

See the latest news and features on Digestive Disorders

“>From the WebMD Archives

© 2012 WebMD, LLC. All rights reserved.

‘); } else { // If we match both our test Topic Ids and Buisness Ref we want to place the ad in the middle of page 1 if($.inArray(window.s_topic, moveAdTopicIds) > -1 && $.inArray(window.s_business_reference, moveAdBuisRef) > -1){ // The logic below reads count all nodes in page 1. Exclude the footer,ol,ul and table elements. Use the varible // moveAdAfter to know which node to place the Ad container after. window.placeAd = function(pn) { var nodeTags = [‘p’, ‘h3′,’aside’, ‘ul’], nodes, target; nodes = $(‘.article-page:nth-child(‘ + pn + ‘)’).find(nodeTags.join()).not(‘p:empty’).not(‘footer *’).not(‘ol *, ul *, table *’); //target = nodes.eq(Math.floor(nodes.length / 2)); target = nodes.eq(moveAdAfter); $(”).insertAfter(target); } // Currently passing in 1 to move the Ad in to page 1 window.placeAd(1); } else { // This is the default location on the bottom of page 1 $(‘.article-page:nth-child(1)’).append(”); } } })(); $(function(){ // Create a new conatiner where we will make our lazy load Ad call if the reach the footer section of the article $(‘.main-container-3’).prepend(”); });

Leave a Reply

Your email address will not be published. Required fields are marked *