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 (LeadingZeros33418 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33418(secs) { if (secs < 0) { document.getElementById("cntdwns33418").innerHTML = FinishMessages33418; return; } DisplayStrs33418 = DisplayFormats33418.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33418 = DisplayStrs33418.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33418 = DisplayStrs33418.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33418 = DisplayStrs33418.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33418").innerHTML = DisplayStrs33418; if (CountActives33418) //alert(SetTimeOutPeriods33418); setTimeout("CountBacks33418(" + (secs+CountSteppers33418) + ")", SetTimeOutPeriods33418); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33418)=="undefined") BackColors33418 = ""; if (typeof(ForeColors33418)=="undefined") ForeColors33418= "white"; if (typeof(TargetDates33418)=="undefined") TargetDates33418 = "02/11/2026 10:00:00 PM"; if (typeof(DisplayFormats33418)=="undefined") DisplayFormats33418 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33418)=="undefined") CountActives33418 = true; if (typeof(FinishMessages33418)=="undefined") FinishMessages33418 = ""; if (typeof(CountSteppers33418)!="number") CountSteppers33418 = -1; if (typeof(LeadingZeros33418)=="undefined") LeadingZeros33418 = true; CountSteppers33418 = Math.ceil(CountSteppers33418); if (CountSteppers33418 == 0) CountActives33418 = false; var SetTimeOutPeriods33418 = (Math.abs(CountSteppers33418)-1)*1000 + 990; puti(BackColors33418, ForeColors33418); var dthens33418 = new Date(TargetDates33418); var dnows33418 = new Date("02/08/2026 11:48:02 AM"); if(CountSteppers33418>0) ddiffs33418 = new Date(dnows33418-dthens33418); else ddiffs33418 = new Date(dthens33418-dnows33418); gsecss33418 = Math.floor(ddiffs33418.valueOf()/1000); CountBacks33418(gsecss33418);