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 (LeadingZeros33234 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33234(secs) { if (secs < 0) { document.getElementById("cntdwns33234").innerHTML = FinishMessages33234; return; } DisplayStrs33234 = DisplayFormats33234.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33234 = DisplayStrs33234.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33234 = DisplayStrs33234.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33234 = DisplayStrs33234.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33234").innerHTML = DisplayStrs33234; if (CountActives33234) //alert(SetTimeOutPeriods33234); setTimeout("CountBacks33234(" + (secs+CountSteppers33234) + ")", SetTimeOutPeriods33234); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33234)=="undefined") BackColors33234 = ""; if (typeof(ForeColors33234)=="undefined") ForeColors33234= "white"; if (typeof(TargetDates33234)=="undefined") TargetDates33234 = "02/03/2026 10:00:00 PM"; if (typeof(DisplayFormats33234)=="undefined") DisplayFormats33234 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33234)=="undefined") CountActives33234 = true; if (typeof(FinishMessages33234)=="undefined") FinishMessages33234 = ""; if (typeof(CountSteppers33234)!="number") CountSteppers33234 = -1; if (typeof(LeadingZeros33234)=="undefined") LeadingZeros33234 = true; CountSteppers33234 = Math.ceil(CountSteppers33234); if (CountSteppers33234 == 0) CountActives33234 = false; var SetTimeOutPeriods33234 = (Math.abs(CountSteppers33234)-1)*1000 + 990; puti(BackColors33234, ForeColors33234); var dthens33234 = new Date(TargetDates33234); var dnows33234 = new Date("02/01/2026 7:29:33 PM"); if(CountSteppers33234>0) ddiffs33234 = new Date(dnows33234-dthens33234); else ddiffs33234 = new Date(dthens33234-dnows33234); gsecss33234 = Math.floor(ddiffs33234.valueOf()/1000); CountBacks33234(gsecss33234);