function calcage(secs, num1, num2, addDay, seconds) { if (addDay == 1){ s = ((Math.floor(secs/num1))).toString(); } else{ s = ((Math.floor(secs/num1))%num2).toString(); } if (LeadingZeros33287 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33287(secs) { if (secs < 0) { document.getElementById("cntdwns33287").innerHTML = FinishMessages33287; return; } DisplayStrs33287 = DisplayFormats33287.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33287 = DisplayStrs33287.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33287 = DisplayStrs33287.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33287 = DisplayStrs33287.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33287").innerHTML = DisplayStrs33287; if (CountActives33287) //alert(SetTimeOutPeriods33287); setTimeout("CountBacks33287(" + (secs+CountSteppers33287) + ")", SetTimeOutPeriods33287); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33287)=="undefined") BackColors33287 = ""; if (typeof(ForeColors33287)=="undefined") ForeColors33287= "white"; if (typeof(TargetDates33287)=="undefined") TargetDates33287 = "03/03/2026 9:00:00 PM"; if (typeof(DisplayFormats33287)=="undefined") DisplayFormats33287 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33287)=="undefined") CountActives33287 = true; if (typeof(FinishMessages33287)=="undefined") FinishMessages33287 = ""; if (typeof(CountSteppers33287)!="number") CountSteppers33287 = -1; if (typeof(LeadingZeros33287)=="undefined") LeadingZeros33287 = true; CountSteppers33287 = Math.ceil(CountSteppers33287); if (CountSteppers33287 == 0) CountActives33287 = false; var SetTimeOutPeriods33287 = (Math.abs(CountSteppers33287)-1)*1000 + 990; puti(BackColors33287, ForeColors33287); var dthens33287 = new Date(TargetDates33287); var dnows33287 = new Date("03/01/2026 2:14:09 PM"); if(CountSteppers33287>0) ddiffs33287 = new Date(dnows33287-dthens33287); else ddiffs33287 = new Date(dthens33287-dnows33287); gsecss33287 = Math.floor(ddiffs33287.valueOf()/1000); CountBacks33287(gsecss33287);