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 (LeadingZeros33903 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33903(secs) { if (secs < 0) { document.getElementById("cntdwns33903").innerHTML = FinishMessages33903; return; } DisplayStrs33903 = DisplayFormats33903.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33903 = DisplayStrs33903.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33903 = DisplayStrs33903.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33903 = DisplayStrs33903.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33903").innerHTML = DisplayStrs33903; if (CountActives33903) //alert(SetTimeOutPeriods33903); setTimeout("CountBacks33903(" + (secs+CountSteppers33903) + ")", SetTimeOutPeriods33903); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33903)=="undefined") BackColors33903 = ""; if (typeof(ForeColors33903)=="undefined") ForeColors33903= "white"; if (typeof(TargetDates33903)=="undefined") TargetDates33903 = "04/23/2026 10:00:00 PM"; if (typeof(DisplayFormats33903)=="undefined") DisplayFormats33903 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33903)=="undefined") CountActives33903 = true; if (typeof(FinishMessages33903)=="undefined") FinishMessages33903 = ""; if (typeof(CountSteppers33903)!="number") CountSteppers33903 = -1; if (typeof(LeadingZeros33903)=="undefined") LeadingZeros33903 = true; CountSteppers33903 = Math.ceil(CountSteppers33903); if (CountSteppers33903 == 0) CountActives33903 = false; var SetTimeOutPeriods33903 = (Math.abs(CountSteppers33903)-1)*1000 + 990; puti(BackColors33903, ForeColors33903); var dthens33903 = new Date(TargetDates33903); var dnows33903 = new Date("04/20/2026 5:30:22 PM"); if(CountSteppers33903>0) ddiffs33903 = new Date(dnows33903-dthens33903); else ddiffs33903 = new Date(dthens33903-dnows33903); gsecss33903 = Math.floor(ddiffs33903.valueOf()/1000); CountBacks33903(gsecss33903);