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 (LeadingZeros33319 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33319(secs) { if (secs < 0) { document.getElementById("cntdwns33319").innerHTML = FinishMessages33319; return; } DisplayStrs33319 = DisplayFormats33319.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33319 = DisplayStrs33319.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33319 = DisplayStrs33319.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33319 = DisplayStrs33319.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33319").innerHTML = DisplayStrs33319; if (CountActives33319) //alert(SetTimeOutPeriods33319); setTimeout("CountBacks33319(" + (secs+CountSteppers33319) + ")", SetTimeOutPeriods33319); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33319)=="undefined") BackColors33319 = ""; if (typeof(ForeColors33319)=="undefined") ForeColors33319= "white"; if (typeof(TargetDates33319)=="undefined") TargetDates33319 = "02/19/2026 10:00:00 PM"; if (typeof(DisplayFormats33319)=="undefined") DisplayFormats33319 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33319)=="undefined") CountActives33319 = true; if (typeof(FinishMessages33319)=="undefined") FinishMessages33319 = ""; if (typeof(CountSteppers33319)!="number") CountSteppers33319 = -1; if (typeof(LeadingZeros33319)=="undefined") LeadingZeros33319 = true; CountSteppers33319 = Math.ceil(CountSteppers33319); if (CountSteppers33319 == 0) CountActives33319 = false; var SetTimeOutPeriods33319 = (Math.abs(CountSteppers33319)-1)*1000 + 990; puti(BackColors33319, ForeColors33319); var dthens33319 = new Date(TargetDates33319); var dnows33319 = new Date("02/17/2026 9:01:15 AM"); if(CountSteppers33319>0) ddiffs33319 = new Date(dnows33319-dthens33319); else ddiffs33319 = new Date(dthens33319-dnows33319); gsecss33319 = Math.floor(ddiffs33319.valueOf()/1000); CountBacks33319(gsecss33319);