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 (LeadingZeros33445 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33445(secs) { if (secs < 0) { document.getElementById("cntdwns33445").innerHTML = FinishMessages33445; return; } DisplayStrs33445 = DisplayFormats33445.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33445 = DisplayStrs33445.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33445 = DisplayStrs33445.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33445 = DisplayStrs33445.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33445").innerHTML = DisplayStrs33445; if (CountActives33445) //alert(SetTimeOutPeriods33445); setTimeout("CountBacks33445(" + (secs+CountSteppers33445) + ")", SetTimeOutPeriods33445); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33445)=="undefined") BackColors33445 = ""; if (typeof(ForeColors33445)=="undefined") ForeColors33445= "white"; if (typeof(TargetDates33445)=="undefined") TargetDates33445 = "02/19/2026 10:00:00 PM"; if (typeof(DisplayFormats33445)=="undefined") DisplayFormats33445 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33445)=="undefined") CountActives33445 = true; if (typeof(FinishMessages33445)=="undefined") FinishMessages33445 = ""; if (typeof(CountSteppers33445)!="number") CountSteppers33445 = -1; if (typeof(LeadingZeros33445)=="undefined") LeadingZeros33445 = true; CountSteppers33445 = Math.ceil(CountSteppers33445); if (CountSteppers33445 == 0) CountActives33445 = false; var SetTimeOutPeriods33445 = (Math.abs(CountSteppers33445)-1)*1000 + 990; puti(BackColors33445, ForeColors33445); var dthens33445 = new Date(TargetDates33445); var dnows33445 = new Date("02/17/2026 12:08:07 PM"); if(CountSteppers33445>0) ddiffs33445 = new Date(dnows33445-dthens33445); else ddiffs33445 = new Date(dthens33445-dnows33445); gsecss33445 = Math.floor(ddiffs33445.valueOf()/1000); CountBacks33445(gsecss33445);