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 (LeadingZeros33414 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33414(secs) { if (secs < 0) { document.getElementById("cntdwns33414").innerHTML = FinishMessages33414; return; } DisplayStrs33414 = DisplayFormats33414.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33414 = DisplayStrs33414.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33414 = DisplayStrs33414.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33414 = DisplayStrs33414.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33414").innerHTML = DisplayStrs33414; if (CountActives33414) //alert(SetTimeOutPeriods33414); setTimeout("CountBacks33414(" + (secs+CountSteppers33414) + ")", SetTimeOutPeriods33414); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33414)=="undefined") BackColors33414 = ""; if (typeof(ForeColors33414)=="undefined") ForeColors33414= "white"; if (typeof(TargetDates33414)=="undefined") TargetDates33414 = "02/13/2026 10:00:00 PM"; if (typeof(DisplayFormats33414)=="undefined") DisplayFormats33414 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33414)=="undefined") CountActives33414 = true; if (typeof(FinishMessages33414)=="undefined") FinishMessages33414 = ""; if (typeof(CountSteppers33414)!="number") CountSteppers33414 = -1; if (typeof(LeadingZeros33414)=="undefined") LeadingZeros33414 = true; CountSteppers33414 = Math.ceil(CountSteppers33414); if (CountSteppers33414 == 0) CountActives33414 = false; var SetTimeOutPeriods33414 = (Math.abs(CountSteppers33414)-1)*1000 + 990; puti(BackColors33414, ForeColors33414); var dthens33414 = new Date(TargetDates33414); var dnows33414 = new Date("02/11/2026 12:41:24 PM"); if(CountSteppers33414>0) ddiffs33414 = new Date(dnows33414-dthens33414); else ddiffs33414 = new Date(dthens33414-dnows33414); gsecss33414 = Math.floor(ddiffs33414.valueOf()/1000); CountBacks33414(gsecss33414);