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 (LeadingZeros33531 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33531(secs) { if (secs < 0) { document.getElementById("cntdwns33531").innerHTML = FinishMessages33531; return; } DisplayStrs33531 = DisplayFormats33531.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33531 = DisplayStrs33531.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33531 = DisplayStrs33531.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33531 = DisplayStrs33531.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33531").innerHTML = DisplayStrs33531; if (CountActives33531) //alert(SetTimeOutPeriods33531); setTimeout("CountBacks33531(" + (secs+CountSteppers33531) + ")", SetTimeOutPeriods33531); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33531)=="undefined") BackColors33531 = ""; if (typeof(ForeColors33531)=="undefined") ForeColors33531= "white"; if (typeof(TargetDates33531)=="undefined") TargetDates33531 = "02/07/2026 10:00:00 PM"; if (typeof(DisplayFormats33531)=="undefined") DisplayFormats33531 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33531)=="undefined") CountActives33531 = true; if (typeof(FinishMessages33531)=="undefined") FinishMessages33531 = ""; if (typeof(CountSteppers33531)!="number") CountSteppers33531 = -1; if (typeof(LeadingZeros33531)=="undefined") LeadingZeros33531 = true; CountSteppers33531 = Math.ceil(CountSteppers33531); if (CountSteppers33531 == 0) CountActives33531 = false; var SetTimeOutPeriods33531 = (Math.abs(CountSteppers33531)-1)*1000 + 990; puti(BackColors33531, ForeColors33531); var dthens33531 = new Date(TargetDates33531); var dnows33531 = new Date("02/04/2026 5:28:25 PM"); if(CountSteppers33531>0) ddiffs33531 = new Date(dnows33531-dthens33531); else ddiffs33531 = new Date(dthens33531-dnows33531); gsecss33531 = Math.floor(ddiffs33531.valueOf()/1000); CountBacks33531(gsecss33531);