‘;
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
The NFL is the only pro sports league without full-time officials. It announced plans to hire 17 full-time officials in December but decided to up the number before the start of the season.
The new positions come after the NFL experienced a ratings slump last year caused by competition from the presidential election, poor match-ups and an oversaturation of games.
It also received complaints from coaches and players about missed or incorrect calls made by officials. That’s despite their accuracy rate of over 97%.
Related: This NFL player’s retirement is brought to you by Kingsford charcoal
The NFL and the NFL Referees Association announced the addition of 21-24 new positions on Wednesday. Currently the league has 124 part-time officials and those employees will be able to apply for the full-time positions. Most of the NFL officials this season will still be part-time workers.
The NFL and the NFLRA said in a joint press release that they’ll be working to figure out how to use the new, full-time officials when they’re not working games and during the off-season. As it stands now, officials are currently off from February after the Super Bowl until April when they have their health physicals.
Many officials already work about 40 hours a week, even though they’re only part-time employees. They balance their NFL jobs with work as attorneys, insurance agents and teachers.
While it’s unclear how much full-time officials will make, current officials earn between $75,000 and $200,000 for the season.
CNNMoney (New York) First published August 9, 2017: 5:40 PM ET