South Point 400 | Official Site Of NASCAR – NASCAR

<!–

South Point 400 | Official Site Of NASCAR

<!– Admiral: Visitor Relationship Management tag for nascar.com
!(function(o,n,t){t=o.createElement(n),o=o.getElementsByTagName(n)[0],t.async=1,t.src=”https://dollardelta.com/v2fxbvER6uFJ0DSzZuUNcX4nSqyLv8KeaxegMN0jlNdoDxkM6S9MjKGk”,o.parentNode.insertBefore(t,o)})(document,”script”),(function(o,n){o[n]=o[n]||function(){(o[n].q=o[n].q||[]).push(arguments)}})(window,”admiral”);!(function(n,e,r,t){function o(){if((function o(t){try{return(t=localStorage.getItem(“v4ac1eiZr0”))&&0<t.split(",")[4]}catch(n){}return!1})()){var t=n[e].pubads();typeof t.setTargeting===r&&t.setTargeting("admiral-engaged","true")}}(t=n[e]=n[e]||{}).cmd=t.cmd||[],typeof t.pubads===r?o():typeof t.cmd.unshift===r?t.cmd.unshift(o):t.cmd.push(o)})(window,"googletag","function");
–>

Las Vegas Motor Speedway

September 27th, 2020

Ally inspired by Danny Koker

Richard Petty Motorsports

Motorsports Business Management

Motorsports Business Management

<!– –>

‘;
} else {
htmlLeftBtn = ‘

‘+
‘+
LIVE‘+

‘;
}
//event details
if(disableLiveFeed){
htmlEventDetails = ‘

‘ +

‘+eventRaceName+’

‘ +

‘;
} else {
htmlEventDetails = ‘

‘ +

‘+eventRaceName+’

‘ +

Laps: ‘+lapsComplete+’/’+lapsTotal+’

‘ +

‘+raceType+’

‘ +

Stage: ‘+liveData[‘stage’][‘stage_num’]+’ of ‘+(eval(totalStages).filter(Boolean).length + 1)+’

‘ +

‘;
}

//right button
htmlRightBtn = ‘‘+
‘+ctaButtonText+’‘+
‘;

htmlData = ‘

‘ + htmlLeftBtn + htmlEventDetails + htmlRightBtn + ‘

‘;

function addTicker(htmlData){
jQuery(‘.header’).append(htmlData);
var tickerHeight = jQuery(“.live-notification-bar “).height();
jQuery(“.live-notification-bar “).parent().next().css(“padding-top”, (tickerHeight-6)+”px”);//TO DO: Remove the additional 6 paddings once Mweb redesign launches
if(jQuery(“.mobile-featured-container .mobile-featured-buttons”)[0] ){
var tabsAdjustment = tickerHeight + 40;
var tabsHeight = jQuery(“.mobile-featured-container .mobile-featured-buttons”).height();
jQuery(“.mobile-featured-inner-container-items”).css(“margin-top”, tabsHeight+”px”);
jQuery(“.mobile-featured-container .mobile-featured-buttons”).css(“top”, tabsAdjustment+”px”);
}
}

if(!disableTicker){
if(!eventRaceName){
jQuery.ajax({
type: “GET”,
url: ‘/wp-admin/admin-ajax.php’,
data: {
action: ‘global_events_lookup’,
meta_query: {“eventType”: “schedule”, “eventSeries”:ticker_seriesID, “eventRaceID”:raceID}
},
success: function (json) {
var event_data = JSON.parse(json);
console.log(“event data”, event_data);
eventRaceName = event_data[‘eventName’];
addTicker(htmlData);
jQuery(‘.live-event-name’).text(eventRaceName);
if(runType == “3”){
jQuery(‘.live-event-type span’).hide();
jQuery(‘.live-event-stage’).show();
jQuery(‘.live-event-laps’).show();
jQuery(‘.live-event-type’).addClass(“separator”);

} else {
jQuery(‘.live-event-type span’).show();
jQuery(‘.live-event-stage’).hide();
jQuery(‘.live-event-laps’).hide();
}
},
error: function (xhr, status, error) {
var err = eval(“(” + xhr.responseText + “)”);
console.log(“err”, err);
addTicker(htmlData);
}
});
} else {
addTicker(htmlData);
}

}

}

if(jQuery(“.live-notification-bar”)[0] && !disableLiveFeed ){ //Already exist only update details that can change
jQuery(‘.live-race-indicator’).attr(‘class’, ‘live-left-button live-race-indicator race-center-live-‘+flagState);
if(runType == “3”){
jQuery(‘.live-event-type span’).hide();
jQuery(‘.live-event-type’).addClass(“separator”);
jQuery(‘.live-event-stage’).show();
jQuery(‘.live-event-stage’).html(‘Stage: ‘+liveData[‘stage’][‘stage_num’]+’ of ‘+(eval(totalStages).filter(Boolean).length + 1)+’‘);
jQuery(‘.live-event-laps’).show();
jQuery(‘.live-event-laps’).html(‘Laps: ‘+lapsComplete+’/’+lapsTotal+’‘);

} else {
jQuery(‘.live-event-type span’).show();
jQuery(‘.live-event-type’).removeClass(“separator”);
jQuery(‘.live-event-stage’).hide();
jQuery(‘.live-event-laps’).hide();
}
}
}else{
jQuery(‘.live-notification-bar’).remove();
jQuery(“.live-notification-bar “).parent().next().prop(“padding-top”);
if(jQuery(“.mobile-featured-container .mobile-featured-buttons”)[0] ){
jQuery(“.mobile-featured-container .mobile-featured-buttons”).css(“top”, “40px”);
jQuery(“.mobile-featured-inner-container-items”).css(“margin-top”, “”);
}
}
}
function rightBtn(a){
var btnTitle = jQuery(‘.live-right-button span’).text();
var txt = ‘ticker:’+ btnTitle;
s.linkTrackVars=’events,eVar55,prop22,prop43′;
s.linkTrackEvents=’event63′;
s.eVar55=txt;
s.prop22=s.pageName;
s.prop43=s.eVar55;
s.events=’event63′;
s.tl(this,’o’,txt);
}