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 (LeadingZeros33744 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33744(secs) { if (secs < 0) { document.getElementById("cntdwns33744").innerHTML = FinishMessages33744; return; } DisplayStrs33744 = DisplayFormats33744.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33744 = DisplayStrs33744.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33744 = DisplayStrs33744.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33744 = DisplayStrs33744.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33744").innerHTML = DisplayStrs33744; if (CountActives33744) //alert(SetTimeOutPeriods33744); setTimeout("CountBacks33744(" + (secs+CountSteppers33744) + ")", SetTimeOutPeriods33744); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33744)=="undefined") BackColors33744 = ""; if (typeof(ForeColors33744)=="undefined") ForeColors33744= "white"; if (typeof(TargetDates33744)=="undefined") TargetDates33744 = "04/02/2026 10:00:00 PM"; if (typeof(DisplayFormats33744)=="undefined") DisplayFormats33744 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33744)=="undefined") CountActives33744 = true; if (typeof(FinishMessages33744)=="undefined") FinishMessages33744 = ""; if (typeof(CountSteppers33744)!="number") CountSteppers33744 = -1; if (typeof(LeadingZeros33744)=="undefined") LeadingZeros33744 = true; CountSteppers33744 = Math.ceil(CountSteppers33744); if (CountSteppers33744 == 0) CountActives33744 = false; var SetTimeOutPeriods33744 = (Math.abs(CountSteppers33744)-1)*1000 + 990; puti(BackColors33744, ForeColors33744); var dthens33744 = new Date(TargetDates33744); var dnows33744 = new Date("03/30/2026 1:53:17 AM"); if(CountSteppers33744>0) ddiffs33744 = new Date(dnows33744-dthens33744); else ddiffs33744 = new Date(dthens33744-dnows33744); gsecss33744 = Math.floor(ddiffs33744.valueOf()/1000); CountBacks33744(gsecss33744);