‘;
var storytext = document.getElementById(‘storytext’);
var heightToSkip = 0;
function resetValues()
{
totalHeight = 0;
targetChildElement = null;
}
// Check if story is in the blacklist of articles to remove smartassets
// [2017.07.27] Results of a one-off request from r.barbieri
if(BLACKLIST[location.pathname] === true) {
return
}
if(storytext == null)
{
console.log(“Error finding storytext element for SA embed”);
return;
}
for ( i = 0; i 0)
{
heightToSkip -= storytext.childNodes[i].clientHeight;
resetValues();
}
else if(heightToSkip minHeight && targetChildElement != null)
{
//console.log(“total height = ” + totalHeight);
//console.log(“childNode = ” + targetChildElement);
storytext.childNodes[targetChildElement].insertAdjacentHTML(‘afterend’, smartAssetDiv);
smartasset = document.getElementById(‘smartasset-article’);
smartasset.style.float = ‘left’; // allows module to have text float to right
smartasset.style.marginRight =’20px’;
smartasset.style.marginBottom =’25px’;
//console.log(storytext.childNodes[targetChildElement]);
//SMARTASSET.setDivIndex(targetChildElement);
SMARTASSET.setSmartAssetScript();
/* bail out since we’re done */
break;
}
}
/* div with id=”smartassetcontainer”. Sanity check to only embed once */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ && storytext.childNodes[i].id !== “undefined” && storytext.childNodes[i].id === “smartassetcontainer”) {
break;
}
/* div with id=”ie_column” */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ && storytext.childNodes[i].id !== “undefined” && storytext.childNodes[i].id === “ie_column”) {
resetValues();
}
/* embeds from twitter, facebook, youtube */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ && storytext.childNodes[i].classList.contains(’embed’)) {
resetValues();
}
/* cnn video player */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ && storytext.childNodes[i].classList.contains(‘cnnplayer’)) {
resetValues();
}
/* images */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘img’)
{
resetValues();
}
/* images stored in figure tags */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘figure’)
{
if(storytext.childNodes[i].clientWidth
State media reported that North Korean leader Kim Jong Un has finished reviewing a plan to fire four missiles off Guam, and has opted to wait to see what the “foolish Yankees” do next, apparently putting the onus on President Trump to make the next move.
Easing concerns about a nuclear standoff helped push the S&P 500 up by 1% on Monday. The tech-heavy Nasdaq index rallied by 1.3% and the Dow Jones industrial average climbed 0.6%.
U.S. stock futures are currently pointing up. European markets are mixed in early trading, while most Asian markets ended Tuesday with modest gains.
2. CEOs ditching Trump: Intel (INTC, Tech30) CEO Brian Krzanich became the third top business leader to step down from President Trump’s manufacturing council.
He followed the chiefs of Merck (MRK) and Under Armour (UA), who announced their decisions earlier Monday amid the fallout over Trump’s response to violence at a white nationalist rally in Charlottesville, Virginia.
“I resigned because I want to make progress, while many in Washington seem more concerned with attacking anyone who disagrees with them,” Krzanich wrote in a blog post.
Before the Bell newsletter: Key market news. In your inbox. Subscribe now!
3. Retail review: A number of major retailers are reporting earnings this week.
Things kick off before the opening bell with quarterly results from Coach (COH), Dick’s Sporting Goods (DKS), Home Depot (HD) and TJX (TJX), the company that runs T.J.Maxx.
Then Urban Outfitters (URBN) will release earnings after the close.
Later in the week companies such as Target (TGT), Gap (GPS) and Walmart (WMT) are reporting earnings.
On the economic front, the Census Bureau plans to release its July retail sales report at 8:30 a.m. ET.
It’s been a slow summer so far. Retail sales declined in May and June. Americans are spending less at gas stations, grocery stores, department stores, restaurants and bars.
Download CNN MoneyStream for up-to-the-minute market data and news
4. Coming this week:
Tuesday — Retailers report quarterly results
Wednesday — NAFTA talks begin; Target (TGT) and Cisco (CSCO, Tech30) earnings
Thursday — Walmart (WMT) and Gap (GPS) earnings
Friday — University of Michigan releases consumer confidence report for August
CNNMoney (London) First published August 15, 2017: 4:46 AM ET