function htmlDecode(value) {
return $("").html(value).text();
}
$(document).ready(function(){
var newscontent = '<!-- Begin module header wrapper code --> <style> /* https://www.aapg.org/Portals/0/images/_site/share-icons-sprite.png?width=136&height=60 */ @media only screen and (min-width: 769px) { .aapg-sm-small { background-repeat: no-repeat; display: inline-block; font-family: Verdana,Helvetica,sans-serif; font-size: 11px; height: 16px; line-height: 16px; padding-left: 20px; padding-right: 3px; white-space: nowrap; background-image: url("https://img.aapg.org/Portals/0/images/_site/share-icons-sprite.png?width=136&height=60"); } .aapg-twitter-small { background-position: -20px -20px; padding-left: 16px; } .aapg-facebook-small { background-position: 0px -20px; padding-left: 16px; } .aapg-linkedin-small { background-position: -120px -20px; padding-left: 16px; } .daily .litImage { float: left; } .daily .litImage a img, .daily .litImage div img { min-height: 0; min-width: 0; width: 100%; box-sizing: border-box; max-width: 64px; } .daily .image-overlay { display: block; position: absolute; width: 50px; height: 50px; } .daily { margin-bottom: 15px; clear: both; } .daily .image-overlay { background-size: 50px 50px !important; } } @media only screen and (max-width: 768px) { .aapg-sm-small { background-repeat: no-repeat; display: inline-block; font-family: Verdana,Helvetica,sans-serif; font-size: 11px; height: 16px; line-height: 16px; padding-left: 20px; padding-right: 3px; white-space: nowrap; background-image: url("https://img.aapg.org/Portals/0/images/_site/share-icons-sprite.png?width=136&height=60"); } .aapg-twitter-small { background-position: -20px -20px; padding-left: 16px; } .aapg-facebook-small { background-position: 0px -20px; padding-left: 16px; } .aapg-linkedin-small { background-position: -120px -20px; padding-left: 16px; } .daily .litImage { float: left; } .daily .litImage a img, .daily .litImage div img { min-height: 0; min-width: 0; width: 100%; box-sizing: border-box; max-width: 64px; } .daily .image-overlay { display: block; position: absolute; width: 50px; height: 50px; } .daily { margin-bottom: 15px; clear: both; } .inner_fullpane_area .ModDNNHTMLC div.daily .litImage { max-width: 64px; } .inner_fullpane_area .ModDNNHTMLC div.daily .text { min-height: 64px; } .daily .image-overlay { background-size: 50px 50px !important; } } </style> <div class="items replaced "><!-- End module header wrapper code --><!-- Begin module body wrapper code --> <!-- <div class="--> <div class="daily external"> <div class=" litContentTypeIcon litImage Daily News - Science " style="position: relative;"> </div> <div class="text" id="pfid_67480"> <p> <a rel="nofollow" href="https://www.livescience.com/planet-earth/geology/earths-plate-tectonics-fired-up-hundreds-of-millions-of-years-earlier-than-we-thought-ancient-crystals-reveal" target="_blank" onclick="_gaq.push(['_trackPageview','/DailyNews/Earth-s-Plate-Tectonics-Fired-Up-Hundreds-of-Millions-of-Years-Earlier-Than-Thought']);" >Earth's Plate Tectonics Fired Up Hundreds of Millions of Years Earlier Than Thought</a> - 17 July, 2024 07:30 AM <span class="inline-share-buttons" style="white-space: nowrap"> <a target="_blank" href="https://twitter.com/intent/tweet?url=https://www.livescience.com/planet-earth/geology/earths-plate-tectonics-fired-up-hundreds-of-millions-of-years-earlier-than-we-thought-ancient-crystals-reveal&text=Earth's Plate Tectonics Fired Up Hundreds of Millions of Years Earlier Than Thought&via=AAPG" ><span title="Tweet This!" class="aapg-twitter-small aapg-sm-small" ></span></a> <a target="_blank" href="https://facebook.com/sharer.php?u=https://www.livescience.com/planet-earth/geology/earths-plate-tectonics-fired-up-hundreds-of-millions-of-years-earlier-than-we-thought-ancient-crystals-reveal" ><span title="Share on Facebook!" class="aapg-facebook-small aapg-sm-small" ></span></a> <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.livescience.com/planet-earth/geology/earths-plate-tectonics-fired-up-hundreds-of-millions-of-years-earlier-than-we-thought-ancient-crystals-reveal" ><span title="Share on LinkedIn!" class="aapg-linkedin-small aapg-sm-small" ></span></a> </span> </p> </div> </div> <!-- <div class="--> <div class="daily external"> <div class=" litContentTypeIcon litImage Daily News - Industry Business and Economics " style="position: relative;"> </div> <div class="text" id="pfid_67476"> <p> <a rel="nofollow" href="https://oilprice.com/Energy/Crude-Oil/Africa-Emerges-as-Focal-Point-in-Global-Oil-and-Gas-Exploration.html" target="_blank" onclick="_gaq.push(['_trackPageview','/DailyNews/Africa-Emerges-as-Focal-Point-in-Global-Oil-and-Gas-Exploration']);" >Africa Emerges as Focal Point in Global Oil and Gas Exploration</a> - 17 July, 2024 07:30 AM <span class="inline-share-buttons" style="white-space: nowrap"> <a target="_blank" href="https://twitter.com/intent/tweet?url=https://oilprice.com/Energy/Crude-Oil/Africa-Emerges-as-Focal-Point-in-Global-Oil-and-Gas-Exploration.html&text=Africa Emerges as Focal Point in Global Oil and Gas Exploration&via=AAPG" ><span title="Tweet This!" class="aapg-twitter-small aapg-sm-small" ></span></a> <a target="_blank" href="https://facebook.com/sharer.php?u=https://oilprice.com/Energy/Crude-Oil/Africa-Emerges-as-Focal-Point-in-Global-Oil-and-Gas-Exploration.html" ><span title="Share on Facebook!" class="aapg-facebook-small aapg-sm-small" ></span></a> <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=https://oilprice.com/Energy/Crude-Oil/Africa-Emerges-as-Focal-Point-in-Global-Oil-and-Gas-Exploration.html" ><span title="Share on LinkedIn!" class="aapg-linkedin-small aapg-sm-small" ></span></a> </span> </p> </div> </div> <!-- <div class="--> <div class="daily external"> <div class=" litContentTypeIcon litImage Daily News - Science Environmental " style="position: relative;"> </div> <div class="text" id="pfid_67479"> <p> <a rel="nofollow" href="https://phys.org/news/2024-07-oil-gas-permian-basin-source.html" target="_blank" onclick="_gaq.push(['_trackPageview','/DailyNews/Oil-and-Gas-Development-in-Permian-Basin-a-Likely-Source-of-Ozone-Pollution-in-Carlsbad-Caverns-National-Park-']);" >Oil and Gas Development in Permian Basin a Likely Source of Ozone Pollution in Carlsbad Caverns National Park </a> - 17 July, 2024 07:30 AM <span class="inline-share-buttons" style="white-space: nowrap"> <a target="_blank" href="https://twitter.com/intent/tweet?url=https://phys.org/news/2024-07-oil-gas-permian-basin-source.html&text=Oil and Gas Development in Permian Basin a Likely Source of Ozone Pollution in Carlsbad Caverns National Park &via=AAPG" ><span title="Tweet This!" class="aapg-twitter-small aapg-sm-small" ></span></a> <a target="_blank" href="https://facebook.com/sharer.php?u=https://phys.org/news/2024-07-oil-gas-permian-basin-source.html" ><span title="Share on Facebook!" class="aapg-facebook-small aapg-sm-small" ></span></a> <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=https://phys.org/news/2024-07-oil-gas-permian-basin-source.html" ><span title="Share on LinkedIn!" class="aapg-linkedin-small aapg-sm-small" ></span></a> </span> </p> </div> </div> <!-- <div class="--> <div class="daily external"> <div class=" litContentTypeIcon litImage Daily News - Industry Business and Economics " style="position: relative;"> </div> <div class="text" id="pfid_67478"> <p> <a rel="nofollow" href="https://www.bbc.com/news/articles/c25lpxzw9wlo" target="_blank" onclick="_gaq.push(['_trackPageview','/DailyNews/Bolivia-Discovers-Huge-Natural-Gas-Field-']);" >Bolivia Discovers Huge Natural Gas Field </a> - 17 July, 2024 07:30 AM <span class="inline-share-buttons" style="white-space: nowrap"> <a target="_blank" href="https://twitter.com/intent/tweet?url=https://www.bbc.com/news/articles/c25lpxzw9wlo&text=Bolivia Discovers Huge Natural Gas Field &via=AAPG" ><span title="Tweet This!" class="aapg-twitter-small aapg-sm-small" ></span></a> <a target="_blank" href="https://facebook.com/sharer.php?u=https://www.bbc.com/news/articles/c25lpxzw9wlo" ><span title="Share on Facebook!" class="aapg-facebook-small aapg-sm-small" ></span></a> <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.bbc.com/news/articles/c25lpxzw9wlo" ><span title="Share on LinkedIn!" class="aapg-linkedin-small aapg-sm-small" ></span></a> </span> </p> </div> </div> <!-- <div class="--> <div class="daily external"> <div class=" litContentTypeIcon litImage Daily News - Industry Business and Economics " style="position: relative;"> </div> <div class="text" id="pfid_67477"> <p> <a rel="nofollow" href="https://oilprice.com/Latest-Energy-News/World-News/Kenyan-Government-Rejects-Tullow-Oils-Field-Plan.html" target="_blank" onclick="_gaq.push(['_trackPageview','/DailyNews/Kenyan-Government-Rejects-Tullow-Oil-s-Field-Plan']);" >Kenyan Government Rejects Tullow Oil’s Field Plan</a> - 17 July, 2024 07:30 AM <span class="inline-share-buttons" style="white-space: nowrap"> <a target="_blank" href="https://twitter.com/intent/tweet?url=https://oilprice.com/Latest-Energy-News/World-News/Kenyan-Government-Rejects-Tullow-Oils-Field-Plan.html&text=Kenyan Government Rejects Tullow Oil’s Field Plan&via=AAPG" ><span title="Tweet This!" class="aapg-twitter-small aapg-sm-small" ></span></a> <a target="_blank" href="https://facebook.com/sharer.php?u=https://oilprice.com/Latest-Energy-News/World-News/Kenyan-Government-Rejects-Tullow-Oils-Field-Plan.html" ><span title="Share on Facebook!" class="aapg-facebook-small aapg-sm-small" ></span></a> <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=https://oilprice.com/Latest-Energy-News/World-News/Kenyan-Government-Rejects-Tullow-Oils-Field-Plan.html" ><span title="Share on LinkedIn!" class="aapg-linkedin-small aapg-sm-small" ></span></a> </span> </p> </div> </div><!-- End module body wrapper code --><!-- Begin module footer wrapper code --><!-- </div>--><!-- <div>DaysLimit = </div> <div>Mode = DailyNews</div> <div>numberperrow = 1</div>--> </div> <!-- <div>Pagination goes here: <br/> NumRecords 5 <br/> NumPages n <br/> PageCount 1 ( ItemCountStart 1 - ItemCountEnd 5 ) <br/> CurrentPage 1</div>--><!-- End module footer wrapper code --><div class="morelink" align="right"><a target="_blank" href="/Home/News-in-Review">News in Review ...</a></div>';
var newsmoduleid = $("div.tabs-daily-news");
console.log(newsmoduleid);
$(newsmoduleid).html( htmlDecode( newscontent ) );
});