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 (LeadingZeros33675 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33675(secs) { if (secs < 0) { document.getElementById("cntdwns33675").innerHTML = FinishMessages33675; return; } DisplayStrs33675 = DisplayFormats33675.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33675 = DisplayStrs33675.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33675 = DisplayStrs33675.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33675 = DisplayStrs33675.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33675").innerHTML = DisplayStrs33675; if (CountActives33675) //alert(SetTimeOutPeriods33675); setTimeout("CountBacks33675(" + (secs+CountSteppers33675) + ")", SetTimeOutPeriods33675); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33675)=="undefined") BackColors33675 = ""; if (typeof(ForeColors33675)=="undefined") ForeColors33675= "white"; if (typeof(TargetDates33675)=="undefined") TargetDates33675 = "04/03/2026 11:00:00 PM"; if (typeof(DisplayFormats33675)=="undefined") DisplayFormats33675 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33675)=="undefined") CountActives33675 = true; if (typeof(FinishMessages33675)=="undefined") FinishMessages33675 = ""; if (typeof(CountSteppers33675)!="number") CountSteppers33675 = -1; if (typeof(LeadingZeros33675)=="undefined") LeadingZeros33675 = true; CountSteppers33675 = Math.ceil(CountSteppers33675); if (CountSteppers33675 == 0) CountActives33675 = false; var SetTimeOutPeriods33675 = (Math.abs(CountSteppers33675)-1)*1000 + 990; puti(BackColors33675, ForeColors33675); var dthens33675 = new Date(TargetDates33675); var dnows33675 = new Date("03/31/2026 3:48:41 AM"); if(CountSteppers33675>0) ddiffs33675 = new Date(dnows33675-dthens33675); else ddiffs33675 = new Date(dthens33675-dnows33675); gsecss33675 = Math.floor(ddiffs33675.valueOf()/1000); CountBacks33675(gsecss33675);