function calcage(e,t,n){return s=(Math.floor(e/t)%n).toString(),LeadingZero&&s.length<2&&(s="0"+s),"<b>"+s+"</b>"}function CountBack(e){return 0>e?void(1==Disable?document.location.replace(UrlDisable):document.getElementById("cntdwn").innerHTML=FinishMessage):(DisplayStr=DisplayFormat.replace(/%%D%%/g,calcage(e,86400,1e5)),DisplayStr=DisplayStr.replace(/%%H%%/g,calcage(e,3600,24)),DisplayStr=DisplayStr.replace(/%%M%%/g,calcage(e,60,60)),DisplayStr=DisplayStr.replace(/%%S%%/g,calcage(e,1,60)),document.getElementById("cntdwn").innerHTML=DisplayStr,void(CountActive&&setTimeout("CountBack("+(e+CountStepper)+")",SetTimeOutPeriod)))}function putspan(e,t){document.write("<div class='cptR-rec_countdown'><span id='cntdwn' style='font-family:"+FontFamily+";background-color:"+e+"; color:"+t+"; font-size:"+FontSize+"vw;'></span></div>")}"undefined"==typeof BackColor&&(BackColor=""),"undefined"==typeof ForeColor&&(ForeColor="black"),"undefined"==typeof FontSize&&(FontSize="10"),"undefined"==typeof TargetDate&&(TargetDate="12/31/2020 5:00 AM"),"undefined"==typeof DisplayFormat&&(DisplayFormat="%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds."),"undefined"==typeof CountActive&&(CountActive=!0),"undefined"==typeof FinishMessage&&(FinishMessage=""),"number"!=typeof CountStepper&&(CountStepper=-1),"undefined"==typeof LeadingZero&&(LeadingZero=!0),"undefined"==typeof Disable&&(Disable=""),"undefined"==typeof FontFamily&&(FontFamily="Pacifico"),CountStepper=Math.ceil(CountStepper),0==CountStepper&&(CountActive=!1);var SetTimeOutPeriod=1e3*(Math.abs(CountStepper)-1)+990;putspan(BackColor,ForeColor,FontSize);var dthen=new Date(TargetDate),dnow=new Date;CountStepper>0?ddiff=new Date(dnow-dthen):ddiff=new Date(dthen-dnow),gsecs=Math.floor(ddiff.valueOf()/1e3),CountBack(gsecs);