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 (LeadingZeros33282 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33282(secs) { if (secs < 0) { document.getElementById("cntdwns33282").innerHTML = FinishMessages33282; return; } DisplayStrs33282 = DisplayFormats33282.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33282 = DisplayStrs33282.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33282 = DisplayStrs33282.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33282 = DisplayStrs33282.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33282").innerHTML = DisplayStrs33282; if (CountActives33282) //alert(SetTimeOutPeriods33282); setTimeout("CountBacks33282(" + (secs+CountSteppers33282) + ")", SetTimeOutPeriods33282); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33282)=="undefined") BackColors33282 = ""; if (typeof(ForeColors33282)=="undefined") ForeColors33282= "white"; if (typeof(TargetDates33282)=="undefined") TargetDates33282 = "02/06/2026 10:00:00 PM"; if (typeof(DisplayFormats33282)=="undefined") DisplayFormats33282 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33282)=="undefined") CountActives33282 = true; if (typeof(FinishMessages33282)=="undefined") FinishMessages33282 = ""; if (typeof(CountSteppers33282)!="number") CountSteppers33282 = -1; if (typeof(LeadingZeros33282)=="undefined") LeadingZeros33282 = true; CountSteppers33282 = Math.ceil(CountSteppers33282); if (CountSteppers33282 == 0) CountActives33282 = false; var SetTimeOutPeriods33282 = (Math.abs(CountSteppers33282)-1)*1000 + 990; puti(BackColors33282, ForeColors33282); var dthens33282 = new Date(TargetDates33282); var dnows33282 = new Date("02/03/2026 12:10:43 PM"); if(CountSteppers33282>0) ddiffs33282 = new Date(dnows33282-dthens33282); else ddiffs33282 = new Date(dthens33282-dnows33282); gsecss33282 = Math.floor(ddiffs33282.valueOf()/1000); CountBacks33282(gsecss33282);