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 (LeadingZeros33335 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33335(secs) { if (secs < 0) { document.getElementById("cntdwns33335").innerHTML = FinishMessages33335; return; } DisplayStrs33335 = DisplayFormats33335.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33335 = DisplayStrs33335.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33335 = DisplayStrs33335.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33335 = DisplayStrs33335.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33335").innerHTML = DisplayStrs33335; if (CountActives33335) //alert(SetTimeOutPeriods33335); setTimeout("CountBacks33335(" + (secs+CountSteppers33335) + ")", SetTimeOutPeriods33335); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33335)=="undefined") BackColors33335 = ""; if (typeof(ForeColors33335)=="undefined") ForeColors33335= "white"; if (typeof(TargetDates33335)=="undefined") TargetDates33335 = "02/15/2026 10:00:00 PM"; if (typeof(DisplayFormats33335)=="undefined") DisplayFormats33335 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33335)=="undefined") CountActives33335 = true; if (typeof(FinishMessages33335)=="undefined") FinishMessages33335 = ""; if (typeof(CountSteppers33335)!="number") CountSteppers33335 = -1; if (typeof(LeadingZeros33335)=="undefined") LeadingZeros33335 = true; CountSteppers33335 = Math.ceil(CountSteppers33335); if (CountSteppers33335 == 0) CountActives33335 = false; var SetTimeOutPeriods33335 = (Math.abs(CountSteppers33335)-1)*1000 + 990; puti(BackColors33335, ForeColors33335); var dthens33335 = new Date(TargetDates33335); var dnows33335 = new Date("02/13/2026 7:19:03 PM"); if(CountSteppers33335>0) ddiffs33335 = new Date(dnows33335-dthens33335); else ddiffs33335 = new Date(dthens33335-dnows33335); gsecss33335 = Math.floor(ddiffs33335.valueOf()/1000); CountBacks33335(gsecss33335);