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 (LeadingZeros33333 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33333(secs) { if (secs < 0) { document.getElementById("cntdwns33333").innerHTML = FinishMessages33333; return; } DisplayStrs33333 = DisplayFormats33333.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33333 = DisplayStrs33333.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33333 = DisplayStrs33333.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33333 = DisplayStrs33333.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33333").innerHTML = DisplayStrs33333; if (CountActives33333) //alert(SetTimeOutPeriods33333); setTimeout("CountBacks33333(" + (secs+CountSteppers33333) + ")", SetTimeOutPeriods33333); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33333)=="undefined") BackColors33333 = ""; if (typeof(ForeColors33333)=="undefined") ForeColors33333= "white"; if (typeof(TargetDates33333)=="undefined") TargetDates33333 = "02/25/2026 10:00:00 PM"; if (typeof(DisplayFormats33333)=="undefined") DisplayFormats33333 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33333)=="undefined") CountActives33333 = true; if (typeof(FinishMessages33333)=="undefined") FinishMessages33333 = ""; if (typeof(CountSteppers33333)!="number") CountSteppers33333 = -1; if (typeof(LeadingZeros33333)=="undefined") LeadingZeros33333 = true; CountSteppers33333 = Math.ceil(CountSteppers33333); if (CountSteppers33333 == 0) CountActives33333 = false; var SetTimeOutPeriods33333 = (Math.abs(CountSteppers33333)-1)*1000 + 990; puti(BackColors33333, ForeColors33333); var dthens33333 = new Date(TargetDates33333); var dnows33333 = new Date("02/22/2026 1:25:00 PM"); if(CountSteppers33333>0) ddiffs33333 = new Date(dnows33333-dthens33333); else ddiffs33333 = new Date(dthens33333-dnows33333); gsecss33333 = Math.floor(ddiffs33333.valueOf()/1000); CountBacks33333(gsecss33333);