var tpromo;var tpromo2;var divID="promo";var max=4;var current=1;var previous=max;var next=1;var promoid='titlepromo';var nexttitleid='titlepromo2';setNextPromo(max);function promoTimeout(){tpromo=setTimeout("NextContent('promo')",10000);tpromo2=setTimeout("promoTimeout()",10000);}
promoTimeout();function NextContent(divID){try{var currcont=parseInt(eval("document.aspnetForm."+divID+"currcont").value);var maxcont=parseInt(eval("document.aspnetForm."+divID+"maxcont").value);if(currcont==0)
currcont=1;if(nextcont>maxcont)
nextcont=1;var nextcont=(currcont%maxcont)+1
eval("document.aspnetForm."+divID+"currcont").value=nextcont;target=divID+"Numbers";document.getElementById(target).innerHTML="<strong>"+nextcont+"</strong> of "+maxcont+" ";try{setNextPromo(currcont);}catch(Exception){}
idcc=divID+currcont;idnc=divID+nextcont;for(i=1;i<=maxcont;i++){idcc=divID+i;document.getElementById(idcc).style.display='none';}
document.getElementById(idnc).style.display='block';ga_taglinksForLPromo(idnc);}catch(err){}}
function PrevContent(divID){var currcont=parseInt(eval("document.aspnetForm."+divID+"currcont").value);var maxcont=parseInt(eval("document.aspnetForm."+divID+"maxcont").value);if(currcont==0)
currcont=1;if(currcont>maxcont)
currcont=maxcont;var nextcont=currcont;var prevcont=currcont-1;if(prevcont<1)
prevcont=maxcont;setNextPromo(currcont);eval("document.aspnetForm."+divID+"currcont").value=prevcont;target=divID+"Numbers";document.getElementById(target).innerHTML=" <b>"+prevcont+"</b> of "+maxcont+" ";idcc=divID+currcont;idnc=divID+prevcont;for(i=1;i<=maxcont;i++){idcc=divID+i;document.getElementById(idcc).style.display='none';}
document.getElementById(idnc).style.display='block';ga_taglinksForLPromo(idnc);}
function setNextPromo(current){if(max==4){if(current==1||current==2){next=current+2;}else{next=current-2;}}else{if(current==1){next=current+2;}else{next=current-1;}}
try{nexttitleid=promoid+next;document.getElementById('promoNext').innerHTML=document.getElementById(nexttitleid).value;current=next;}catch(err){}}