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 (LeadingZeros33823 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33823(secs) { if (secs < 0) { document.getElementById("cntdwns33823").innerHTML = FinishMessages33823; return; } DisplayStrs33823 = DisplayFormats33823.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33823 = DisplayStrs33823.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33823 = DisplayStrs33823.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33823 = DisplayStrs33823.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33823").innerHTML = DisplayStrs33823; if (CountActives33823) //alert(SetTimeOutPeriods33823); setTimeout("CountBacks33823(" + (secs+CountSteppers33823) + ")", SetTimeOutPeriods33823); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33823)=="undefined") BackColors33823 = ""; if (typeof(ForeColors33823)=="undefined") ForeColors33823= "white"; if (typeof(TargetDates33823)=="undefined") TargetDates33823 = "04/05/2026 10:00:00 PM"; if (typeof(DisplayFormats33823)=="undefined") DisplayFormats33823 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33823)=="undefined") CountActives33823 = true; if (typeof(FinishMessages33823)=="undefined") FinishMessages33823 = ""; if (typeof(CountSteppers33823)!="number") CountSteppers33823 = -1; if (typeof(LeadingZeros33823)=="undefined") LeadingZeros33823 = true; CountSteppers33823 = Math.ceil(CountSteppers33823); if (CountSteppers33823 == 0) CountActives33823 = false; var SetTimeOutPeriods33823 = (Math.abs(CountSteppers33823)-1)*1000 + 990; puti(BackColors33823, ForeColors33823); var dthens33823 = new Date(TargetDates33823); var dnows33823 = new Date("04/03/2026 5:23:35 AM"); if(CountSteppers33823>0) ddiffs33823 = new Date(dnows33823-dthens33823); else ddiffs33823 = new Date(dthens33823-dnows33823); gsecss33823 = Math.floor(ddiffs33823.valueOf()/1000); CountBacks33823(gsecss33823);