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 (LeadingZeros33490 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33490(secs) { if (secs < 0) { document.getElementById("cntdwns33490").innerHTML = FinishMessages33490; return; } DisplayStrs33490 = DisplayFormats33490.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33490 = DisplayStrs33490.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33490 = DisplayStrs33490.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33490 = DisplayStrs33490.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33490").innerHTML = DisplayStrs33490; if (CountActives33490) //alert(SetTimeOutPeriods33490); setTimeout("CountBacks33490(" + (secs+CountSteppers33490) + ")", SetTimeOutPeriods33490); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33490)=="undefined") BackColors33490 = ""; if (typeof(ForeColors33490)=="undefined") ForeColors33490= "white"; if (typeof(TargetDates33490)=="undefined") TargetDates33490 = "02/20/2026 10:00:00 PM"; if (typeof(DisplayFormats33490)=="undefined") DisplayFormats33490 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33490)=="undefined") CountActives33490 = true; if (typeof(FinishMessages33490)=="undefined") FinishMessages33490 = ""; if (typeof(CountSteppers33490)!="number") CountSteppers33490 = -1; if (typeof(LeadingZeros33490)=="undefined") LeadingZeros33490 = true; CountSteppers33490 = Math.ceil(CountSteppers33490); if (CountSteppers33490 == 0) CountActives33490 = false; var SetTimeOutPeriods33490 = (Math.abs(CountSteppers33490)-1)*1000 + 990; puti(BackColors33490, ForeColors33490); var dthens33490 = new Date(TargetDates33490); var dnows33490 = new Date("02/18/2026 1:47:01 AM"); if(CountSteppers33490>0) ddiffs33490 = new Date(dnows33490-dthens33490); else ddiffs33490 = new Date(dthens33490-dnows33490); gsecss33490 = Math.floor(ddiffs33490.valueOf()/1000); CountBacks33490(gsecss33490);