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 - Industry Business and Economics " style="position: relative;"> </div> <div class="text" id="pfid_67471"> <p> <a rel="nofollow" href="https://oilprice.com/Energy/Crude-Oil/Oil-Prices-Muted-After-Shooting-at-Trump-Rally.html" target="_blank" onclick="_gaq.push(['_trackPageview','/DailyNews/Oil-Prices-Muted-After-Shooting-at-Trump-Rally']);" >Oil Prices Muted After Shooting at Trump Rally</a> - 15 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/Oil-Prices-Muted-After-Shooting-at-Trump-Rally.html&text=Oil Prices Muted After Shooting at Trump Rally&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/Oil-Prices-Muted-After-Shooting-at-Trump-Rally.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/Oil-Prices-Muted-After-Shooting-at-Trump-Rally.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_67470"> <p> <a rel="nofollow" href="https://www.reuters.com/business/energy/us-drillers-cut-oil-gas-rigs-fifth-time-six-weeks-baker-hughes-says-2024-07-12/" target="_blank" onclick="_gaq.push(['_trackPageview','/DailyNews/US-Drillers-Cut-Oil-and-Gas-Rigs-for-Fifth-Time-in-Six-Weeks-Baker-Hughes-Says-']);" >US Drillers Cut Oil and Gas Rigs for Fifth Time in Six Weeks, Baker Hughes Says </a> - 15 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.reuters.com/business/energy/us-drillers-cut-oil-gas-rigs-fifth-time-six-weeks-baker-hughes-says-2024-07-12/&text=US Drillers Cut Oil and Gas Rigs for Fifth Time in Six Weeks, Baker Hughes Says &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.reuters.com/business/energy/us-drillers-cut-oil-gas-rigs-fifth-time-six-weeks-baker-hughes-says-2024-07-12/" ><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.reuters.com/business/energy/us-drillers-cut-oil-gas-rigs-fifth-time-six-weeks-baker-hughes-says-2024-07-12/" ><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_67469"> <p> <a rel="nofollow" href="https://www.reuters.com/markets/commodities/kuwait-announces-giant-oil-discovery-2024-07-14/" target="_blank" onclick="_gaq.push(['_trackPageview','/DailyNews/Kuwait-Announces-Giant-Oil-Discovery']);" >Kuwait Announces 'Giant' Oil Discovery</a> - 15 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.reuters.com/markets/commodities/kuwait-announces-giant-oil-discovery-2024-07-14/&text=Kuwait Announces 'Giant' Oil Discovery&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.reuters.com/markets/commodities/kuwait-announces-giant-oil-discovery-2024-07-14/" ><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.reuters.com/markets/commodities/kuwait-announces-giant-oil-discovery-2024-07-14/" ><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_67468"> <p> <a rel="nofollow" href="https://www.iranintl.com/en/202407136675" target="_blank" onclick="_gaq.push(['_trackPageview','/DailyNews/Iran-Oil-and-Gas-Strike-Swells-to-24-000-Workers-']);" >Iran Oil and Gas Strike Swells to 24,000 Workers </a> - 15 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.iranintl.com/en/202407136675&text=Iran Oil and Gas Strike Swells to 24,000 Workers &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.iranintl.com/en/202407136675" ><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.iranintl.com/en/202407136675" ><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_67467"> <p> <a rel="nofollow" href="https://oilprice.com/Latest-Energy-News/World-News/CNOOC-Announces-Offshore-Oil-and-Gas-Exploration-Breakthrough.html" target="_blank" onclick="_gaq.push(['_trackPageview','/DailyNews/CNOOC-Announces-Offshore-Oil-and-Gas-Exploration-Breakthrough']);" >CNOOC Announces Offshore Oil and Gas Exploration Breakthrough</a> - 15 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/CNOOC-Announces-Offshore-Oil-and-Gas-Exploration-Breakthrough.html&text=CNOOC Announces Offshore Oil and Gas Exploration Breakthrough&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/CNOOC-Announces-Offshore-Oil-and-Gas-Exploration-Breakthrough.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/CNOOC-Announces-Offshore-Oil-and-Gas-Exploration-Breakthrough.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 ) );
});