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 (LeadingZeros33610 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33610(secs) { if (secs < 0) { document.getElementById("cntdwns33610").innerHTML = FinishMessages33610; return; } DisplayStrs33610 = DisplayFormats33610.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33610 = DisplayStrs33610.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33610 = DisplayStrs33610.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33610 = DisplayStrs33610.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33610").innerHTML = DisplayStrs33610; if (CountActives33610) //alert(SetTimeOutPeriods33610); setTimeout("CountBacks33610(" + (secs+CountSteppers33610) + ")", SetTimeOutPeriods33610); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33610)=="undefined") BackColors33610 = ""; if (typeof(ForeColors33610)=="undefined") ForeColors33610= "white"; if (typeof(TargetDates33610)=="undefined") TargetDates33610 = "02/27/2026 10:00:00 PM"; if (typeof(DisplayFormats33610)=="undefined") DisplayFormats33610 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33610)=="undefined") CountActives33610 = true; if (typeof(FinishMessages33610)=="undefined") FinishMessages33610 = ""; if (typeof(CountSteppers33610)!="number") CountSteppers33610 = -1; if (typeof(LeadingZeros33610)=="undefined") LeadingZeros33610 = true; CountSteppers33610 = Math.ceil(CountSteppers33610); if (CountSteppers33610 == 0) CountActives33610 = false; var SetTimeOutPeriods33610 = (Math.abs(CountSteppers33610)-1)*1000 + 990; puti(BackColors33610, ForeColors33610); var dthens33610 = new Date(TargetDates33610); var dnows33610 = new Date("02/24/2026 10:33:20 PM"); if(CountSteppers33610>0) ddiffs33610 = new Date(dnows33610-dthens33610); else ddiffs33610 = new Date(dthens33610-dnows33610); gsecss33610 = Math.floor(ddiffs33610.valueOf()/1000); CountBacks33610(gsecss33610);