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 (LeadingZeros33413 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33413(secs) { if (secs < 0) { document.getElementById("cntdwns33413").innerHTML = FinishMessages33413; return; } DisplayStrs33413 = DisplayFormats33413.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33413 = DisplayStrs33413.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33413 = DisplayStrs33413.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33413 = DisplayStrs33413.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33413").innerHTML = DisplayStrs33413; if (CountActives33413) //alert(SetTimeOutPeriods33413); setTimeout("CountBacks33413(" + (secs+CountSteppers33413) + ")", SetTimeOutPeriods33413); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33413)=="undefined") BackColors33413 = ""; if (typeof(ForeColors33413)=="undefined") ForeColors33413= "white"; if (typeof(TargetDates33413)=="undefined") TargetDates33413 = "02/10/2026 10:00:00 PM"; if (typeof(DisplayFormats33413)=="undefined") DisplayFormats33413 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33413)=="undefined") CountActives33413 = true; if (typeof(FinishMessages33413)=="undefined") FinishMessages33413 = ""; if (typeof(CountSteppers33413)!="number") CountSteppers33413 = -1; if (typeof(LeadingZeros33413)=="undefined") LeadingZeros33413 = true; CountSteppers33413 = Math.ceil(CountSteppers33413); if (CountSteppers33413 == 0) CountActives33413 = false; var SetTimeOutPeriods33413 = (Math.abs(CountSteppers33413)-1)*1000 + 990; puti(BackColors33413, ForeColors33413); var dthens33413 = new Date(TargetDates33413); var dnows33413 = new Date("02/08/2026 11:48:02 AM"); if(CountSteppers33413>0) ddiffs33413 = new Date(dnows33413-dthens33413); else ddiffs33413 = new Date(dthens33413-dnows33413); gsecss33413 = Math.floor(ddiffs33413.valueOf()/1000); CountBacks33413(gsecss33413);