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 (LeadingZeros33921 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33921(secs) { if (secs < 0) { document.getElementById("cntdwns33921").innerHTML = FinishMessages33921; return; } DisplayStrs33921 = DisplayFormats33921.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33921 = DisplayStrs33921.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33921 = DisplayStrs33921.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33921 = DisplayStrs33921.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33921").innerHTML = DisplayStrs33921; if (CountActives33921) //alert(SetTimeOutPeriods33921); setTimeout("CountBacks33921(" + (secs+CountSteppers33921) + ")", SetTimeOutPeriods33921); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33921)=="undefined") BackColors33921 = ""; if (typeof(ForeColors33921)=="undefined") ForeColors33921= "white"; if (typeof(TargetDates33921)=="undefined") TargetDates33921 = "05/01/2026 10:00:00 PM"; if (typeof(DisplayFormats33921)=="undefined") DisplayFormats33921 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33921)=="undefined") CountActives33921 = true; if (typeof(FinishMessages33921)=="undefined") FinishMessages33921 = ""; if (typeof(CountSteppers33921)!="number") CountSteppers33921 = -1; if (typeof(LeadingZeros33921)=="undefined") LeadingZeros33921 = true; CountSteppers33921 = Math.ceil(CountSteppers33921); if (CountSteppers33921 == 0) CountActives33921 = false; var SetTimeOutPeriods33921 = (Math.abs(CountSteppers33921)-1)*1000 + 990; puti(BackColors33921, ForeColors33921); var dthens33921 = new Date(TargetDates33921); var dnows33921 = new Date("04/30/2026 8:15:32 PM"); if(CountSteppers33921>0) ddiffs33921 = new Date(dnows33921-dthens33921); else ddiffs33921 = new Date(dthens33921-dnows33921); gsecss33921 = Math.floor(ddiffs33921.valueOf()/1000); CountBacks33921(gsecss33921);