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 (LeadingZeros33594 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33594(secs) { if (secs < 0) { document.getElementById("cntdwns33594").innerHTML = FinishMessages33594; return; } DisplayStrs33594 = DisplayFormats33594.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33594 = DisplayStrs33594.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33594 = DisplayStrs33594.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33594 = DisplayStrs33594.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33594").innerHTML = DisplayStrs33594; if (CountActives33594) //alert(SetTimeOutPeriods33594); setTimeout("CountBacks33594(" + (secs+CountSteppers33594) + ")", SetTimeOutPeriods33594); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33594)=="undefined") BackColors33594 = ""; if (typeof(ForeColors33594)=="undefined") ForeColors33594= "white"; if (typeof(TargetDates33594)=="undefined") TargetDates33594 = "03/29/2026 11:00:00 PM"; if (typeof(DisplayFormats33594)=="undefined") DisplayFormats33594 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33594)=="undefined") CountActives33594 = true; if (typeof(FinishMessages33594)=="undefined") FinishMessages33594 = ""; if (typeof(CountSteppers33594)!="number") CountSteppers33594 = -1; if (typeof(LeadingZeros33594)=="undefined") LeadingZeros33594 = true; CountSteppers33594 = Math.ceil(CountSteppers33594); if (CountSteppers33594 == 0) CountActives33594 = false; var SetTimeOutPeriods33594 = (Math.abs(CountSteppers33594)-1)*1000 + 990; puti(BackColors33594, ForeColors33594); var dthens33594 = new Date(TargetDates33594); var dnows33594 = new Date("03/27/2026 10:01:21 PM"); if(CountSteppers33594>0) ddiffs33594 = new Date(dnows33594-dthens33594); else ddiffs33594 = new Date(dthens33594-dnows33594); gsecss33594 = Math.floor(ddiffs33594.valueOf()/1000); CountBacks33594(gsecss33594);