...SMALL CRAFT ADVISORY REMAINS IN EFFECT UNTIL 4 PM EST THIS
AFTERNOON...
* WHAT...North winds 15 to 25 kt with gusts up to 30 kt and
rough waters.
* WHERE...Pamlico, Pungo, Neuse, and Bay Rivers.
* WHEN...Until 4 PM EST this afternoon.
* IMPACTS...Conditions will be hazardous to small craft.
PRECAUTIONARY/PREPAREDNESS ACTIONS...
Inexperienced mariners, especially those operating smaller
vessels, should avoid navigating in hazardous conditions.
&&
';
if (rPositions.indexOf(counter) > -1) {
sHTML += displayRegion(counter);
}
}
}
}
} else {
if (this.id == sOriginID) {
// Origin found. Begin displaying assets
bFoundOrigin = true;
} else {
// Origin found is false. Skip asset
// Fail-safe in case origin is not present in set. This can be removed when origin is fixed.
if (bFirstRun == true) {
// Stored first id
sFirstID = this.id;
bFirstRun = false;
} else if (this.id == sFirstID) {
// We've started again. Force origin
sOriginID = sFirstID;
bFoundOrigin = true;
} // end Fail-safe
}
}
// Append infinity set to container
$("#infinite-container").append(sHTML);
});
// Include block_id on newly added list items
$('#infinite-container .infinite-item.original').each(function() {
var sHref = scrubURL($(this).find(".card-headline a").attr("href"));
// Add to image and headlines links
$(this).removeClass('original')
.find(".card-headline a, .image a")
.attr("href", sHref + "#tncms-source=infinity-scroll-summary-sticky-siderail-next");
});
// Check next URL
if (sNextUrl) {
// if origin hasn't been found yet and we hit next_url. Trigger the set to pull in again.
if (bFoundOrigin == false) {
// No origin yet. Call the populate function
populateInfinitySet(sNextUrl);
} else {
// Append sNextUrl to infinity set
$("#infinite-container").append('
');
}
}
if (sInfinityType == 'summary_sticky_siderail') {
__tnt.regions.stickySide.determineStick($('#sticky-right-rail'), $('#sticky-right-rail-spacer'), 'siderail');
}
} else {
// Empty asset set returned. Go back in for a real set
populateInfinitySet(sNextUrl);
}
});
}
var infWaypoint = new IntersectionObserver(function(infContainer) {
if (infContainer[0].intersectionRatio > 0) {
if (!bInfiniStop) {
// Log waypoint hit event
__tnt.trackEvent({'category':'infinity-scroll','action':'request', 'label':'assets requested', 'value': true});
var nextURL = $('#infinite-more').data('next-url');
populateInfinitySet($('#infinite-more').data('next-url'));
}
}
});
var infinityContainer = document.getElementById('infinite-container');
infWaypoint.observe(infinityContainer);
// Rewrite URL to for preview
function scrubURL(sURL) {
if (typeof sURL != 'undefined'){
return sURL;
}
}