
var d=document;var currentPage='home';if(d.location.href.indexOf('https:')!=-1){d.write('<script type="text/javascript" src="https://s.cnn.net/nascar/.element/js/2.0/global_nav.js"></script>');}else{d.write('<script type="text/javascript" src="http://i.cdn.turner.com/nascar/.element/js/2.0/global_nav.js"></script>');}
function cnnHasClass(obj){var result=false;if(obj.getAttributeNode('class')!=null){result=obj.getAttributeNode('class').value;}
return result;}
function cnnSetTableBG(id){var even=false;var evenClass='cnnDefault';var oddClass='cnnGeneric';var args=arguments[1];if(args){oddClass=args;}
var tBody=document.getElementById(id);if(!tBody){return;}
var trs=tBody.getElementsByTagName('tr');for(var i=0;i<trs.length;i++){if(!cnnHasClass(trs[i])&&!trs[i].style.backgroundColor){var tds=trs[i].getElementsByTagName('td');for(var j=0;j<tds.length;j++){var td=tds[j];if(j==9){td.className=even?(evenClass+' cnnLast'):(oddClass+' cnnLast');}else{td.className=even?evenClass:oddClass;}}}
even=!even;}}
function cnnCheckSponsorName(id){if(d.getElementById(id)){var tds=d.getElementById(id).getElementsByTagName('td');for(var i=0;i<tds.length;i++){var content=tds[i].innerHTML;if(content.indexOf('.com')!=-1){var pos=content.indexOf('.com');if(pos>=13){tds[i].innerHTML=content.substr(0,13)+"<br>"+content.substr(13,(content.length-1));}}else if(content.lastIndexOf(' ')>0){if((!(content.match(/href/g)))&&(!(content.match(/img/g)))){var strings=content.split(" ");tds[i].innerHTML='';for(var j=0;j<strings.length;j++){if(strings[j].length>13){strings[j]=(strings[j].substr(0,13)+"-<br>"+strings[j].substr(13,strings[j].length));}
tds[i].innerHTML+=strings[j]+" ";}}}}}}
function getCookies(){var hash=new Array;if(document.cookie!=null){var a=document.cookie.split('; ');for(var i=0;i<a.length;i++){var nv=a[i].split('=');if(nv[1]!=null){hash[nv[0]]=nv[1];}}}
return hash;}
function cnnLaunchVideo(url,tab){var videoUrl=url;var popupWidth='800';var popupHeight='600';var name='video';var suffixRE=/\.?$/;var suffix=suffixRE.exec(videoUrl);if(videoUrl.indexOf('/pr/')!=-1){videoUrl=videoUrl.replace('.html',"_frameset_exclude.html");popupWidth=577;popupHeight=465;name='oldVideo';}
if(suffix!=''){if((videoUrl.indexOf('/2006/')!=-1)&&(videoUrl.indexOf('/pr/video')==-1)){videoUrl='/pr/video'+videoUrl.replace(suffixRE,"_frameset_exclude.html");popupWidth=577;popupHeight=465;name='oldVideo';}else{videoUrl=videoUrl.replace(suffixRE,"/frameset.exclude.html");}}
if((videoUrl.indexOf('/video/')==-1)&&((videoUrl.indexOf('/promos/')==-1)||(videoUrl.indexOf('/multimedia/')==-1))){videoUrl="/video"+videoUrl;}
if(tab){videoUrl+=('?'+tab);}else{videoUrl+=('?MostPopular');}
if((videoUrl.indexOf('/video/')!=-1)&&((videoUrl.indexOf('/frameset.exclude.html')!=-1)||(videoUrl.indexOf('_frameset_exclude.html')!=-1))){var popupWindow=window.open(videoUrl,name,'width='+popupWidth+',height='+popupHeight+',scrollbars=no,resizable=yes');popupWindow.focus();}else{top.location.href=videoUrl;}}
function LaunchVideo(url){var videoUrl=url;var name='oldVideo';var popupWidth='577';var popupHeight='465';var suffixRE=/\.(((np\.|r1\.)?smil|ram)[^\/]*)?$/;var suffix=suffixRE.exec(videoUrl);if(suffix){if(videoUrl.indexOf('/2007/01/3')!=-1){name='video';popupWidth='800';popupHeight='600';if(videoUrl.indexOf('/video/')==-1){videoUrl='/video'+videoUrl.replace(suffixRE,"/frameset.exclude.html");}else{videoUrl=videoUrl.replace(suffixRE,"/frameset.exclude.html");}}else if(videoUrl.indexOf('nascar247')!=-1){name='247';popupWidth='730';popupHeight='460';videoUrl=videoUrl.replace(suffixRE,"_frameset_exclude.html");if(videoUrl.indexOf('/video')==-1){videoUrl='/video'+videoUrl;}}else if(videoUrl.indexOf('/video')!=-1){videoUrl='/pr'+videoUrl.replace(suffixRE,"_frameset_exclude.html");}else{videoUrl='/pr/video'+videoUrl.replace(suffixRE,"_frameset_exclude.html");}
var popupWindow=window.open(videoUrl,name,'width='+popupWidth+',height='+popupHeight+',scrollbars=no,resizable=yes');popupWindow.focus();}else{top.location.href=videoUrl;}}
function cnnLaunchApp(url,archive,raceID,sessionID,audioOffset,lapNum){appUrl=htmlApp(url);if(url.indexOf('wc')>-1||url.indexOf('bg')>-1){width='750';height='600';}else if(url=='tps'){width='568';height='547';}else if(url.indexOf('rad')>-1){width='577';height='474';}else if(url.indexOf('pc')>-1){width='790';height='554';}else if(url.indexOf('rv')>-1){width='1000';height='700';}
if(appUrl){if(archive){appUrl+='&archive='+archive+'&raceID='+raceID+'&sessionID='+sessionID+'&audioOffset='+audioOffset+'&lapNum='+lapNum;}window.open(appUrl,url,'width='+width+',height='+height+',toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes');}}
function htmlApp(param){var htmlUrl='';switch(param){case'rvr':htmlUrl='/pr/races/raceview/index.html?product=raceview';break;case'pcr':htmlUrl='/pr/pitcommand/2.0/cup/race/frameset_race_exclude.html?product=pc';break;case'pcq':htmlUrl='/pr/pitcommand/2.0/cup/qual/frameset_qual_exclude.html?product=pc';break;case'rad':htmlUrl='/pr/races/radio/index.html?product=radio';break;case'tps':htmlUrl='/pr/races/scanner/cup/race/index.html?product=scanner';break;case'wcr':htmlUrl='http://www.nascar.com/races/leaderboard/cup/race/index.html';break;case'wcq':htmlUrl='http://www.nascar.com/races/leaderboard/cup/qual/index.html';break;case'wcp1':htmlUrl='http://www.nascar.com/races/leaderboard/cup/practice/index.html';break;case'wcp2':htmlUrl='http://www.nascar.com/races/leaderboard/cup/practice/index.html';break;case'wcp3':htmlUrl='http://www.nascar.com/races/leaderboard/cup/practice/index.html';break;case'bgr':htmlUrl='http://www.nascar.com/races/leaderboard/bg/race/index.html';break;case'bgq':htmlUrl='http://www.nascar.com/races/leaderboard/bg/qual/index.html';break;}
return htmlUrl;}
function LaunchRacecast(url){cnnLaunchApp(url);}
function CNN_openPopup(url,name,widgets,openerUrl){var host=location.hostname;var popupWin=window.open(url,name,widgets);window.top.name="opener";if(popupWin&&popupWin.opener){if(openerUrl){popupWin.opener.location=openerUrl;popupWin.focus();}}}
function openPopUp(url,name,widgets){CNN_openPopup(url,name,widgets);}
function pollSubPop(url,name,widgets){CNN_openPopup(url,name,widgets);}
function openWindow(url,name,widgets){CNN_openPopup(url,name,widgets);}
function jumpLink(url,name,widgets,openerUrl){CNN_openPopup(url,name,widgets,openerUrl);}
function med_vod(vidlocation)
{CNN_openPopup(vidlocation,'620x460','width=620,height=460,scrollbars=no,resizable=no');}
function closeWindow(){top.close();}
var cnnCSIs=new Array();var cnnUseDelayedCSI=0;var localUserAgent=navigator.userAgent.toLowerCase();if((localUserAgent.indexOf('msie')>-1)&&(localUserAgent.indexOf('mac')>-1)){cnnUseDelayedCSI=1;}
function cnnAddContextualLinks(){if(document.getElementById('cnnContextualLinks')){var cLinks=document.getElementById('cnnContextualLinks');var cIframe=document.createElement('iframe');cIframe.id='cnnContextualLinksIframeDispatch';cIframe.setAttribute('marginWidth','0');cIframe.setAttribute('scrolling','no');cIframe.setAttribute('frameBorder','0');cIframe.setAttribute('align','left');cIframe.src='/.element/ssi/global/2.0/links_sponsored_dispatch.html';cLinks.appendChild(cIframe);}}
function cnnAddCSI(id,source,args,breakCache)
{if(id.toLowerCase().split(' ').join('')=='cnncontextuallinks'){cnnAddContextualLinks();return false;}
if(!args){args='';}
breakCache=(!breakCache&&(source.charAt(0)=='/'))?false:true;if(cnnUseDelayedCSI)
{var newCSI=new Object();newCSI.src=source;newCSI.id=id;newCSI.args=args;newCSI.breakCache=breakCache;cnnCSIs[cnnCSIs.length]=newCSI;}
else
{var today=new Date();var currTime=today.getTime();var iframeArgs=(breakCache)?'&time='+currTime:'';if(args)
{iframeArgs=iframeArgs+'&'+args;}
var iframeHtmlSrc='<iframe src="'+source+'?domId='+id+iframeArgs+'" name="iframe'+id+'" id="iframe'+id+'" width="0" height="0" align="right" style="visibility:hidden"></iframe>';document.write(iframeHtmlSrc);}}
function cnnUpdateCSI(html,id)
{var htmlContainerObj=document.getElementById(id)||document.all[id];if(htmlContainerObj)
{htmlContainerObj.innerHTML=html;}
var htmlContentArea=document.body;if(htmlContentArea)
{var previousTopVal=htmlContentArea.style.top||'0px';htmlContentArea.style.top='1px';htmlContentArea.style.top=previousTopVal;}}
function cnnHandleCSIs()
{if(document.body&&document.body.innerHTML&&cnnUseDelayedCSI)
{var iframeOwner=document.getElementById('csiIframe')||document.all['csiIframe'];var iframeHtmlSrc='';for(var incCounter=0;incCounter<cnnCSIs.length;incCounter++)
{var src=cnnCSIs[incCounter].src;var id=cnnCSIs[incCounter].id;var today=new Date();var breakCache=cnnCSIs[incCounter].breakCache;var currTime=today.getTime();var args=(breakCache)?'&time='+currTime:'';if(cnnCSIs[incCounter].args)
{args=args+'&'+cnnCSIs[incCounter].args;}
iframeHtmlSrc+='<iframe src="'+src+'?domId='+id+args+'" name="iframe'+id+'" id="iframe'+id+'" width="0" height="0" align="right"></iframe>';}
if(iframeOwner)
{iframeOwner.innerHTML=iframeHtmlSrc;}}}
var cnnEnableCL=true;var cnnDocDomain='';if(location.hostname.indexOf('.nascar.com')>0){cnnDocDomain='nascar.com';}
if(location.hostname.indexOf('turner.com')>0){if(document.layers){cnnDocDomain='turner.com:'+location.port;}else{cnnDocDomain='turner.com';}}
if(cnnDocDomain){document.domain=cnnDocDomain;}
function WM_browserAcceptsCookies(){var WM_acceptsCookies=false;if(document.cookie==''){document.cookie='WM_acceptsCookies=yes';if(document.cookie.indexOf('WM_acceptsCookies=yes')!=-1){WM_acceptsCookies=true;}}else{WM_acceptsCookies=true;}
return(WM_acceptsCookies);}
function WM_setCookie(name,value,hours,path,domain,secure){if(WM_browserAcceptsCookies()){var numHours=0;var not_NN2=(navigator&&navigator.appName&&(navigator.appName=='Netscape')&&navigator.appVersion&&(parseInt(navigator.appVersion)==2))?false:true;if(hours&&not_NN2){if((typeof(hours)=='string')&&Date.parse(hours)){numHours=hours;}else if(typeof(hours)=='number'){numHours=(new Date((new Date()).getTime()+hours*3600000)).toGMTString();}}
document.cookie=name+'='+escape(value)+((numHours)?(';expires='+numHours):'')+((path)?';path='+path:'')+((domain)?';domain='+domain:'')+((secure&&(secure==true))?'; secure':'');}}
function WM_readCookie(name){if(document.cookie==''){return false;}else{var firstChar,lastChar;var theBigCookie=document.cookie;firstChar=theBigCookie.indexOf(name);var NN2Hack=firstChar+name.length;if((firstChar!=-1)&&(theBigCookie.charAt(NN2Hack)=='=')){firstChar+=name.length+1;lastChar=theBigCookie.indexOf(';',firstChar);if(lastChar==-1)lastChar=theBigCookie.length;return unescape(theBigCookie.substring(firstChar,lastChar));}else{return false;}}}
function WM_killCookie(name,path,domain){var theValue=WM_readCookie(name);if(theValue){document.cookie=name+'='+theValue+'; expires=Fri, 13-Apr-1970 00:00:00 GMT'+((path)?';path='+path:'')+((domain)?';domain='+domain:'');}}
var d=document;function cnnSetDriverBG(){var div=d.getElementById('cnnDriverTopRow');if(div){var url=d.location.href;var imgPath='http://i.cdn.turner.com/nascar/.e1d/img/2.0/sect/drivers/';if(url.indexOf('/drivers/dps/')!=-1){if(url.indexOf('/cup/')!=-1){var driver=url.substring((url.indexOf('/drivers/dps/')+13),url.indexOf('/cup/'));div.style.background='url("'+imgPath+'cup/'+driver+'/bg.jpg") 5px 0 no-repeat';}else if(url.indexOf('/bg/')!=-1){var driver=url.substring((url.indexOf('/drivers/dps/')+13),url.indexOf('/bg/'));div.style.background='url("'+imgPath+'bg/'+driver+'/bg.jpg") 5px 0 no-repeat';}else if(url.indexOf('/truck/')!=-1){var driver=url.substring((url.indexOf('/drivers/dps/')+13),url.indexOf('/truck/'));div.style.background='url("'+imgPath+'truck/'+driver+'/bg.jpg") 5px 0 no-repeat';}}}}
function cnnLoadDriver(){var driverPath="/drivers/dps/";if(d.location.href.indexOf('/cup/')!=-1){var driverFile="/cup/index.html";}else if(d.location.href.indexOf('/bg/')!=-1){var driverFile="/bg/index.html";}else if(d.location.href.indexOf('/truck/')!=-1){var driverFile="/truck/index.html";}
var driver=d.driver_dropdown.drivers.options[d.driver_dropdown.drivers.selectedIndex].value;if(driver!=""){location=(driverPath+driver+driverFile);}}
var lists=new Array('cnnDriversCards','cnnDriversTable');var selectedTab=null;function cnnLoadDriverList(tab,name){for(i=0;i<lists.length;i++){d.getElementById(lists[i]).style.display=(name==lists[i])?'block':'none';}}
var stats=new Array('StatsTrack','StatsCareer','StatsSeason','StatsTrackType');var selectedTab=null;function cnnShowStats(tab,name){for(i=0;i<stats.length;i++){d.getElementById('cnnDriver'+stats[i]).className='';d.getElementById(stats[i]).style.display=(name==stats[i])?'block':'none';d.getElementById('cnnDriver'+name).className='cnnDriverStatsSelected';}}
function cnnWriteLoop(x){var driverLoopWidth="375";var driverLoopHeight="90";var driverLoopLink="%2Fpromos%2Fphotocast%2F";if(x=="0"){driverLoopWidth="724";driverLoopHeight="178";driverLoopLink="http%3A%2F%2Fwww%2Efilmloop%2Ecom%2Fx%2Fnoland%3Fticket%3DbRqS1wZj2SXSqFYKSXPzNPWNosZ0z55P%26px%3DNAS";}
var driverLoopIDs=new Array('YywnP1Rnzk76xxaWWcOooeKj-P5EyUSP','DDvmEKegE6fMdf514eGKpCJAyThXH2qQ','vpS0ZfyFD0Us7Le/94xlyj-7PLuYh6Bs','gUy06DwNk3FvWpZyQNF7TJccS4FAE4gL','J4jpHAPrX5v4mlghkHL8LRprbQY7Na3q','XTTDLjWzia-r3GEsGltQKRgY-GCEKgXO','3FV4dyjc7eiT7BviUs-dIiFCNySrRLGC','QhZoP5JhMZSoWeTy174N1mWx5ljUM99w','YpXukf58btMx-ymcJbHp7YTP7ZIN/g5q','CIrhKuOC0Azy28jjFlz58DunPendT-L8','DATKZMKU7IRzRut2zTuguR4RoMWaNq6F','n1SfcZTi8uOlFLTwQ1MaBQdJwSZURRP9','90ajdqzfDXBA6ucyZOU%2FEy5olv4WSe1Q','eIRVjRHy9vwl3JE%2DQ6ifIhfuphYAbPKq','AttlpWUuLmoFV8Thm4lzPMBPGWOl9Wz3','n2A4vuUc7AT4pT31G6uTR1F-JEijLZi4','CE9ztGcOLEsPZZQbIQ5CVRzpYvfSb-cv','g2iVfCmn/d1l8kEyJxDDrSJ67NIcIcFb','zgZZPCAS4KOlnXmBJdE4N33knDY85a/Z','TJXNWqW4UH-rlOxsKh/T8hAnBvKWTQsn','GvfF2smqo2O8jAumfvZdf73D5aWPh1j-','zn4d6fq1isHxA0-EViljKYdiEhWySibF','xnTZSXKVr65IbrWcjfyawCpEfRSSm/Af','6Tyu/gn59XxTXhPBZc3Uo3let0IjyMoR','aW3jFS3mkeIp4YRVaV8GC5kazX-KHwCr','TDD1jI9cxiy53AArbFacdIGS/wbMWgTx','jMJ4yS0Wa2FRrq4SDVek7ZvNPDrgowEc','/kqtBZ2LEN9rTUWmyOfkMukwKV3-Y1ME','WD0lQiE8AbuvKmNIvDbkmRJXufOVkVij','BQ2lS1gBfpmM2gDvBbTiXzjC4b-AHgmQ','sHO7kh8WgHgooCf7YwIDMqiPJ-5HRT69','jX/4ajDxEuAibJml-vPnzdlmQT7RHRIP&incr=1','6LT1KP0rcfxMmKO7-38pzrujFcv/92A6','keKwIXTOgwrtzoYYtV1iuuW-29pQydGM','HQg8cs2qF1gY9wMmbOVST84WJ7m3aSyj','svt4qqff2ak1ukQixV//WdGqgLezWP28','MdDMjYphSjl5Ev3hcAQvSOKgTgSEf0K1','AD3dh8f7Q4MIIzOTX9O6gA4GOWeXA7C6','S0uVXsj7Tc1j4EKClWKtWo-EM/bsIFml','CbKunrRZsCh4VIUUvanoSukijdjVTENI','rLUY3lAwpZrzw4LJ6rhalb9GY9RpvdPt','548JMFNU6XAbdUlYzEiJT1btO7io54rM','-4o9vecj3lYmt8lnCrbg/3Pi5FmLxxvF','13qSLu5Gq1WJxkFoMlZJqBBXtE-ri2eS','cRmi9GASwza58xVAPVuG-zKfGAGxIsk9','c9l8MPyCp6sviXdbKxKglv0U2qs6NI7Y','YywnP1Rnzk76xxaWWcOooeKj-P5EyUSP','YywnP1Rnzk76xxaWWcOooeKj-P5EyUSP');document.write('<embed src="http://static.filmloop.com/looplets/flash/v2/looplet.swf" quality="high" wmode="transparent" scale="noscale" flashvars="base=looplets.filmloop.com&weblinkid='+driverLoopIDs[x]+'&incr=1&flnb=2&link='+driverLoopLink+'" name="looplet" align="middle" bgcolor="#333333" width="'+driverLoopWidth+'" height="'+driverLoopHeight+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');}
var d=document;var subnavArray=['cnnSubnav_home','cnnSubnav_news','cnnSubnav_video','cnnSubnav_races','cnnSubnav_comm','cnnSubnav_store','cnnSubnav_trackpass'];function cnnBuildNav(){var host='';var imgHost='http://i.cdn.turner.com';if((location.hostname.indexOf('nascar.com')==-1)||((location.hostname.indexOf('.nascar.com')!=-1)&&(location.hostname.indexOf('www.nascar.com')==-1))){host='http://www.nascar.com';}
if(d.location.href.indexOf('https:')!=-1){imgHost='https://s.cnn.net';}
d.writeln('<div id="cnnHeader">');d.writeln('<form name="ncar_search" method="get" action="http://search.nascar.com/pages/search/advanced.jsp" id="cnnSearch">');d.writeln('<input name="Coll" value="nascar_xml" type="hidden">');d.writeln('<input name="QuerySubmit" value="true" type="hidden">');d.writeln('<input name="Page" value="1" type="hidden">');d.writeln('<input name="LastQuery" value="" type="hidden">');d.writeln('<input name="keywords" type="hidden"><input type="hidden" name="source" value="NSS">');d.writeln('<input type="text" class="cnnInput" name="QueryText">');d.writeln('<input type="image" src="'+imgHost+'/nascar/.e/img/2.0/global/util/pixel.gif" class="cnnSubmit" alt="GO >">');d.writeln('</form>');d.writeln('<ul id="cnnTopNav">');d.writeln('<li><a href="'+host+'/" id="cnnLogo"></a></li>');d.writeln('<li onmouseover="cnnShowSubnav(\'0\')" onmouseout="cnnStartTimeout()"><a href="'+host+'/" id="cnnHome"></a>');d.writeln('<ul id="cnnSubnav_home">');d.writeln('<li><a href="'+host+'/drivers/list/cup/dps/">Drivers</a></li>');d.writeln('<li><a href="'+host+'/kyn/nbtn/">Statistics</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/races/standings.exclude.html">Standings</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/races/schedule.exclude.html">Schedule</a></li>');d.writeln('<li><a href="'+host+'/kyn/">NASCAR 101</a></li>');d.writeln('<li><a href="'+host+'/multimedia/photo_gallery/">Photos</a></li>');d.writeln('<li><a href="'+host+'/races/tracks/">Tracks</a></li>');d.writeln('<li><a href="'+host+'/races/tickets/cup/">Tickets</a></li>');d.writeln('<li><a href="http://fantasy.nascar.com/">Fantasy</a></li>');d.writeln('<li><a href="'+host+'/games/">Games</a></li>');d.writeln('<li><a href="'+host+'/games/sweeps/">Sweepstakes</a></li>');d.writeln('</ul>');d.writeln('</li>');d.writeln('<li onmouseover="cnnShowSubnav(\'1\')" onmouseout="cnnStartTimeout()"><a href="'+host+'/news/" id="cnnNews"></a>');d.writeln('<ul id="cnnSubnav_news">');d.writeln('<li><a href="'+host+'/drivers/list/cup/dps/">Drivers</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/races/results.exclude.html">Results</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/races/standings.exclude.html">Standings</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/races/schedule.exclude.html">Schedule</a></li>');d.writeln('<li><a href="'+host+'/kyn/nbtn/">Statistics</a></li>');d.writeln('<li><a href="'+host+'/news/business/">Business</a></li>');d.writeln('<li><a href="'+host+'/news/opinion/">Opinion</a></li>');d.writeln('<li><a href="'+host+'/kyn/">NASCAR 101</a></li>');d.writeln('<li><a href="'+host+'/news/newsletter/">Newsletter</a></li>');d.writeln('<li><a href="'+host+'/services/rss/">RSS</a></li>');d.writeln('<li><a href="'+host+'/news/alerts/">Alerts</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/comm/collectibles.exclude.html">Collectibles</a></li>');d.writeln('</ul>');d.writeln('</li>');d.writeln('<li onmouseover="cnnShowSubnav(\'2\')" onmouseout="cnnStartTimeout()"><a href="'+host+'/video/" id="cnnVideo"></a>');d.writeln('<ul id="cnnSubnav_video">');d.writeln('<li><a href="'+host+'/multimedia/drivers/">Driver Clips</a></li>');d.writeln('<li><a href="'+host+'/multimedia/cup/">Race Clips</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/multimedia/race_rewind.exclude.html">Race Rewind</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/multimedia/race_chatter.exclude.html">In-car audio</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/multimedia/jd.exclude.html">Post-race show</a></li>');d.writeln('<li><a href="'+host+'/promos/tnt/">NASCAR ON TNT</a></li>');d.writeln('<li><a href="'+host+'/downloads/">Downloads</a></li>');d.writeln('</ul>');d.writeln('</li>');d.writeln('<li onmouseover="cnnShowSubnav(\'3\')" onmouseout="cnnStartTimeout()"><a href="'+host+'/races/cup/" id="cnnRaces"></a>');d.writeln('<ul id="cnnSubnav_races">');d.writeln('<li><a href="'+host+'/news/">News</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/races/results.exclude.html">Results</a></li>');d.writeln('<li><a href="'+host+'/races/tracks/">Tracks</a></li>');d.writeln('<li><a href="'+host+'/races/tickets/cup/">Tickets</a></li>');d.writeln('<li><a href="'+host+'/travel/">Travel</a></li>');d.writeln('<li><a href="'+host+'/comm/tailgating/">Tailgating</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/races/standings.exclude.html">Standings</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/races/schedule.exclude.html">Schedule</a></li>');d.writeln('<li><a href="'+host+'/multimedia/">Video</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/races/results.exclude.html">Past Races</a></li>');d.writeln('<li><a href="'+host+'/promos/tnt/">NASCAR ON TNT</a></li>');d.writeln('</ul>');d.writeln('</li>');var csSubnav=getCookies();var user=csSubnav["displayname"];var uname='';if(user){uname=user;}
d.writeln('<li onmouseover="cnnShowSubnav(\'4\')" onmouseout="cnnStartTimeout()"><a href="http://community.nascar.com/" id="cnnComm"></a>');d.writeln('<ul id="cnnSubnav_comm">');d.writeln('<li><a href="http://community.nascar.com/'+uname+'">My Profile</a></li>');d.writeln('<li><a href="http://community.nascar.com/members">Members</a></li>');d.writeln('<li><a href="http://community.nascar.com/crews">Crews</a></li>');d.writeln('<li><a href="http://community.nascar.com/blogs">Blogs</a></li>');d.writeln('<li><a href="http://community.nascar.com/photos">Photos</a></li>');d.writeln('<li><a href="http://community.nascar.com/videos">Videos</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/onmc/global_nav.exclude.html">NASCAR Members Club</a></li>');d.writeln('<li><a href="'+host+'/promos/redirects/comm/chat.exclude.html">Chat</a></li>');d.writeln('<li><a href="'+host+'/forums">Forums</a></li>');d.writeln('<li><a href="'+host+'/services/widgets">Widgets</a></li>');d.writeln('</ul>');d.writeln('</li>');d.writeln('<li onmouseover="cnnShowSubnav(\'5\')" onmouseout="cnnStartTimeout()"><a href="http://store.nascar.com" id="cnnStore"></a>');d.writeln('<ul id="cnnSubnav_store">');d.writeln('<li><a href="http://store.nascar.com/entry.point?entry=2056462&source=nascar_dhtml:diecast:03_13_07">Die-Cast</a></li>');d.writeln('<li><a href="http://store.nascar.com/entry.point?entry=1251516&source=nascar_dhtml:outerwear:03_13_07">Outerwear</a></li>');d.writeln('<li><a href="http://store.nascar.com/entry.point?entry=1251496&source=nascar_dhtml:hats:03_13_07">Headwear</a></li>');d.writeln('<li><a href="http://store.nascar.com/entry.point?entry=1251497&source=nascar_dhtml:tees:03_13_07">Tees</a></li>');d.writeln('<li><a href="http://store.nascar.com/entry.point?entry=2056660&source=nascar_dhtml:womens:03_13_07">Womens</a></li>');d.writeln('<li><a href="http://store.nascar.com/entry.point?entry=2056464&source=nascar_dhtml:tailgating:03_13_07">Tailgating</a></li>');d.writeln('<li><a href="http://store.nascar.com/entry.point?entry=2056463&source=nascar_dhtml:homeoffice:03_13_07">Home and Office</a></li>');d.writeln('<li><a href="http://store.nascar.com/emailSignup/index.jsp?partner=header">Sign Up &amp; Save 15%</a></li>');d.writeln('</ul>');d.writeln('</li>');d.writeln('<li onmouseover="cnnShowSubnav(\'6\')" onmouseout="cnnStartTimeout()"><a href="'+host+'/trackpass/" id="cnnTrackPass"></a>');d.writeln('<ul id="cnnSubnav_trackpass">');d.writeln('<li><a href="'+host+'/trackpass/about/scanner/">Scanner</a></li>');d.writeln('<li><a href="'+host+'/trackpass/about/pitcommand/">PitCommand</a></li>');d.writeln('<li><a href="'+host+'/trackpass/about/raceview/">RaceView</a></li>');d.writeln('<li><a href="'+host+'/trackpass/about/">Learn More</a></li>');d.writeln('<li><a href="https://secure.audience.nascar.com/services/nascar/pitpass/login.do?requestedpage=http://www.nascar.com/trackpass/">Login</a></li>');d.writeln('<li><a href="https://account.nascar.com/storefront/memberservices/manageSub.do">Manage My TrackPass</a></li>');d.writeln('<li><a href="'+host+'/guides/customer_service/trackpass/">Help</a></li>');d.writeln('</ul>');d.writeln('</li>');d.writeln('</ul>');d.writeln('<div id="cnnEnEsp"><a href="'+host+'/espanol/">En Espa&ntilde;ol</a></div>');d.writeln('</div>');}
function cnnHideSubnav(){for(var i=0;i<subnavArray.length;i++){d.getElementById(subnavArray[i]).style.display='none';}}
function cnnShowSubnav(x){if(hide!=null){clearTimeout(hide);}
if(d.getElementById(subnavArray[x])){cnnHideSubnav();d.getElementById(subnavArray[x]).style.display='block';}}
function cnnRevertSubnav(){var defaultSubnav='cnnSubnav_'+currentPage;if(!Array.prototype.indexOf){for(var i=0;i<subnavArray.length;i++){if(subnavArray[i]==defaultSubnav){cnnShowSubnav(i);}}}else{var position=subnavArray.indexOf(defaultSubnav);if(position!=-1){cnnShowSubnav(position);}else{cnnHideSubnav();}}}
var hide=null;function cnnStartTimeout(){hide=setTimeout('cnnRevertSubnav()',7000);}