// JScript source code

var stories=new Array('cnnT1Story1','cnnT1Story2','cnnT1Story3','cnnT1Story4','cnnT1Story5');var rotate=null;var r=1;function cnnRotateT1(){cnnShowT1(r);if(r<5){rotate=setTimeout('cnnRotateT1(r)',7000);}else if(r=5){rotate=setTimeout('cnnShowT1(1)',7000);}
r++;}
function cnnShowT1(n){for(i=0;i<stories.length;i++){if(d.getElementById(stories[i])){d.getElementById(stories[i]).style.display=(('cnnT1Story'+n)==stories[i])?'block':'none';}}
var thumbs=d.getElementById('cnnT1Thumbs').getElementsByTagName('a');for(j=0;j<thumbs.length;j++){thumbs[j].className=((j+1)==n)?'cnnSelected':'';}}
var d=document;var subnavArray=['cnnSubnav_news'];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';}}