E3 Spark Plugs Pro Mod Drag Racing Series | NHRA

lang=”en” dir=”ltr” prefix=”content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# schema: http://schema.org/ sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema# “>window.NREUM||(NREUM={}),__nr_require=function(e,n,t){function r(t){if(!n[t]){var o=n[t]={exports:{}};e[t][0].call(o.exports,function(n){var o=e[t][1][n];return r(o||n)},o,o.exports)}return n[t].exports}if(“function”==typeof __nr_require)return __nr_require;for(var o=0;o<t.length;o++)r(t[o]);return r}({1:[function(e,n,t){function r(){}function o(e,n,t){return function(){return i(e,[c.now()].concat(u(arguments)),n?null:this,t),n?void 0:this}}var i=e("handle"),a=e(3),u=e(4),f=e("ee").get("tracer"),c=e("loader"),s=NREUM;"undefined"==typeof window.newrelic&&(newrelic=s);var p=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],d="api-",l=d+"ixn-";a(p,function(e,n){s[n]=o(d+n,!0,"api")}),s.addPageAction=o(d+"addPageAction",!0),s.setCurrentRouteName=o(d+"routeName",!0),n.exports=newrelic,s.interaction=function(){return(new r).get()};var m=r.prototype={createTracer:function(e,n){var t={},r=this,o="function"==typeof n;return i(l+"tracer",[c.now(),e,t],r),function(){if(f.emit((o?"":"no-")+"fn-start",[c.now(),r,o],t),o)try{return n.apply(this,arguments)}catch(e){throw f.emit("fn-err",[arguments,this,e],t),e}finally{f.emit("fn-end",[c.now()],t)}}}};a("actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(e,n){m[n]=o(l+n)}),newrelic.noticeError=function(e,n){"string"==typeof e&&(e=new Error(e)),i("err",[e,c.now(),!1,n])}},{}],2:[function(e,n,t){function r(e,n){if(!o)return!1;if(e!==o)return!1;if(!n)return!0;if(!i)return!1;for(var t=i.split("."),r=n.split("."),a=0;a<r.length;a++)if(r[a]!==t[a])return!1;return!0}var o=null,i=null,a=/Version\/(\S+)\s+Safari/;if(navigator.userAgent){var u=navigator.userAgent,f=u.match(a);f&&u.indexOf("Chrome")===-1&&u.indexOf("Chromium")===-1&&(o="Safari",i=f[1])}n.exports={agent:o,version:i,match:r}},{}],3:[function(e,n,t){function r(e,n){var t=[],r="",i=0;for(r in e)o.call(e,r)&&(t[i]=n(r,e[r]),i+=1);return t}var o=Object.prototype.hasOwnProperty;n.exports=r},{}],4:[function(e,n,t){function r(e,n,t){n||(n=0),"undefined"==typeof t&&(t=e?e.length:0);for(var r=-1,o=t-n||0,i=Array(o<0?0:o);++r<o;)i[r]=e[n+r];return i}n.exports=r},{}],5:[function(e,n,t){n.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],ee:[function(e,n,t){function r(){}function o(e){function n(e){return e&&e instanceof r?e:e?f(e,u,i):i()}function t(t,r,o,i){if(!d.aborted||i){e&&e(t,r,o);for(var a=n(o),u=v(t),f=u.length,c=0;c<f;c++)u[c].apply(a,r);var p=s[y[t]];return p&&p.push([b,t,r,a]),a}}function l(e,n){h[e]=v(e).concat(n)}function m(e,n){var t=h[e];if(t)for(var r=0;r<t.length;r++)t[r]===n&&t.splice(r,1)}function v(e){return h[e]||[]}function g(e){return p[e]=p[e]||o(t)}function w(e,n){c(e,function(e,t){n=n||"feature",y[t]=n,n in s||(s[n]=[])})}var h={},y={},b={on:l,addEventListener:l,removeEventListener:m,emit:t,get:g,listeners:v,context:n,buffer:w,abort:a,aborted:!1};return b}function i(){return new r}function a(){(s.api||s.feature)&&(d.aborted=!0,s=d.backlog={})}var u="nr@context",f=e("gos"),c=e(3),s={},p={},d=n.exports=o();d.backlog=s},{}],gos:[function(e,n,t){function r(e,n,t){if(o.call(e,n))return e[n];var r=t();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,n,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return e[n]=r,r}var o=Object.prototype.hasOwnProperty;n.exports=r},{}],handle:[function(e,n,t){function r(e,n,t,r){o.buffer([e],r),o.emit(e,n,t)}var o=e("ee").get("handle");n.exports=r,r.ee=o},{}],id:[function(e,n,t){function r(e){var n=typeof e;return!e||"object"!==n&&"function"!==n?-1:e===window?0:a(e,i,function(){return o++})}var o=1,i="nr@id",a=e("gos");n.exports=r},{}],loader:[function(e,n,t){function r(){if(!E++){var e=x.info=NREUM.info,n=l.getElementsByTagName("script")[0];if(setTimeout(s.abort,3e4),!(e&&e.licenseKey&&e.applicationID&&n))return s.abort();c(y,function(n,t){e[n]||(e[n]=t)}),f("mark",["onload",a()+x.offset],null,"api");var t=l.createElement("script");t.src="https://"+e.agent,n.parentNode.insertBefore(t,n)}}function o(){"complete"===l.readyState&&i()}function i(){f("mark",["domContent",a()+x.offset],null,"api")}function a(){return O.exists&&performance.now?Math.round(performance.now()):(u=Math.max((new Date).getTime(),u))-x.offset}var u=(new Date).getTime(),f=e("handle"),c=e(3),s=e("ee"),p=e(2),d=window,l=d.document,m="addEventListener",v="attachEvent",g=d.XMLHttpRequest,w=g&&g.prototype;NREUM.o={ST:setTimeout,SI:d.setImmediate,CT:clearTimeout,XHR:g,REQ:d.Request,EV:d.Event,PR:d.Promise,MO:d.MutationObserver};var h=""+location,y={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-1130.min.js"},b=g&&w&&w[m]&&!/CriOS/.test(navigator.userAgent),x=n.exports={offset:u,now:a,origin:h,features:{},xhrWrappable:b,userAgent:p};e(1),l[m]?(l[m]("DOMContentLoaded",i,!1),d[m]("load",r,!1)):(l[v]("onreadystatechange",o),d[v]("onload",r)),f("mark",["firstbyte",u],null,"api");var E=0,O=e(5)},{}]},{},["loader"]);(function(i,s,o,g,r,a,m){i[“GoogleAnalyticsObject”]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,”script”,”https://www.google-analytics.com/analytics.js”,”ga”);ga(“create”, “UA-4277380-28”, {“cookieDomain”:”auto”});ga(“set”, “anonymizeIp”, true);ga(“send”, “pageview”);{
“@context”: “https://schema.org”,
“@graph”: [
{
“@type”: “WebSite”,
“@id”: “https://www.nhra.com/”,
“name”: “NHRA”,
“url”: “https://www.nhra.com/”,
“publisher”: {
“@type”: “Organization”,
“@id”: “https://www.nhra.com/”,
“name”: “NHRA”,
“url”: “https://www.nhra.com/”,
“sameAs”: [
“https://www.facebook.com/NHRA/”,
“https://twitter.com/NHRA”,
“https://www.instagram.com/nhra/”,
“https://www.youtube.com/user/nhra”
],
“logo”: {
“@type”: “ImageObject”,
“url”: “https://www.nhra.com/themes/custom/nhra/assets/images/logo.png”,
“width”: “153px”,
“height”: “80px”
}
}
}
]
}.hero{background-image:url(https://www.nhra.com/sites/default/files/styles/hero_banner/public/2018-01/Castellana_Mike_2017A.JPG?itok=Lbi7rJsd);} @media only screen and (max-width: 414px) { .hero{background-image:url(https://www.nhra.com/sites/default/files/styles/hero_banner_mobile/public/2018-01/Castellana_Mike_2017A.JPG?itok=qcRjhAos);}} @media only screen and (min-width: 415px) and (max-width: 1023px) { .hero{background-image:url(https://www.nhra.com/sites/default/files/styles/hero_banner_1x_768px_/public/2018-01/Castellana_Mike_2017A.JPG?itok=ia4OjDJt);}} @media only screen and (min-width: 1024px) { .hero{background-image:url(https://www.nhra.com/sites/default/files/styles/hero_banner_x1_1024px_/public/2018-01/Castellana_Mike_2017A.JPG?itok=2k2qpStW);}} @media only screen and (min-width: 1263px) { .hero{background-image:url(https://www.nhra.com/sites/default/files/styles/hero_banner_x1_1263px_/public/2018-01/Castellana_Mike_2017A.JPG?itok=eBo-xiQB);}}E3 Spark Plugs Pro Mod Drag Racing Series | NHRA (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,’script’,’dataLayer’,’GTM-NWLQ75X’);
jQuery(document).ready(function($) {
//Change default tab on mobile to NEWS
var checkmobile = function() {
return $(window).width() <=768
}
if (checkmobile()) {
$('[data-tab="featured"]').attr('class','tab-nav__button');
$('[data-tab="latest"]').addClass('tab-nav__button tab-nav__button–active');
$('#featured').attr('class','column column–sidebar column–triple');
$('#latest').attr('class','column column–featured column–mobile-active column–triple');
//start mobile popup banner
var closeTrigger = false;
var mobileSticky = $('.trevda #div-gpt-ad-1507670980415-0');
// show mobile popup
$(document).ready(function() {
mobileSticky.show();
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1507670980415-0'); });
$('.mobile-close').show();
});
// close mobile popup
$(".mobile-close").click(function() {
closeTrigger = true;
mobileSticky.hide();
$('.mobile-close').hide();
});
//end mobile popup banner
}
});

var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
var DFPconfig = {
id: ‘1012245’,
items: [
{
slotName: ‘Mobile_StickyLeaderboard’,
dimensions: [320, 50],
slotId: ‘div-gpt-ad-1507670980415-0’
},
{
slotName: ‘NHRA_COM_TV_Schedule_Footer’,
dimensions: [728, 90],
slotId: ‘tv-schedule-footer’
},
{
slotName: ‘NHRA_COM_TV_Schedule_Header’,
dimensions: [728, 90],
slotId: ‘tv-schedule-header’
},
{
slotName: ‘NHRA_COM_Driver_Footer’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-0’
},
{
slotName: ‘NHRA_COM_Driver_Header’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-1’
},
{
slotName: ‘NHRA_COM_Event_Details_Footer’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-2’
},
{
slotName: ‘NHRA_COM_Event_Details_Header’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-3’
},
{
slotName: ‘NHRA_COM_Generic_Template_Footer’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-4’
},
{
slotName: ‘NHRA_COM_Generic_Template_Header’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-5’
},
{
slotName: ‘NHRA_COM_Generic_Template_Left_Rail’,
dimensions: [300, 250],
slotId: ‘div-gpt-ad-1483989948874-6’
},
{
slotName: ‘NHRA_COM_Homepage_Footer’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-7’
},
{
slotName: ‘NHRA_COM_Homepage_Header’,
dimensions: [970, 90],
slotId: ‘div-gpt-ad-1483989948874-8’
},
{
slotName: ‘NHRA_COM_Homepage_Left_Rail’,
dimensions: [300, 250],
slotId: ‘div-gpt-ad-1483989948874-9’
},
{
slotName: ‘NHRA_COM_Homepage_Left_Rail_300x600_Sticky’,
dimensions: [300, 600],
slotId: ‘div-gpt-ad-1570213231163-0’
},
{
slotName: ‘NHRA_COM_Results_Right_Rail_1’,
dimensions: [300, 250],
slotId: ‘div-gpt-ad-1521585111335-0’
},
{
slotName: ‘NHRA_COM_Results_Right_Rail_2’,
dimensions: [300, 250],
slotId: ‘div-gpt-ad-1521585111335-1’
},
{
slotName: ‘NHRA_COM_Results_Right_Rail_3’,
dimensions: [[300, 600],[160, 600]],
slotId: ‘div-gpt-ad-1521585111335-2’
},
{
slotName: ‘NHRA_COM_Schedule_Right_Rail_1’,
dimensions: [300, 250],
slotId: ‘div-gpt-ad-1521585111335-3’
},
{
slotName: ‘NHRA_COM_Schedule_Right_Rail_2’,
dimensions: [300, 250],
slotId: ‘div-gpt-ad-1521585111335-4’
},
{
slotName: ‘NHRA_COM_Schedule_Right_Rail_3’,
dimensions: [300, 250],
slotId: ‘div-gpt-ad-1521585111335-5’
},
{
slotName: ‘NHRA_COM_Standings_Right_Rail_1’,
dimensions: [300, 250],
slotId: ‘div-gpt-ad-1521585111335-6’
},
{
slotName: ‘NHRA_COM_Standings_Right_Rail_2’,
dimensions: [300, 250],
slotId: ‘div-gpt-ad-1521585111335-7’
},
{
slotName: ‘NHRA_COM_Standings_Right_Rail_3’,
dimensions: [[300, 600],[160, 600]],
slotId: ‘div-gpt-ad-1521585111335-8’
},
{
slotName: ‘NHRA_COM_News_Footer’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-15’
},
{
slotName: ‘NHRA_COM_News_Header’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-16’
},
{
slotName: ‘NHRA_COM_Results_Footer’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-17’
},
{
slotName: ‘NHRA_COM_Results_Header’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-18’
},
{
slotName: ‘NHRA_COM_Results_Footer’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-19’
},
{
slotName: ‘NHRA_COM_Schedule_Header’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-20’
},
{
slotName: ‘NHRA_COM_Standings_Footer’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-21’
},
{
slotName: ‘NHRA_COM_Standings_Header’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-22’
},
{
slotName: ‘NHRA_COM_Stats_Footer’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-23’
},
{
slotName: ‘NHRA_COM_Stats_Header’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1483989948874-24’
},
{
slotName: ‘NHRA_COM_News_Between_Articles’,
dimensions: [320, 50],
slotId: ‘ad-between-articles-1’,
},
{
slotName: ‘NHRA_COM_News_Between_Articles’,
dimensions: [320, 50],
slotId: ‘ad-between-articles-2’
},
{
slotName: ‘NHRA_COM_News_Between_Articles’,
dimensions: [320, 50],
slotId: ‘ad-between-articles-3’
},
{
slotName: ‘NHRA_COM_News_Between_Articles’,
dimensions: [320, 50],
slotId: ‘ad-between-articles-4’
},
{
slotName: ‘NHRA_COM_News_Between_Articles’,
dimensions: [320, 50],
slotId: ‘ad-between-articles-5’
},
{
slotName: ‘NHRA.com_News_Listing//Detail_Between_Articles_Top_of_Page’,
dimensions: [320, 50],
slotId: ‘div-gpt-ad-1560214949887-0’
},
{
slotName: ‘NHRA.com_News_Listing//Detail_Between_Articles_Middle_of_Page’,
dimensions: [320, 50],
slotId: ‘div-gpt-ad-1560215089826-0’
},
{
slotName: ‘NHRA.com_News_Listing//Detail_Between_Articles_Bottom_of_Page’,
dimensions: [320, 50],
slotId: ‘div-gpt-ad-1560215177417-0’
},
{
slotName: ‘NHRA_COM_News_Left_Rail’,
dimensions: [300, 250],
slotId: ‘ad-news-left-rail-1’
},
{
slotName: ‘NHRA_COM_Homepage_Left_Rail_300x600’,
dimensions: [300, 600],
slotId: ‘div-gpt-ad-1565633524557-0’
},
{
slotName: ‘NHRA_COM_News_Left_Rail’,
dimensions: [300, 250],
slotId: ‘ad-news-left-rail-3’
},
{
slotName: ‘NHRA_COM_News_Left_Rail’,
dimensions: [300, 250],
slotId: ‘ad-news-left-rail-4’
},
{
slotName: ‘NHRA_COM_News_Left_Rail’,
dimensions: [300, 250],
slotId: ‘ad-news-left-rail-5’
},
{
slotName: ‘Video_Tab_300x250’,
dimensions: [300, 250],
slotId: ‘div-gpt-ad-1483989948874-36’,
},
{
slotName: ‘Live_Timing_728x90_1’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1527793271987-0’,
},
{
slotName: ‘Live_Timing_728x90_2’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1527793271987-1’,
},
{
slotName: ‘Live_Timing_728x90_3’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1527793271987-2’,
},
{
slotName: ‘Live_Timing_728x90_4’,
dimensions: [728, 90],
slotId: ‘div-gpt-ad-1527793271987-3’,
}
]
};
var gptadslots = [];
googletag.cmd.push(function() {
var googleAdsSizeMapping = googletag.sizeMapping().
addSize([992, 0], [[970, 90], [728, 90], [468, 60], [1, 1]]). //desktop
addSize([768, 0], [[728, 90], [320, 50], [1, 1]]). //tablet
addSize([450, 0], [[320, 50], [1, 1]]). //mobile
addSize([0, 0], [[320, 50], [1, 1]]). //other
build();
for (i = 0; i < DFPconfig.items.length; i++) {
var value = DFPconfig.items[i];
var fullSlotName = '/' + DFPconfig.id + '/' + value.slotName;
var slotSetup = googletag.defineSlot(fullSlotName, value.dimensions, value.slotId);
if (value.dimensions[0] === 970 || value.dimensions[0] === 728) {
var adSlot = slotSetup.defineSizeMapping(googleAdsSizeMapping).addService(googletag.pubads()).setCollapseEmptyDiv(true,true);
} else {
var adSlot = slotSetup.addService(googletag.pubads()).setCollapseEmptyDiv(true,true);
}
gptadslots[value.slotId] = adSlot;
};
googletag.pubads().enableSingleRequest();
googletag.pubads().disableInitialLoad();
googletag.enableServices();
});
//Start Right Rail 300×250
googletag.cmd.push(function() {
var slot1 = googletag.defineSlot('/1012245/NHRA_COM_Homepage_Right_Rail_2', [300, 250], 'div-gpt-ad-1500921156493-0').setTargeting("test","refresh").addService(googletag.pubads());
var slot2 = googletag.defineSlot('/1012245/NHRA_COM_Homepage_Right_Rail_3', [300, 250], 'div-gpt-ad-1500921206734-0').setTargeting("test","refresh").addService(googletag.pubads());
var slot3 = googletag.defineSlot('/1012245/BottomRight_Homepage_Video_300x250', [300, 250], 'div-gpt-ad-1502214815262-0').setTargeting("test","refresh").addService(googletag.pubads());
var slot4 = googletag.defineSlot('/1012245/NHRA_COM_Homepage_Right_Rail', [300, 250], 'div-gpt-ad-1483989948874-10').setTargeting("test","refresh").addService(googletag.pubads());
var slot5 = googletag.defineSlot('/1012245/NHRA_COM_Homepage_Right_Rail_300x250_Sticky', [300, 250], 'div-gpt-ad-1570730753036-0').setTargeting("test","refresh").addService(googletag.pubads());
var slot6 = googletag.defineSlot('/1012245/NHRA_COM_News_Left_Rail_300x600_Sticky', [300, 600], 'div-gpt-ad-1570817130366-0').setTargeting("test","refresh").addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs([slot1,slot2,slot3,slot4,slot5,slot6]);
googletag.enableServices();
setTimeout(function(){ googletag.pubads().refresh([slot1,slot2,slot3,slot4,slot5,slot6]); }, 1000);
// Set Timer to Refresh Every 15 Seconds
setInterval(function(){
googletag.pubads().refresh([slot5]);
}, 15000);
});
//End Right Rail 300×250
// Start Temporary Clinch Logic
function getParamByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, "\\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
function setClinchedStyle(cnt, color) {
var i;
//.each(function () {this.style.setProperty( "background-color", bgColor, "important"';
for (i = 1; i <= cnt; i++) {
var targetEl = '.table–standings tbody tr:nth-of-type(' + i + ') th.table__right, .table–standings tr:nth-of-type(' + i + ') td';
console.log("********" + targetEl + "*********");
jQuery(targetEl).each(function () {this.style.setProperty( "background-color", color, "important" );});
}
}
//SetClinched() function, workaround to clicnhed uistyles
function setClinched() {
var url = window.location.pathname;
var urlArr = url.split( '/' );
var year = urlArr[2];
var filename = urlArr[4];
if ( "2017" == year && "national-championships" == filename) {
var tab = getParamByName("tab");
var bgColor = "#53d15c";
// jQuery( "h3.feature-sub-heading" ).append( '

Clinched playoff berth

‘ );
var proStockMotorcycleCnt = 10;
var proStockCnt = 10;
var funnyCarCnt = 10;
var topFuelCarCnt = 10;
switch(tab) {
case “pro-stock-motorcycle”:
setClinchedStyle(proStockMotorcycleCnt, bgColor );
break;
case “pro-stock”:
setClinchedStyle(proStockCnt , bgColor );
break;
case “funny-car”:
setClinchedStyle(funnyCarCnt , bgColor );
break;
case “top-fuel-car”:
default:
setClinchedStyle(topFuelCarCnt , bgColor );
break;
}
}
}
//SetWinnerName() function, workaroiund to set missing nam ein results
function setWinnerName() {
var uri = window.location.pathname;
var testBaseUri = “/results/2017/nhra-mello-yello-drag-racing-series/1311”;
var testWithCategory = testBaseUri + “/detailed-results/super-street”;
if ( testWithCategory == uri) {
var str = ‘Chris Borges WIN‘;
jQuery(“.table__row-winner .table__left”).html(str);
}
testWithCategory = testBaseUri + “/winners”;
if( testBaseUri == uri || testWithCategory == uri ) {
jQuery( “td:contains(‘Super Street’)” ).prev().html( “Chris Borges”);
}
}
//SetTimingMessage() function
function SetTimingMessage() {
var uri = window.location.pathname;
var testBaseUri = “/results/2017/nhra-mello-yello-drag-racing-series/7076”;
var testWithCategory = testBaseUri + “/live-timing”;
var str = ‘

Live Timing is experiencing connectivity difficulties. It will be back to normal within the hour.

‘;
if ( testBaseUri == uri || testWithCategory == uri ) {
jQuery(“.section-header__content”).append(str);
}
}
window.addEventListener(“load”, function() {
setTimeout(function(){
setClinched();
}, 1000);
setTimeout(function(){
setWinnerName();
}, 350);
setTimeout(function(){
SetTimingMessage();
}, 1000);
});
//End Temporary Clinch Logic

a.promo-buy-link {
color: #000;
}
.cta-panel+.cta-panel {
position: relative !important;
}
body[data-active-series=”nhra”] .hero-nav-bar {
opacity: 0.9;
position: relative;
top: -40px;
z-index: 4001;
margin-bottom: -40px;
}
body[data-active-series=”nhra”] .hero-nav {
height: 40px;
}
body[data-active-series=”nhra”] .hero-nav__item {
margin-top: -10px;
}
body[data-active-series=”nhra”] div#div-gpt-ad-1483989948874-10 {
position: relative;
}
.cta-panel.cta-panel–light:nth-of-type(7), .cta-panel.cta-panel–light:nth-of-type(8), .cta-panel.cta-panel–light:nth-of-type(9), .cta-panel.cta-panel–light:nth-of-type(10) {
background-color: #fff;
}
div#results h4.feature-heading:first-child {
padding: 10px 10px 2px 10px;
margin-bottom: 5px;
}
#feedbackify .fby-tab-r {
display: none !important;
}
#feedbackify #fbya #fbyb .fby-tab-r {
display: none !important;
}
@media only screen and (max-width: 980px) {
div.trevda:nth-of-type(3) {
margin: 0;
padding: 2px 0;
width: 100%;
}
}
.hero__content .hero__logo_container .hero__logo {
display: inline-block;
margin: 0 0 -6px 0 !important;
max-width: 55vw !important;
height: auto;
max-height: 25vw;
min-height: 12vw !important;
}
@media screen and (max-width: 980px) {
.hero__content .hero__logo_container {
padding-top: 30px !important;
}
}
.hero__content .hero__text_container [class].hero__subtitle:first-child {
padding-top: 0px !important;
}
.hero__content .hero__text_container .hero__subtitle {
margin-top: -15px;
}
.hero__content {
top: 40%;
}
@media (max-width: 980px) {
.hero__content .hero__logo_container .hero__logo {
padding-left: 10px !important;
}
}
@media (min-width: 769px) {
.detail-info__image–feature {
bottom: calc(100% – -50px) !important;
}
}
@media (max-width: 768px) {
.article-card__wysiwyg img {
height: auto;
}
.hero-nav__item .button {
font-size: 10px !important;
height: 60px !important;
padding: 0 0px !important;
}
}
@media (max-width: 980px) {
.has-title-panel.path-node.page-node-type-promo-page .header .mobile-wrapper .main-nav .main-nav__menu .main-menu.main-menu–fade-in,
.has-title-panel.path-node.page-node-type-promo-page .header .mobile-wrapper .auxiliary-nav,
.has-title-panel path-node .page-node-type-promo-page > .search,
.has-title-panel path-node .page-node-type-promo-page > .header .button .icon:not(.icon-button) {
display: block;
}
.has-title-panel.path-node.page-node-type-promo-page .header .mobile-wrapper .main-nav .main-nav__access ul.access-menu {
width: 100%;
}
}
.buybutton-left {
position: fixed;
background-color: #DD3943;
color: white;
text-decoration: none;
text-align: center;
padding: 10px;
font-size: 16px;
font-weight: bold;
display: none;
z-index: 9999;
width: 170px;
margin-right: 0px;
top: 50%;
left: -65px;
-ms-transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
}
.buybutton-left a {
color: white;
}
@media only screen and (min-device-width: 0px) and (max-device-width: 720px) {
.buybutton-left {
visibility:hidden;
}
.hero__content .hero__logo_container .hero__logo {
max-height: 17vw !important;
}
a.fs1-link img {
height: auto;
width: 28px;
}
.hero__content .hero__text_container .hero__subtitle {
margin-top: 2px !important;
}
}
@media screen and (min-width: 0px) and (max-width: 720px) {
#buybutton-mob {
display:none;
width: 100%;
height: 50px;
position: fixed;
top: 50px;
z-index: 50;
background-color: #DD3943;
text-align: center;
padding: 15px;
font-size: 14px;
font-weight: bold;
}
#buybutton-mob a {
color: white;
}
}
#buybutton-mob .close {
right:10px;
top: -26px;
color: white;
}
@media screen and (min-width: 720px) {
#buybutton-mob { display: none; }
}
@media only and screen (max-width: 980px) {
.tab-nav__button {
background-color: rgba(0, 0, 0, 0.1) !important;
}
}
@media screen and (min-width: 0px) and (max-width: 500px) {
#alert {
-webkit-align-items: unset !important;
text-align: center !important;
display: block !important;
}
.alert .icon {
float: left !important;
}
.alert__close {
position: absolute !important;
top: 50px !important;
right: 0 !important;
}
}
@media screen and (min-width: 0px) and (max-width: 720px) {
.trevda #div-gpt-ad-1507670980415-0 {
display: block;
width: 100%;
height: 60px;
position: fixed;
bottom: 0;
background-color: #f0f8ff;
padding: 5px;
z-index: 9999;
text-align: center;
}
}
@media screen and (min-width: 0px) and (max-width: 720px) {
.mobile-close {
position: fixed;
cursor: pointer;
padding: 0 3px;
font-size: 15px;
display: inline-block;
z-index: 1002;
background-color: #DD3943;
color: #fff;
right: 5px;
bottom: 60px;
}
}
@media screen and (min-width: 721px) {
.trevda #div-gpt-ad-1507670980415-0 { display: none; }
}
.bottomMenu {
position: fixed;
display:none;
bottom: 0;
right: 10px;
width: 300px;
height: 280px;
background: transparent;
z-index: 4;
transition: all 1s;
}
.close {
position:absolute;
cursor:pointer;
padding: 0 3px;
font-size:15px;
display:inline-block;
z-index:1002;
background-color: #DD3943;
color:#fff;
right:5px;
top: -26px;
}
@media screen and (max-width: 1290px) {
#bannerPop {
display: none !important;
}
}
.trevda+.tab-nav {
margin-top: 0 !important;
}
.tab-nav–mobile .tab-nav__button {
background-color: linen;
}
.intrinsic-container {
position: relative;
height: 0;
overflow: hidden;
}
.intrinsic-container-16×9 {
padding-bottom: 56.25%;
}
.intrinsic-container-4×3 {
padding-bottom: 75%;
}
.intrinsic-container iframe {
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
}
.featured-footer {
padding: 5px;
font-size: 12px;
}
.results-rail–header {
margin-left: -16px !important;
}
.modal-header {
padding: 23px 16px;
background-color: #0963BC;
color: white;
}
.modal-footer {
height: 60px;
background-color: #DD3943;
color: white;
font-size: 12px;
padding: 5px;
}
.modal-wrapper {
width: 100%;
height: 0;
position: fixed;
z-index: 7001;
}
.modal-content {
width: 730px;
background-color: #fefefe;
margin: 10% auto;
padding: 0;
-webkit-box-shadow: 0px 10px 300px 30px rgba(0,0,0,1);
-moz-box-shadow: 0px 10px 300px 30px rgba(0,0,0,1);
box-shadow: 0px 10px 300px 30px rgba(0,0,0,1);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s
}
.modal-close {
color: #fff;
float: right;
font-size: 32px;
font-weight: bold;
margin-top: -10px;
}
.modal-close:hover,
.modal-close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.modal-header {
padding: 23px 16px;
background-color: #0963BC;
color: white;
}
.modal-body {text-align: center;}
@-webkit-keyframes animatetop {
from {top: -300px; opacity: 0}
to {top: 0; opacity: 1}
}
@keyframes animatetop {
from {top: -300px; opacity: 0}
to {top: 0; opacity: 1}
}
@media screen and (orientation:landscape) and (max-width: 740px) {
.modal-header {
padding: 8px 16px;
font-size: 9px;
}
.modal-content {
margin-top: 10%;
width: 50%;
}
.modal-footer {
height: 75px;
font-size: 10px;
}
.featured-footer {
padding: 5px;
font-size: 10px;
line-height: 10px;
}
}
@media screen and (orientation: portrait) and (max-width: 980px) {m
.modal-content {
margin-top: 100px;
width: 95%;
height: auto;
background-color: transparent;
border: none;
}
.modal-iframe {
width: 100%;
}
.modal-footer {
height: 75px;
font-size: 11px;
}
.featured-footer {
padding: 5px;
font-size: 10px;
line-height: 10px;
}
}
@media (min-width: 981px) {
.main-nav .main-nav__logo
div#alert.alert .main-nav .main-nav__logo { top: 41px !important;}
.mobile-header__tickets {
background-color: #696969 !important;
}
.print-button {
background-color: midnightblue;
padding: 5px;
color: white;
display: inline-block;
}
#view-live-ladders {
cursor: pointer;
background-color: #2262BC;
display: inline-block;
font-size: 22px;
padding: 5px 15px;
text-transform: uppercase;
margin-top: 0px;
font-style: normal;
}
}
@media only screen and (max-width: 1290px) {
#view-live-ladders {
cursor: pointer;
background-color: #2262BC;
display: inline-block;
font-size: 10px;
padding: 5px 15px;
text-transform: uppercase;
margin-top: 0px;
font-style: normal;
}
}
#ctdnTimer{
width: 500px;
height: 90px;
text-align: center;
border-radius: 5px;
margin: 0 auto;
position: relative;
top: 18px; bottom: 0; left: 0; right: 0;
}
#ctdnTimer #ctdnTiles{
z-index: 1;
bottom: 30px;
}
#ctdnTimer #ctdnTiles > span{
width: 40px;
max-width: 40px;
font: 20px ‘Droid Sans’, Arial, sans-serif;
text-align: center;
color: #111;
background-color: #ddd;
border-top: 1px solid #fff;
border-radius: 3px;
margin: 0 7px;
padding: 7px 0;
display: inline-block;
position: relative;
}
#ctdnTimer .labels{
width: 100%;
bottom: 29px;
}
#ctdnTimer .labels li{
width: 54px;
font: bold 10px ‘Droid Sans’, Arial, sans-serif;
color: white;
text-shadow: 1px 1px 0px #000;
text-align: center;
text-transform: uppercase;
display: inline-block;
}
#foxlogo {
position: relative;
text-align: left;
left: 18px;
top: 15px;
}
#foxlogo img {
width: 120px;
}
.ctdnTxt {
text-align: center;
margin: 0;
background-color: rgba(34, 98, 188, 0.7);
padding: 5px;
color: white;
font-family: sans-serif;
text-transform: uppercase;
font-size: 12px;
font-weight: 700;
}
.post-ctdn {
display: inline-block;
margin: 0 auto;
}
.post-ctdn-txt {
font-weight: 900;
text-transform: uppercase;
color: white;
font-size: 17px;
}
.post-ctdn-img {
width: 500px;
height: auto;
}
@media screen and (max-width: 480px) {
#ctdnTimer {
width: 200px;
height: 40px;
top: 4px;
}
.ctdnTxt {
padding: 1px;
font-size: 6px;
}
#ctdnTimer #ctdnTiles {
bottom: 16px;
}
#ctdnTimer #ctdnTiles > span {
width: 15px;
font: 9px ‘Droid Sans’, Arial, sans-serif;
padding: 3px 0;
font-weight: bold;
}
#foxlogo {
left: 11px;
top: 6px;
}
#foxlogo img {
width: 65px;
}
#ctdnTimer .labels {
bottom: 20px;
}
#ctdnTimer .labels li {
width: 29px;
font: bold 5px ‘Droid Sans’, Arial, sans-serif;
}
.hero__content .hero__text_container {
text-shadow: none !important;
}
.post-ctdn-txt {
font-size: 10px;
}
.post-ctdn-img {
width: 200px;
}
}
h2.ctdn-fin-txt {
color: white;
font-size: 24px;
}
@media screen and (max-width: 480px) {
h2.ctdn-fin-txt {font-size: 16px;}
}
@media screen and (max-width: 768px) {
.tab-nav__button {
padding: 2px 10px 2px;
min-height: 27px;
}
.main .block-system-main-block .container {
padding: 0 15px;
}
}
.article-card__media .article-card__content .article-card__wysiwyg p.image-align-right img {
width: auto !important;
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
.vjs-ima3-ad-container>div, .vjs-ima3-ad-container iframe {
top: 0 !important;
left: 0 !important;
}
.video-player .vjs-ima3-ad-container div, .video-player-block .vjs-ima3-ad-container div, .feature-column.feature-column–main .video-player .vjs-ima3-ad-container div {
position: unset;
top: 0;
left: 0;
}
}
.vjs-ima3-ad-container>div, .vjs-ima3-ad-container iframe {
top: 0 !important;
left: 0 !important;
}
.video-player .vjs-ima3-ad-container div, .video-player-block .vjs-ima3-ad-container div, .feature-column.feature-column–main .video-player .vjs-ima3-ad-container div, .vjs-ima3-ad-container iframe {
top: 0;
left: 0;
}
.article-card__wysiwyg img { height: auto !important; }
body.page-node-type-venue-ovp p[class*=ItemFooter] { display: none;}
#block-mainpagecontent > div > div.article-card__media > div.article-card__feature > div.video-player {
height: 56.25%;
padding-top: unset;
}
.trevda .trevda__dfp:only-child { display: block; }

NHRA – National Hot Rod Association

X

BUY TICKETS

X
googletag.cmd.push(function() { googletag.display(‘div-gpt-ad-1502214815262-0’); });

E3 Spark Plugs Pro Mod Drag Racing Series

Presented by J&A Service

    LATEST NEWS

    WELCOME

    About the E3 Spark Plugs Pro Mod Drag Racing Series

    Featuring the world’s fastest and most unique doorslammer race cars, the NHRA E3 Spark Plugs Pro Mod Drag Racing Series presented by J&A Service offers something for every kind of hot-rodding enthusiast. The growing class is highlighted by historic muscle cars, like ’67 Mustangs, ’68 Firebirds and ’69 Camaros, as well as a variety of late model American muscle cars. With more than 3,000 horsepower, the suspended door Pro Mod cars travel the quarter-mile in less than six seconds at speeds exceeding 250 mph.

    2019 Schedule

    {“path”:{“baseUrl”:”\/”,”scriptPath”:null,”pathPrefix”:””,”currentPath”:”promod”,”currentPathIsAdmin”:false,”isFront”:false,”currentLanguage”:”en”},”pluralDelimiter”:”\u0003″,”google_analytics”:{“trackOutbound”:true,”trackMailto”:true,”trackDownload”:true,”trackDownloadExtensions”:”7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip”},”user”:{“uid”:0,”permissionsHash”:”3ae60758476a47036204d5eea3e16d4a2ea11137e7cb7e2cf645843969033afd”}}(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
    new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
    ‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,’script’,’dataLayer’,’GTM-K4XRCD6′);
    window.addEventListener(“load”, function() {
    //start jquery wrapper
    jQuery(document).ready(function($) {
    setTimeout(function(){
    //Start Sticky Banners
    $(window).scroll(function() {
    //Sticky Banners on Homepage
    if ((window.location.href.indexOf(“/nhra”) > 0) && ($(“body[data-active-series=’nhra’]”).length > 0) && ($(window).width() > 980) && ($(window).height() > 800) && (0 < $('#latest').length) && (0 $(document).height() – 100);
    //Sticky video player and 300×250 banner
    if (top > endRightColumnHP) {
    stickyVidPlayerHP.css({
    “top”: “90px”,
    “z-index”: “9999”,
    “height”: “160px”,
    “width”: “292px”,
    “position”: “fixed”
    });
    stickyRightBnrHP.css({
    ‘z-index’:’9999′,
    ‘display’:’block !important’,
    ‘position’:’fixed’,
    ‘top’:’260px’,
    ‘height’:’250px’,
    ‘width’: ‘300px’
    });
    }
    //Restore on scroll up
    else {
    stickyVidPlayerHP.css({
    “top”: “”,
    “position”: “”
    });
    stickyRightBnrHP.css({
    “top”: “”,
    “position”: “”
    });
    }
    //Sticky 300×600 banner
    if (top > endLeftColumnHP) {
    stickyLeftBnrHP.css({
    ‘z-index’:’9999′,
    ‘display’:’block !important’,
    ‘position’:’fixed’,
    ‘top’:’90px’,
    ‘height’:’600px’,
    ‘width’: ‘300px’
    });
    }
    //Restore on Scroll Up
    else {
    stickyLeftBnrHP.css({
    “top”: “”,
    “position”: “”
    });
    }
    //Hide at the bottom of page
    if (pgBottom == true) {
    stickyVidPlayerHP.css({
    “top”: “”,
    “position”: “”
    });
    stickyRightBnrHP.css({
    “top”: “”,
    “position”: “”
    });
    stickyLeftBnrHP.css({
    “top”: “”,
    “position”: “”
    });
    }
    }
    //End Sticky Banners on Homepage
    //Sticky Banners on News Page
    if ((window.location.href.indexOf(“/nhra/news”) > 0) || (window.location.href.indexOf(“/news/2019”) > 0) && ($(window).width() > 980) && ($(window).height() > 800) && (0 0)) {
    var top = $(this).scrollTop();
    //Selector variable for sticky elements
    var stickyLeftBnrNews = $(‘.column–sidebar .trevda #div-gpt-ad-1570817130366-0’);
    //Define offset for sticky position triggers
    var endLeftColumnNews = $(‘.column–sidebar’).offset().top + $(‘.column–sidebar’).outerHeight(true);
    //Variable to detect bottom of the page
    var pgBottom = ($(window).scrollTop() + $(window).height() > $(document).height() – 100);
    //Left Rail 300×600 Banner Sticky
    if (top > endLeftColumnNews) {
    stickyLeftBnrNews.css({
    ‘z-index’:’9999′,
    ‘display’:’block !important’,
    ‘position’:’fixed’,
    ‘top’:’150px’,
    ‘height’:’600px’,
    ‘width’: ‘300px’
    });
    } else {
    //Restore on scroll up
    stickyLeftBnrNews.css({
    “top”: “”,
    “position”: “”
    });
    }
    //Hide at the bottom of page
    if (pgBottom == true) {
    stickyLeftBnrNews.css({
    “top”: “”,
    “position”: “”
    });
    }
    }
    //End Sticky Banners on News Page
    //Sticky Banners on Results Page
    if ((window.location.href.indexOf(“/results”) > 0) && ($(window).width() > 980) && ($(window).height() > 800) && (0 0) ) {
    var top = $(this).scrollTop();
    //Selector variables for sticky elements
    var stickyVidPlayerResults = $(“#right-column .cta-panel:nth-of-type(1)”);
    var stickyRightBnrResults = $(‘#right-column .trevda #div-gpt-ad-1521585111335-0’);
    //Define offset for sticky position triggers
    var endRightColumnResults = $(‘#right-column’).offset().top + $(‘#right-column’).outerHeight(true);
    if (top > endRightColumnResults) {
    //Video player sticky
    stickyVidPlayerResults.css({
    “top”: “90px”,
    “z-index”: “9999”,
    “height”: “160px”,
    “width”: “292px”,
    “position”: “fixed”
    });
    //Right Rail 300×250 Banner Sticky
    stickyRightBnrResults.css({
    ‘z-index’:’9999′,
    ‘display’:’block !important’,
    ‘position’:’fixed’,
    ‘top’:’260px’,
    ‘height’:’250px’,
    ‘width’: ‘300px’
    });
    } else {
    //Restore on scroll up
    stickyVidPlayerResults.css({
    “top”: “”,
    “position”: “”
    });
    stickyRightBnrResults.css({
    “top”: “”,
    “position”: “”
    });
    }
    }
    //End Sticky Banners on Results Page
    });
    //Sticky Banners on Schedule Page
    if ((window.location.href.indexOf(“/schedule”) > 0) && ($(window).width() > 980) && ($(window).height() > 800) && (0 0) ) {
    var top = $(this).scrollTop();
    //Selector variables for sticky elements
    var stickyVidPlayerSchedule = $(“#right-column .cta-panel:nth-of-type(1)”);
    var stickyRightBnrSchedule = $(‘#right-column .trevda #div-gpt-ad-1521585111335-5’);
    //Define offset for sticky position triggers
    var endRightColumnSchedule = $(‘#right-column’).offset().top + $(‘#right-column’).outerHeight(true);
    //Video player sticky
    if (top > endRightColumnSchedule) {
    stickyVidPlayerSchedule.css({
    “top”: “90px”,
    “z-index”: “9999”,
    “height”: “160px”,
    “width”: “292px”,
    “position”: “fixed”
    });
    //Right Rail 300×250 Banner Sticky
    stickyRightBnrSchedule.css({
    ‘z-index’:’9999′,
    ‘display’:’block !important’,
    ‘position’:’fixed’,
    ‘top’:’260px’,
    ‘height’:’250px’,
    ‘width’: ‘300px’
    });
    }
    //Restore on scroll up
    $(window).scroll(function() {
    var top = $(this).scrollTop();
    if (top < endRightColumnSchedule) {
    stickyVidPlayerSchedule.css({
    "top": "",
    "position": ""
    });
    stickyRightBnrSchedule.css({
    "top": "",
    "position": ""
    });
    } else {
    //Display on scroll back down
    stickyVidPlayerSchedule.css({
    "top": "90px",
    "z-index": "9999",
    "height": "160px",
    "width": "292px",
    "position": "fixed"
    });
    //Right Rail 300×250 Banner Sticky
    stickyRightBnrSchedule.css({
    'z-index':'9999',
    'display':'block !important',
    'position':'fixed',
    'top':'260px',
    'height':'250px',
    'width': '300px'
    });
    }
    });
    }
    //End Sticky Banners on Schedule Page
    //End Sticky Banners
    }, 50);
    //Adjust mobile banner position on Standings page
    if (("body[class='has-title-panel path-standings']") && ($(window).width() 0) {
    //Hide the element.
    $(‘#bannerPop’).remove();
    $(‘.buybutton-left’).remove();
    $(‘#buybutton-mob’).remove();
    $(‘.mobile-banner_sticky’).remove();
    };
    //hide mobile sticky banner on desktop
    if($(window).width() > 750) {
    $(‘.mobile-banner_sticky’).remove();
    };
    //hide ticket buttons and ads on promo page
    if (window.location.href.indexOf(“/schedule”) > 0) {
    //Hide the element.
    $(‘.get_tickets’).remove();
    };
    //start buy button left
    $(document).scroll(function() {
    var y = $(this).scrollTop();
    if (y > 500) {
    $(‘.buybutton-left’).fadeIn();
    } else {
    $(‘.buybutton-left’).fadeOut();
    }
    });
    //end buy button left
    //start buy button mobile
    $(document).scroll(function() {
    var y = $(this).scrollTop();
    if (y > 900) {
    $(‘#buybutton-mob’).fadeIn();
    } else {
    $(‘#buybutton-mob’).fadeOut();
    }
    });
    //end buy button mobile
    //start mobile popup banner
    var closeTrigger = false;
    //$(document).scroll(function() {
    $(document).ready(function() {
    //if ($(window).scrollTop() > ($(document).height()*0.15) && $(window).scrollTop() < ($(document).height() * 0.9) – $(window).height() && closeTrigger == false) {
    if ( $(window).scrollTop() ($(document).height()*0.05) && $(window).scrollTop() 0) {
    $(‘.table.table–standings tr’).each(function(){ $(this).find(‘.table__left:last-of-type’).hide();})
    }
    //end jquery wrapper
    });
    //Homepage logo and title click to event page
    jQuery(“body[data-active-series=’nhra’]”).find(‘img.hero__logo, .hero__title’).css( ‘cursor’, ‘pointer’ ).click(function(){window.location=”/schedule/2019/nhra-mello-yello-drag-racing-series/dodge-nhra-nationals-presented-pennzoil”;});
    //jQuery(“body[data-active-series=’nhra’]”).find(‘img.hero__logo, .hero__title’).css( ‘cursor’, ‘pointer’ ).click(function(){window.location=”/results/2018/nhra-mello-yello-drag-racing-series/17461/ladders”;});
    //Header subtitle link to ladders on Sunday morning
    //jQuery(“body[data-active-series=’nhra’]”).find(‘.hero__subtitle’).css( ‘cursor’, ‘pointer’ ).click(function(){window.location=”/schedule/2019/nhra-mello-yello-drag-racing-series/nhra-thunder-valley-nationals”;});
    //jQuery(“body[data-active-series=’nhra’]”).find(‘.hero__subtitle’).css( ‘cursor’, ‘pointer’ ).click(function(){window.location=”/results/2018/nhra-mello-yello-drag-racing-series/17461/ladders”;});
    //Turn ON/OFF View Live Ladders button CSS
    //$( document ).ready(function() {$(‘.hero__subtitle’).attr(‘id’ , ‘view-live-ladders’);});
    });

    //Hero Countdown
    window.addEventListener(“load”, function(){
    jQuery(document).ready(function($) {
    //load code only on homepage
    if ($(“body[data-active-series=’nhra’]”).length > 0 && $(“.path-frontpage”).length > 0) {
    //Begin Hero Countdown
    setTimeout(function(){
    $(‘.hero__text_container’).html(‘

    Countdown to the 50th Gatornationals

  • Days
  • Hours
  • Mins
  • Secs
  • ‘);
    var target_date = new Date(“March 14, 2019 5:00:00”).getTime(); // set the ctdnTimer date
    var days, hours, minutes, seconds; // variables for time units
    var ctdnTimer = document.getElementById(“ctdnTiles”); // get tag element
    getctdnTimer();
    var CountDown = setInterval(function () { getctdnTimer(); }, 1000);
    function getctdnTimer(){
    if( ‘undefined’ == typeof ctdnTimer || !ctdnTimer ) { return;}
    // find the amount of “seconds” between now and target
    var current_date = new Date().getTime();
    var seconds_left = (target_date – current_date) / 1000;
    var zero_count = target_date – current_date;
    days = pad( parseInt(seconds_left / 86400) );
    seconds_left = seconds_left % 86400;
    hours = pad( parseInt(seconds_left / 3600) );
    seconds_left = seconds_left % 3600;
    minutes = pad( parseInt(seconds_left / 60) );
    seconds = pad( parseInt( seconds_left % 60 ) );
    // format ctdnTimer string + set tag value
    ctdnTimer.innerHTML = “” + days + “” + hours + “” + minutes + “” + seconds + ““;
    //If the countdown is finished, do this…
    if (zero_count < 0) {
    clearInterval(CountDown);
    $('#ctdnTimer').hide();
    }
    }
    function pad(n) {
    return (n < 10 ? '0' : '') + n;
    }
    }, 50);
    }
    });
    }
    );

    window.addEventListener(“load”, function () {
    jQuery(document).ready(function() {
    //Adjust hero image for Kall out Kings page on mobile
    if (jQuery(window).width() 0) {
    jQuery(‘.hero.promo’).css(‘padding-top’,’27%’);
    };
    });
    jQuery(document).ready(function($) {
    // Winners add missing FSS row
    if (window.location.href.indexOf(“/results/2019/nhra-mello-yello-drag-racing-series/22976”) > 0 || window.location.href.indexOf(“/results/2019/nhra-mello-yello-drag-racing-series/22976/winners”) > 0 ) {
    $(“.table.table–winner tr:last”).after(‘

    Beau Layne Drew Skillman Factory Stock Showdown

    ‘);
    }
    $(‘div[class*=”FlexColStart”]’).click($(‘svg+p[class*=”DescriptionText”‘).text($(‘a.active.item’).text()));
    });
    });

    document.addEventListener(“DOMContentLoaded”, function(event) {
    var $intervalSlots = [];
    // NOTE: After DOM has loaded I’ve delayed the refresh a bit more for safe measure
    setTimeout(function(){
    googletag.cmd.push(function(){
    var trevdas = document.querySelectorAll(‘.trevda__dfp[id]’);
    var trevdaSlots = [];
    for (j = 0; j 0 ) {
    if ( val.slotId == $slotId && val.refreshInterval && 0 < val.refreshInterval ) {
    var slot = gptadslots[trevdas[j].getAttribute('id')];
    var intervalSlot = {slot: slot, interval: val.refreshInterval};
    $intervalSlots.push(intervalSlot);
    }
    }
    });
    }
    googletag.pubads().refresh(trevdaSlots);
    setSlotIntervals( $intervalSlots );
    });
    }, 500);
    function setSlotIntervals( intervalSlots ) {
    intervalSlots.forEach( function(intervalSlot){
    // Convert to seconds
    var interval = intervalSlot.interval * 1000;
    setInterval(function() {
    googletag.pubads().refresh([intervalSlot.slot]);
    }, interval);
    });
    }
    });
    window.NREUM||(NREUM={});NREUM.info={“beacon”:”bam.nr-data.net”,”licenseKey”:”49c172d2dc”,”applicationID”:”70696879″,”transactionName”:”Y1UAZhcHWhdXVEVcWlofI1ERD1sKGUdQUlBrUwNRDQM=”,”queueTime”:0,”applicationTime”:26,”atts”:”TxIDEF8dSRk=”,”errorBeacon”:”bam.nr-data.net”,”agent”:””}

    Leave a Reply

    Your email address will not be published. Required fields are marked *