Tuesday, August 22, 2017

‘;
for (i = 0; i 4) {
afterParagraphFour = true;
}
currentParagraph = storytext.childNodes[i];
heights += currentParagraph.clientHeight;
if (heights >= limit && insertAfterThisParagraphIndex === -1) {
insertAfterThisParagraphIndex = SMARTASSET.setDivIndex(i);
console.log(“insert after paragraph number ” + i);
console.log(“HEIGHTS = ” + heights);
console.log(“LIMIT = ” + limit);
}
}
/* div with id=”ie_column” */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ &&
storytext.childNodes[i].id !== “undefined” &&
storytext.childNodes[i].id ===”ie_column”) {
heights = 0;
limit = 80;
insertAfterThisParagraphIndex = -1
}
/* embeds from twitter, facebook, youtube */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ &&
storytext.childNodes[i].classList.contains(’embed’)) {
heights = 0;
limit = 80;
insertAfterThisParagraphIndex = -1
}
/* cnn video player */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ &&
storytext.childNodes[i].classList.contains(‘cnnplayer’)) {
heights = 0;
limit = 80;
insertAfterThisParagraphIndex = -1
}
/* images */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘img’) {
heights = 0;
limit = 80;
}
/* images stored in figure tags */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘figure’) {
heights = 0;
limit = 80;
}
}
if (heights >= 875 && afterParagraphFour) {
storytext.childNodes[insertAfterThisParagraphIndex].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’;
}
}

SMARTASSET.setSmartAssetScript = function() {
console.log(‘starting setSmartAssetScript’);
SA = document.SA || [];
SA.push({
embedUrl: “https://smartasset.com”,
container: “#smartasset-article”,
version: 1.1,
data:
{ key: “bdknf2rinbhwvdksm6zbmhf3twrv4oih” }
/*{ key: “CNNe038d38a57032085441e7fe7010b0” }*/
});
console.log(‘finished in setSmartAssetScript push() call’);

var smscript = document.createElement(“script”);
smscript.type = “text/javascript”;
smscript.async = true;
smscript.src = (“https:” == document.location.protocol ? “https://” : “http://”) + “smartasset.com/embed.js”;

var s = document.getElementsByTagName(“script”)[0];
s.parentNode.insertBefore(smscript, s);
console.log(“finished entire function of setSmartAssetFunction()”);
};
SMARTASSET.setSmartAssetDiv();
SMARTASSET.setSmartAssetScript();

Quincey, 51, has worked for Coca-Cola (KO) for 20 years. He will assume responsibility for one of the most recognized brand names in the world. Only Apple, Google and Microsoft have more valuable brands, according to Forbes.

Kent, 64, has been CEO for eight years and will continue as chairman.

The company quoted longtime Coke investor Warren Buffett of Berkshire Hathaway (BRKA) praising him as an “excellent steward” of the company, and Quincey as a “smart investment” for the future of Coca-Cola.

Kent was paid a total of $14.6 million last year, according to regulatory filings. Quincey was paid about $6.8 million.

At the World Economic Forum Annual Meeting in Davos, Switzerland, earlier this year, Kent told Richard Quest of CNN that his company was pouring $4 billion into the Chinese market, and that he had personally approved the slogan “taste the feeling.”

Sales expanded to $43.7 billion in 2015 from $31.2 billion in 2009, the year Kent became CEO. But his time in the top job has not been worry-free. Sales of Diet Coke have fallen sharply, partly because of concerns that the artificial ingredients in diet soft drinks make them less healthy than they appear.

And Coke was criticized for funding an anti-obesity group that downplayed the health risks of sugary soft drinks. That group eventually closed down.

Related: Coke says it replenishes all the water it used

Coca-Cola has also struggled to compete against archrival Pepsi (PEP), which has outperformed Coca-Cola by diversifying into many different consumer products, including snacks.

Coke owns the drink brands Minute Maid, Dasani and Powerade. Pepsi owns Tropicana, Aquafina and Gatorade, but it also has Frito-Lay, the profitable division behind Fritos, Lay’s, Doritos, Cheetos and Cracker Jack.

–CNNMoney’s Paul R. La Monica assisted with this story.

CNNMoney (New York) First published December 9, 2016: 9:15 AM ET


Terms & Conditions apply

NMLS #1136


Source

NO COMMENTS