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 (LeadingZeros33419 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33419(secs) { if (secs < 0) { document.getElementById("cntdwns33419").innerHTML = FinishMessages33419; return; } DisplayStrs33419 = DisplayFormats33419.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33419 = DisplayStrs33419.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33419 = DisplayStrs33419.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33419 = DisplayStrs33419.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33419").innerHTML = DisplayStrs33419; if (CountActives33419) //alert(SetTimeOutPeriods33419); setTimeout("CountBacks33419(" + (secs+CountSteppers33419) + ")", SetTimeOutPeriods33419); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33419)=="undefined") BackColors33419 = ""; if (typeof(ForeColors33419)=="undefined") ForeColors33419= "white"; if (typeof(TargetDates33419)=="undefined") TargetDates33419 = "03/01/2026 10:00:00 PM"; if (typeof(DisplayFormats33419)=="undefined") DisplayFormats33419 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33419)=="undefined") CountActives33419 = true; if (typeof(FinishMessages33419)=="undefined") FinishMessages33419 = ""; if (typeof(CountSteppers33419)!="number") CountSteppers33419 = -1; if (typeof(LeadingZeros33419)=="undefined") LeadingZeros33419 = true; CountSteppers33419 = Math.ceil(CountSteppers33419); if (CountSteppers33419 == 0) CountActives33419 = false; var SetTimeOutPeriods33419 = (Math.abs(CountSteppers33419)-1)*1000 + 990; puti(BackColors33419, ForeColors33419); var dthens33419 = new Date(TargetDates33419); var dnows33419 = new Date("02/26/2026 4:17:36 AM"); if(CountSteppers33419>0) ddiffs33419 = new Date(dnows33419-dthens33419); else ddiffs33419 = new Date(dthens33419-dnows33419); gsecss33419 = Math.floor(ddiffs33419.valueOf()/1000); CountBacks33419(gsecss33419);