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 (LeadingZeros33452 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33452(secs) { if (secs < 0) { document.getElementById("cntdwns33452").innerHTML = FinishMessages33452; return; } DisplayStrs33452 = DisplayFormats33452.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33452 = DisplayStrs33452.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33452 = DisplayStrs33452.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33452 = DisplayStrs33452.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33452").innerHTML = DisplayStrs33452; if (CountActives33452) //alert(SetTimeOutPeriods33452); setTimeout("CountBacks33452(" + (secs+CountSteppers33452) + ")", SetTimeOutPeriods33452); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33452)=="undefined") BackColors33452 = ""; if (typeof(ForeColors33452)=="undefined") ForeColors33452= "white"; if (typeof(TargetDates33452)=="undefined") TargetDates33452 = "02/15/2026 10:00:00 PM"; if (typeof(DisplayFormats33452)=="undefined") DisplayFormats33452 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33452)=="undefined") CountActives33452 = true; if (typeof(FinishMessages33452)=="undefined") FinishMessages33452 = ""; if (typeof(CountSteppers33452)!="number") CountSteppers33452 = -1; if (typeof(LeadingZeros33452)=="undefined") LeadingZeros33452 = true; CountSteppers33452 = Math.ceil(CountSteppers33452); if (CountSteppers33452 == 0) CountActives33452 = false; var SetTimeOutPeriods33452 = (Math.abs(CountSteppers33452)-1)*1000 + 990; puti(BackColors33452, ForeColors33452); var dthens33452 = new Date(TargetDates33452); var dnows33452 = new Date("02/13/2026 7:21:01 PM"); if(CountSteppers33452>0) ddiffs33452 = new Date(dnows33452-dthens33452); else ddiffs33452 = new Date(dthens33452-dnows33452); gsecss33452 = Math.floor(ddiffs33452.valueOf()/1000); CountBacks33452(gsecss33452);